/* QUXA Hub – quxa.de */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #007AFF;
    --primary-dark: #0051D5;
    --text: #1D1D1F;
    --text-muted: #86868B;
    --bg: #FFFFFF;
    --bg-alt: #F5F5F7;
    --bg-dark: #1A1A1A;
    --border: #D2D2D7;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Nav */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    text-decoration: none;
    color: var(--text);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-quxa {
    color: var(--primary);
}

.logo-dot {
    color: var(--text);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
}

/* Hero */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(160deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    color: white;
    text-align: center;
}

.hero-title {
    margin-bottom: 20px;
}

.hero-brand {
    display: block;
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.hero-tagline {
    display: block;
    font-size: 22px;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 18px;
    max-width: 560px;
    margin: 0 auto 32px;
    opacity: 0.85;
    line-height: 1.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Apps section */
.apps {
    padding: 80px 0;
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.app-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    display: block;
    text-align: left;
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.app-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.app-card-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.app-card-icon-book {
    background: linear-gradient(135deg, #2d5a87 0%, #1a365d 100%);
}

.app-card-icon-drive {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.app-card-icon-speak {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.app-card-icon-fitness {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.app-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.app-card-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.app-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.apps-more {
    text-align: center;
    margin-top: 40px;
    color: var(--text-muted);
    font-size: 15px;
}

/* About */
.about {
    padding: 80px 0;
}

.about-content {
    max-width: 640px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-content strong {
    color: var(--text);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}

.footer-brand .logo-quxa {
    color: white;
    font-size: 24px;
    font-weight: 800;
}

.footer-brand .logo-dot {
    color: rgba(255,255,255,0.6);
}

.footer-brand p {
    margin-top: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-domain {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 65px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 24px;
        box-shadow: var(--shadow);
        transition: var(--transition);
        gap: 16px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-brand {
        font-size: 42px;
    }

    .hero-tagline {
        font-size: 18px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-brand {
        font-size: 36px;
    }
}

/* Legal pages (Datenschutz, Nutzungsbedingungen) */
.legal-page {
    padding: 120px 0 80px;
    max-width: 720px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
}

.legal-page h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 12px;
}

.legal-page h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-page p {
    margin-bottom: 14px;
    line-height: 1.75;
    color: var(--text-muted);
}

.legal-page ul {
    margin-left: 20px;
    margin-bottom: 14px;
}

.legal-page li {
    margin-bottom: 6px;
    line-height: 1.7;
    color: var(--text-muted);
}

.legal-page a {
    color: var(--primary);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

.legal-page .back-link {
    display: inline-block;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
