:root {
    --primary-color: #1565C0;
    --primary-dark: #0D47A1;
    --primary-light: #42A5F5;
    --primary-lighter: #BBDEFB;
    --accent-color: #2E7D32;
    --accent-dark: #1B5E20;
    --background-light: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 4px 15px rgba(21, 101, 192, 0.1);
    --shadow-hover: 0 8px 30px rgba(21, 101, 192, 0.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #f8fafc;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Navigation ── */
.nav-container {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
    padding: 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-self: stretch;
    overflow: hidden;
}

.logo img {
    height: 56px;
    width: auto;
    display: block;
}

.logo-icon { font-size: 1.8rem; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-color);
    background: rgba(21, 101, 192, 0.08);
}

.nav-cta {
    background: var(--primary-color) !important;
    color: white !important;
    border-radius: 20px !important;
}

.nav-cta:hover { background: var(--primary-dark) !important; }

/* ── Language Switcher ── */
.language-switcher {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.lang-btn {
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.lang-btn:hover:not(.active) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, #0D47A1 0%, #1565C0 40%, #1976D2 70%, #42A5F5 100%);
    color: white;
    padding: 5rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="40" fill="none" stroke="rgba(255,255,255,0.06)" stroke-width="1"/><circle cx="80" cy="80" r="60" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="1"/><circle cx="50" cy="10" r="25" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    background-size: 400px 400px;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.35rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero .subtitle {
    font-size: 1.35rem;
    opacity: 0.92;
    max-width: 680px;
    margin: 0 auto 2rem;
    line-height: 1.5;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.28);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--primary-color);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    background: #e3f2fd;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.65);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    transform: translateY(-2px);
}

/* Phone Mockups */
.hero-phones {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.phone-mockup {
    width: 200px;
    background: #111;
    border-radius: 32px;
    padding: 12px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
    border: 2px solid rgba(255,255,255,0.12);
}

.phone-mockup.main {
    width: 240px;
    transform: translateY(-20px);
}

.phone-screen {
    background: #1565C0;
    border-radius: 22px;
    aspect-ratio: 9/19;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.phone-screen-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    text-align: center;
    padding: 1rem;
    gap: 0.5rem;
}

.phone-screen-placeholder .screen-icon { font-size: 2.5rem; }

/* ── Section Commons ── */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto 3rem;
}

/* ── Target Audience Banner ── */
.audience-banner {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-top: 4px solid var(--primary-color);
    padding: 3rem 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.audience-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.audience-icon {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    display: block;
}

.audience-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.audience-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ── Features Grid ── */
.features-section {
    padding: 5rem 0;
    background: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--background-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.feature-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    cursor: zoom-in;
    display: block;
}

.feature-img-placeholder {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

.feature-img-placeholder .placeholder-icon { font-size: 3rem; }

.feature-card-content {
    padding: 1.5rem;
    background: white;
}

.feature-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.feature-card-content p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.6;
}

.feature-card-content ul {
    list-style: none;
    margin-top: 0.7rem;
}

.feature-card-content ul li {
    color: var(--text-light);
    font-size: 0.88rem;
    padding: 0.2rem 0 0.2rem 1.2rem;
    position: relative;
}

.feature-card-content ul li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* ── Detail Sections ── */
.detail-section {
    padding: 5rem 0;
    border-top: 1px solid var(--border-color);
}

.detail-section.bg-light { background: var(--background-light); }
.detail-section.bg-white { background: white; }

.detail-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.detail-row.reverse { flex-direction: row-reverse; }

.detail-text { flex: 1; }

.detail-label {
    display: inline-block;
    background: var(--primary-lighter);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.detail-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

.detail-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.02rem;
    line-height: 1.7;
}

.detail-text ul { list-style: none; margin-top: 0.5rem; }

.detail-text ul li {
    padding: 0.3rem 0 0.3rem 1.4rem;
    color: var(--text-light);
    font-size: 0.97rem;
    position: relative;
}

.detail-text ul li::before {
    content: "→";
    color: var(--primary-color);
    font-weight: 700;
    position: absolute;
    left: 0;
}

.detail-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-showcase {
    width: 260px;
    background: #111;
    border-radius: 36px;
    padding: 14px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
    border: 2px solid rgba(0,0,0,0.1);
}

.phone-showcase-screen {
    background: #1565C0;
    border-radius: 24px;
    aspect-ratio: 9/19;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-showcase-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-showcase-screen .placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    text-align: center;
    padding: 1rem;
    gap: 0.5rem;
}

.phone-showcase-screen .placeholder .icon { font-size: 3rem; }

/* ── Accessibility Section ── */
.accessibility-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}

.accessibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.accessibility-item {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(46, 125, 50, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.15);
}

.accessibility-item .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.7rem;
}

.accessibility-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.3rem;
}

.accessibility-item p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ── Screenshot Gallery ── */
.gallery-section {
    padding: 5rem 0;
    background: white;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.screenshot-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--border-color);
}

.screenshot-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(21, 101, 192, 0.2);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-placeholder {
    aspect-ratio: 9/19;
    background: linear-gradient(160deg, #1565C0, #42A5F5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.7rem;
    text-align: center;
    padding: 0.5rem;
    gap: 0.3rem;
}

.screenshot-placeholder .pl-icon { font-size: 2rem; }

.screenshot-item .caption {
    padding: 0.6rem;
    font-size: 0.78rem;
    color: var(--text-light);
    text-align: center;
    background: var(--background-light);
}

/* ── Platforms Section ── */
.platforms-section {
    padding: 5rem 0;
    background: var(--background-light);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.platform-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.platform-card.featured {
    border-color: var(--primary-color);
    position: relative;
}

.platform-card.featured::before {
    content: "Primärplattform";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.platform-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.platform-card .platform-desc {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.platform-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.platform-features li {
    padding: 0.3rem 0;
    font-size: 0.88rem;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.platform-features li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: 700;
    flex-shrink: 0;
}

.btn-download {
    display: block;
    background: var(--primary-color);
    color: white;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-download-outline {
    display: block;
    background: transparent;
    color: var(--primary-color);
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-download-outline:hover {
    background: rgba(21, 101, 192, 0.05);
    transform: translateY(-1px);
}

/* ── Lightbox ── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 60px rgba(0,0,0,0.6);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    font-weight: 300;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

/* ── Footer ── */
footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    padding: 3rem 0;
    text-align: center;
}

footer a {
    color: var(--primary-lighter);
    text-decoration: none;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-copyright {
    opacity: 0.75;
    font-size: 0.88rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero .subtitle { font-size: 1.1rem; }
    .detail-row, .detail-row.reverse { flex-direction: column; }
    .detail-image { order: -1; }
    .feature-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.8rem; }
    .phone-mockup { width: 150px; }
    .phone-mockup.main { width: 180px; }
    .platforms-grid { grid-template-columns: 1fr; }
    .screenshot-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

@media (max-width: 480px) {
    .hero { padding: 3.5rem 0 2rem; }
    .hero h1 { font-size: 2rem; }
    .hero-phones { gap: 1rem; }
    .phone-mockup { width: 120px; }
    .phone-mockup.main { width: 150px; transform: translateY(-10px); }
    .detail-text h2 { font-size: 1.6rem; }
    .nav-links { display: none; }
}
