:root {
    --brand-color: #dfff00;
    --text-light: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.72);
    --dark-gray: #111111;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body,
html {
    height: 100%;
    color: var(--text-light);
    background-color: var(--dark-gray);
    overflow-x: hidden;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(var(--bg-overlay), var(--bg-overlay)),
                url("../images/hintergrund.jpg") no-repeat center center / cover;
    padding: 2rem;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-box {
    width: 60px;
    height: 60px;
    background-color: var(--brand-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(223, 255, 0, 0.4);
}

.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-name {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
}

.language-switcher a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.language-switcher a.is-active {
    background: var(--brand-color);
    color: #111111;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.text-content {
    flex: 0 1 500px;
    min-width: 300px;
    padding-right: 2rem;
}

.text-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-content h1 span {
    color: var(--brand-color);
    display: block;
    white-space: nowrap;
}

.text-content p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #cccccc;
    text-align: left;
}

.compatibility-note {
    margin: 1.5rem 0 0;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
}

.compatibility-note p {
    margin: 0 0 0.65rem;
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
}

.compatibility-note a {
    display: inline;
    color: var(--brand-color);
    text-decoration: underline;
    text-underline-offset: 0.18em;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.25s ease;
}

.compatibility-note a:hover {
    color: #f0ff9a;
}

.app-store-btn {
    display: block;
    width: fit-content;
    line-height: 0;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
}

.app-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.app-store-btn img {
    display: block;
    height: 62px;
    width: auto;
}

.mockup-container {
    flex: 1 1 800px;
    display: flex;
    justify-content: center;
    gap: 40px;
    min-width: 600px;
}

.mockup {
    width: 300px;
    height: 610px;
    background-color: #222222;
    border: 12px solid #333333;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 0.4s ease;
}

.mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mockup.phone-1 {
    opacity: 1;
}

.mockup.phone-2 {
    opacity: 0.5;
}

.mockup.phone-1:hover,
.mockup.phone-2:hover {
    transform: scale(1.15);
    z-index: 10;
    opacity: 1;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(223, 255, 0, 0.25);
}

.mockup-container:has(.phone-2:hover) .phone-1 {
    opacity: 0.5;
}

footer {
    margin-top: auto;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
    color: #888888;
}

footer a {
    color: var(--brand-color);
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .text-content h1 span {
        white-space: normal;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        padding: 1rem;
    }

    header {
        align-items: flex-start;
    }

    .main-content {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }

    .text-content {
        padding-right: 0;
        flex: 1 1 auto;
    }

    .text-content h1 {
        font-size: 2.8rem;
    }

    .text-content p {
        text-align: center;
    }

    .mockup-container {
        min-width: 100%;
        gap: 25px;
    }

    .mockup {
        width: 250px;
        height: 510px;
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 2rem;
    }

    .brand-lockup {
        width: auto;
        min-width: 0;
    }

    .language-switcher {
        flex-shrink: 0;
    }

    .app-name {
        font-size: 1.45rem;
    }

    .text-content h1 {
        font-size: 2.3rem;
    }

    .mockup-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        min-width: 100%;
    }

    .mockup {
        width: 280px;
        height: 570px;
    }

    .mockup.phone-1,
    .mockup.phone-2 {
        opacity: 1;
    }

    .mockup-container:has(.phone-2:hover) .phone-1 {
        opacity: 1;
    }

    .mockup-container .mockup:hover {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    }
}
