/**
 * ZurbelIT - Brilliant Blue Glass Design System 2026
 * Style: Apple SaaS 2025+ | Mobile First
 */

:root {
    --jz-bg: #F6F7F9;
    --jz-glass: rgba(255, 255, 255, 0.65);
    --jz-glass-strong: rgba(255, 255, 255, 0.88);
    --jz-border: rgba(15, 23, 42, 0.06);
    --jz-blue: #2563EB;
    --jz-blue-hover: #1D4ED8;
    --jz-text: #0F172A;
    --jz-text-muted: #475569;
    --jz-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    --jz-shadow-hover: 0 12px 40px rgba(37, 99, 235, 0.2);
    /* Apple Glassmorphism */
    --jz-blur-intense: blur(32px) saturate(180%);
    --jz-blur-medium: blur(24px) saturate(160%);
}

body {
    background-color: var(--jz-bg);
    color: var(--jz-text);
    font-family: 'Inter', sans-serif;
    padding-top: 80px;
}

/* ========================================
   APPLE-GLASS HEADER
   ======================================== */

.jz-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1000;

    /* Apple Glassmorphism - Intensiv */
    background: var(--jz-glass);
    backdrop-filter: var(--jz-blur-intense);
    -webkit-backdrop-filter: var(--jz-blur-intense);

    border-bottom: 1px solid var(--jz-border);
    box-shadow: var(--jz-shadow);

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.jz-header-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

/* Logo - Größer und Prominent */
.jz-logo {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02));
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.jz-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.16);
    border-color: rgba(37, 99, 235, 0.24);
}

.jz-logo img {
    height: 42px;
    width: auto;
}

/* Desktop Navigation - Moderne Pill-Buttons */
.jz-nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.jz-nav a {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--jz-text);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.jz-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--jz-blue), var(--jz-blue-hover));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.jz-nav a:hover::before,
.jz-nav a.active::before {
    opacity: 1;
}

.jz-nav a:hover,
.jz-nav a.active {
    color: #FFFFFF;
    border-color: var(--jz-blue);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

/* Mobile Menu Button - Glassmorphism */
.jz-burger {
    display: none;
    width: 44px;
    height: 44px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.jz-burger:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.jz-burger span {
    display: block;
    width: 20px;
    height: 2.5px;
    background: var(--jz-text);
    position: absolute;
    left: 12px;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.jz-burger span:nth-child(1) {
    top: 13px;
}

.jz-burger span:nth-child(2) {
    top: 20px;
}

.jz-burger span:nth-child(3) {
    top: 27px;
}

.jz-burger.active {
    background: rgba(37, 99, 235, 0.12);
}

.jz-burger.active span {
    background: var(--jz-blue);
}

.jz-burger.active span:nth-child(1) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.jz-burger.active span:nth-child(2) {
    opacity: 0;
}

.jz-burger.active span:nth-child(3) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Mobile Overlay Menu - Glassmorphism */
.jz-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 999;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.jz-mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.jz-mobile-menu a {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #0F172A;
    text-decoration: none;
    padding: 18px 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(37, 99, 235, 0.15);
    transition: all 0.25s ease;
    text-align: center;
    min-width: 260px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.jz-mobile-menu a:hover,
.jz-mobile-menu a:active {
    color: #0F172A;
    background: rgba(37, 99, 235, 0.12);
    border-color: #2563EB;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

/* ========================================
   FOOTER - BRILLIANT GLASS (Apple Glassmorphism 2030)
   ======================================== */

.jz-footer {
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.88) 50%, rgba(241, 245, 249, 0.85) 100%),
                repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(37, 99, 235, 0.02) 20px, rgba(37, 99, 235, 0.02) 21px),
                repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(37, 99, 235, 0.02) 20px, rgba(37, 99, 235, 0.02) 21px);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-top: 2px solid rgba(37, 99, 235, 0.1);
    border-radius: 32px 32px 0 0;
    padding: 40px 32px 32px;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.04);
}

.jz-footer-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.jz-footer-brand {
    margin-bottom: 24px;
}

.jz-footer-brand h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #0F172A;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: -0.02em;
}

.jz-footer-brand p {
    color: #475569;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
    margin: 0;
}

.jz-footer-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 24px;
}

.jz-footer-links a {
    color: #2563EB;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.08);
    border: 1.5px solid rgba(37, 99, 235, 0.15);
    transition: all 0.25s ease;
}

