/* DFTP – Produktseite */

:root {
    --blue: #2563eb;
    --blue-dark: #1e40af;
    --text: #0f172a;
    --text-muted: #475569;
    --bg: #ffffff;
    --bg-soft: #f5f8ff;
    --border: #e2e8f0;
    --radius: 14px;
    --shadow-window: 0 30px 60px -20px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.08);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--blue);
    text-decoration: none;
}

h1, h2, h3 {
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
}

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

.narrow {
    max-width: 720px;
    text-align: center;
}

/* Navigation */

.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 19px;
    color: var(--text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--text);
}

.button {
    display: inline-block;
    background: var(--blue);
    color: #fff !important;
    font-weight: 600;
    border-radius: 999px;
    padding: 10px 22px;
    transition: background 0.15s;
}

.button:hover {
    background: var(--blue-dark);
}

.button-small {
    padding: 6px 16px;
    font-size: 14px;
}

/* Hero */

.hero {
    text-align: center;
    padding: 72px 0 0;
    background: linear-gradient(180deg, #eef3ff 0%, #dde7ff 70%, #ffffff 100%);
    overflow: hidden;
}

.hero-icon {
    width: 128px;
    height: 128px;
    margin: 0 auto 24px;
    filter: drop-shadow(0 12px 24px rgba(37, 99, 235, 0.3));
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
}

.lead {
    font-size: clamp(18px, 2.2vw, 21px);
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 32px;
}

.requirements {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
}

.hero-shot {
    margin-top: 56px;
    margin-bottom: 24px;
}

/* App-Store-Badge */

.appstore-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    border-radius: 12px;
    padding: 10px 22px 10px 16px;
    text-align: left;
    line-height: 1.1;
    font-size: 20px;
    font-weight: 600;
    transition: transform 0.15s, box-shadow 0.15s;
}

.appstore-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.appstore-badge svg {
    width: 30px;
    height: 30px;
}

.appstore-badge small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Screenshots als Fenster */

.window {
    border-radius: 12px;
    box-shadow: var(--shadow-window);
    background: #fff;
}

/* Funktionen */

.features {
    padding: 64px 0 32px;
}

.feature {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    align-items: center;
    padding: 56px 0;
}

.feature.reverse .feature-text {
    order: 2;
}

.feature-shot {
    margin: 0;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    margin-bottom: 12px;
}

.feature h2 {
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 750;
}

.feature p {
    color: var(--text-muted);
}

.checks {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.checks li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Weitere Funktionen */

.grid-section {
    background: var(--bg-soft);
    padding: 88px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(28px, 3.2vw, 38px);
    margin-bottom: 48px;
}

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

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.card h3 {
    font-size: 19px;
}

.card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 16px;
}

/* Datenschutz */

.privacy {
    padding: 96px 0;
}

.privacy h2,
.final-cta h2 {
    font-size: clamp(28px, 3.6vw, 42px);
}

.privacy p,
.final-cta p {
    color: var(--text-muted);
    font-size: 19px;
}

/* Abschluss */

.final-cta {
    padding: 88px 0 104px;
    background: linear-gradient(180deg, #ffffff 0%, #eef3ff 100%);
}

.final-cta img {
    margin: 0 auto 20px;
    filter: drop-shadow(0 10px 20px rgba(37, 99, 235, 0.25));
}

.final-cta p {
    margin-bottom: 28px;
}

/* Footer */

.footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer p {
    margin: 0;
}

.footer .brand {
    font-size: 16px;
}

/* Responsiv */

@media (max-width: 900px) {
    .feature {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 40px 0;
    }

    .feature.reverse .feature-text {
        order: 0;
    }

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

@media (max-width: 600px) {
    .nav-links a:not(.button):not(.lang-switch) {
        display: none;
    }

    .hero {
        padding-top: 48px;
    }

    .hero h1 br {
        display: none;
    }

    .hero-icon {
        width: 96px;
        height: 96px;
    }

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

/* Sprachumschalter */

.nav-links .lang-switch {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 3px 10px;
}

.nav-links .lang-switch:hover {
    border-color: var(--text-muted);
}

/* Footer-Links */

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

.footer-links a {
    color: var(--text-muted);
}

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

/* Modal für Impressum und Datenschutzerklärung */

.modal {
    width: min(760px, calc(100vw - 32px));
    max-height: min(84vh, 900px);
    padding: 0;
    border: none;
    border-radius: 18px;
    color: var(--text);
    background: #fff;
    box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.45);
    overflow: hidden;
}

.modal[open] {
    display: flex;
    flex-direction: column;
    animation: modal-in 0.2s ease-out;
}

.modal::backdrop {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

@keyframes modal-in {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
}

.modal-close {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--text-muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.modal-close:hover {
    background: var(--border);
    color: var(--text);
}

.modal-body {
    padding: 8px 28px 28px;
    overflow-y: auto;
    font-size: 15px;
    line-height: 1.65;
}

.modal-body h3 {
    font-size: 16px;
    margin: 24px 0 6px;
    letter-spacing: 0;
}

.modal-body p,
.modal-body ul {
    margin: 0 0 10px;
    color: var(--text-muted);
}

.modal-body ul {
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 6px;
}

.modal-meta {
    margin-top: 24px !important;
    font-size: 13px;
}

@media (max-width: 600px) {
    .modal-header,
    .modal-body {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .modal[open] {
        animation: none;
    }
}
