:root {
    --primary-blue: #0005F5;
    --primary-teal: #00C9A7;
    --accent-pink: #FF2A6D;
    --gradient-main: linear-gradient(180deg, #0005F5 0%, #00C9A7 100%);
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --radius-lg: 20px;
    --shadow-soft: 0 15px 35px -10px rgba(0, 5, 245, 0.12);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Legal and subpages body modifications */
body.legal-page {
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Navigation Header */
header {
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 24px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

/* Hamburger Button Icon (Schwarz) */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 100;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

/* Transformation von Hamburger zu 'X' */
.hamburger.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Dropdown-Menü (Schwarz) */
.nav-menu {
    display: none;
    width: 100%;
    background: var(--white);
    padding: 20px 0 10px 0;
    margin-top: 15px;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-menu.active {
    display: flex;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: right;
    transition: opacity 0.2s ease;
}

.nav-menu a.sub-item {
    color: #94A3B8; /* Dezent hellgrau */
    font-weight: 500;
    font-size: 1rem;
}

.nav-menu a:hover {
    opacity: 0.7;
}

/* Hero / Banner Section */
.hero {
    background: var(--gradient-main);
    color: var(--white);
    padding-top: 60px;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-end;
}

.hero-content {
    padding-bottom: 60px;
}

.version-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: var(--white);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 32px;
    font-weight: 400;
}

.app-store-btn {
    display: inline-block;
}

.app-store-btn img {
    height: 65px;
    width: auto;
    transition: transform 0.2s ease;
}

.app-store-btn:hover img {
    transform: scale(1.04);
}

/* Bild Container */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 0;
}

.hero-image img {
    width: 100%;
    max-width: 680px;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

/* Legal Page Headers */
.page-header {
    background: var(--gradient-main);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Content Area */
.content-section {
    padding: 60px 0;
    flex-grow: 1;
}

.content-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.06);
    max-width: 900px;
    margin: 0 auto;
}

.content-card h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-top: 32px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 6px;
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card p, .content-card ul, .content-card ol, .content-card table, .content-card blockquote {
    margin-bottom: 16px;
    color: var(--text-dark);
}

.content-card ul, .content-card ol {
    padding-left: 24px;
}

.content-card li {
    margin-bottom: 8px;
}

.content-card a {
    color: var(--primary-blue);
    text-decoration: none;
}

.content-card a:hover {
    text-decoration: underline;
}

.content-card blockquote {
    border-left: 4px solid var(--primary-blue);
    padding-left: 16px;
    margin: 16px 0;
    font-style: italic;
    color: var(--text-muted);
}

.content-card table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
}

.content-card table td {
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.summary-box {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-teal);
    padding: 16px 20px;
    margin: 16px 0 24px 0;
    border-radius: 4px;
}

/* Features Section */
.features {
    margin: 80px auto 0 auto;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 5, 245, 0.18);
}

.card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.tag-blue { background: rgba(0, 5, 245, 0.1); color: var(--primary-blue); }
.tag-teal { background: rgba(0, 201, 167, 0.15); color: #008A72; }
.tag-pink { background: rgba(255, 42, 109, 0.1); color: var(--accent-pink); }

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* SOCIAL-BUTTONS SEKTION */
.social-section {
    padding: 80px 0 60px 0;
    text-align: center;
}

.social-links-minimal {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-link-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 22px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.social-link-item svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.social-link-item:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 5, 245, 0.12);
}

.social-link-item:hover svg {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: var(--white);
    color: var(--text-dark);
    padding: 0 0 40px 0;
    border-top: none;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        padding-bottom: 20px;
    }
    .hero-image {
        margin-top: 20px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero {
        padding-top: 40px;
    }
    .app-store-btn img {
        height: 54px;
    }
    .social-section {
        padding-top: 50px;
        padding-bottom: 40px;
    }
    .social-links-minimal {
        gap: 10px;
    }
    .footer-links {
        gap: 12px;
        flex-direction: column;
    }
}