.jz-footer-links a:hover {
    color: #1D4ED8;
    background: rgba(37, 99, 235, 0.15);
    border-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.jz-social-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.jz-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(37, 99, 235, 0.08);
    border: 2px solid rgba(37, 99, 235, 0.15);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.jz-social-link svg {
    width: 22px;
    height: 22px;
    fill: #2563EB;
    transition: all 0.2s;
}

.jz-social-link:hover {
    background: #2563EB;
    border-color: #2563EB;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.jz-social-link:hover svg {
    fill: #FFFFFF;
}

.jz-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 24px;
    border-top: 1px solid rgba(37, 99, 235, 0.1);
    text-align: center;
}

.jz-copyright {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

.jz-copyright a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 600;
    margin: 0 6px;
    transition: color 0.2s ease;
}

.jz-copyright a:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

.jz-footer-notice-inline {
    font-size: 12px;
    color: #64748b;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.04);
    border-radius: 8px;
}

.jz-footer-notice-inline strong {
    font-weight: 600;
    color: #2563EB;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Mobile (Default) - Mobile First! */
@media (max-width: 767px) {
    body {
        padding-top: 80px;
    }

    .jz-header {
        top: 12px;
        left: 12px;
        right: 12px;
        height: 64px;
    }

    .jz-header-container {
        padding: 0 16px;
        gap: 12px;
    }

    .jz-logo {
        padding: 6px 14px;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.04));
        border: 1.5px solid rgba(37, 99, 235, 0.2);
    }

    .jz-logo img {
        height: 38px;
    }

    .jz-nav {
        display: none;
    }

    .jz-burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 48px;
        height: 48px;
        background: rgba(37, 99, 235, 0.08);
        border: 2px solid rgba(37, 99, 235, 0.15);
        border-radius: 14px;
    }

    .jz-burger span {
        width: 24px;
        height: 3px;
        background: var(--jz-blue);
        position: relative;
        left: 0;
        margin: 3px 0;
    }

    .jz-burger span:nth-child(1),
    .jz-burger span:nth-child(2),
    .jz-burger span:nth-child(3) {
        top: auto;
    }

    /* Footer Mobile - 3 Zeilen max, Apple Glass Hervorhebung */
    .jz-footer {
        padding: 28px 20px 24px;
        border-radius: 24px 24px 0 0;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)),
                    repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(15, 23, 42, 0.02) 10px, rgba(15, 23, 42, 0.02) 11px),
                    repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(15, 23, 42, 0.02) 10px, rgba(15, 23, 42, 0.02) 11px);
    }

    .jz-footer-brand {
        margin-bottom: 16px;
    }

    .jz-footer-brand h3 {
        font-size: 16px;
        font-weight: 800;
        color: #0F172A;
        margin-bottom: 6px;
    }

    .jz-footer-brand p {
        font-size: 14px;
        color: #475569;
        line-height: 1.4;
    }

    .jz-footer-links {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        margin-bottom: 14px;
    }

    .jz-footer-links a {
        font-size: 14px;
        font-weight: 600;
        color: #2563EB;
    }

    .jz-social-row {
        margin-bottom: 16px;
    }

    .jz-social-link {
        width: 40px;
        height: 40px;
        background: rgba(37, 99, 235, 0.08);
        border: 1.5px solid rgba(37, 99, 235, 0.15);
        border-radius: 10px;
    }

    .jz-social-link svg {
        width: 20px;
        height: 20px;
        fill: #2563EB;
    }

    .jz-footer-bottom {
        padding-top: 16px;
        gap: 8px;
    }

    .jz-copyright {
        font-size: 13px;
        color: #475569;
        font-weight: 500;
    }

    .jz-copyright a {
        font-weight: 600;
        color: #2563EB;
    }

    .jz-footer-notice-inline {
        font-size: 12px;
        color: #64748b;
    }
}

/* Tablet & Desktop */
@media (min-width: 768px) {
    body {
        padding-top: 85px;
    }

    .jz-header {
        top: 15px;
        left: 15px;
        right: 15px;
    }

    .jz-nav {
        display: flex;
    }

    .jz-burger {
        display: none;
    }

    .jz-footer {
        padding: 36px 40px 28px;
    }

    .jz-footer-links {
        flex-direction: row;
        gap: 24px;
    }
}