/* App-Landingpages von LUJO UG (mp3-player.net, sudoku-app.net) – gleiche Datei auf beiden Seiten.
   Hell und schlicht, Systemschrift, keine externen Dateien. Farben je Seite über --accent/--accent-soft/--tint (index.php). */

:root {
    --ink: #16181D;
    --muted: #5E6470;
    --line: #E6E8EC;
    --bg: #FFFFFF;
    --radius: 22px;
    --wrap: 1080px;
    --pad: 20px;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 17px/1.6 var(--sans);
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* Kopf */

.top {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 650; font-size: 18px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.top-cta {
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: filter 0.2s;
}
.top-cta:hover { filter: brightness(1.08); }

/* Einstieg */

.hero { background: var(--tint); overflow: hidden; }
.hero-in {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 72px;
}
.kicker { margin: 0 0 14px; color: var(--accent); font-size: 15px; font-weight: 650; letter-spacing: 0.02em; }
.hero h1 { font-size: clamp(44px, 7vw, 76px); font-weight: 750; letter-spacing: -0.035em; }
.lead { margin: 20px 0 32px; max-width: 26em; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.5; text-wrap: balance; }
.badge { display: inline-block; border-radius: 10px; transition: transform 0.2s; }
.badge img { width: 200px; }
.badge:hover { transform: translateY(-2px); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 28px 0 0; color: var(--muted); font-size: 15px; }
.facts strong { color: var(--ink); font-weight: 650; }
.star { color: #F5B301; }

.hero-shot { position: relative; margin: 0; justify-self: center; width: min(100%, 320px); }
.hero-shot::before {
    content: "";
    position: absolute;
    inset: 12% -18% -6%;
    border-radius: 50%;
    background: var(--accent-soft);
    z-index: 0;
}
.hero-shot img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(22, 24, 29, 0.18), 0 2px 6px rgba(22, 24, 29, 0.08);
}

/* Funktionen */

.features { padding: 88px 0 72px; }
.features h2, .shots h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 48px;
    margin: 48px 0 0;
    padding: 0;
    list-style: none;
}
.feature-grid li { padding-top: 20px; border-top: 2px solid var(--accent); }
.feature-grid h3 { font-size: 19px; font-weight: 650; }
.feature-grid p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }

/* Screenshots */

.shots { padding: 32px 0 88px; }
.shot-row {
    display: flex;
    gap: 20px;
    margin: 36px 0 0;
    padding: 4px max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))) 24px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
    scrollbar-width: thin;
}
.shot-row li { flex: 0 0 auto; scroll-snap-align: start; }
.shot-row img {
    width: auto;
    height: 440px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--tint);
}

/* Abschluss */

.cta { background: var(--tint); }
.cta-in { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 80px; padding-bottom: 80px; text-align: center; }
.cta-in > img { border-radius: 16px; }
.cta h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }

/* Rechtstexte (Impressum, Privacy Policy, Terms) */

.legal-wrap { max-width: 800px; }
.legal-head { background: var(--tint); }
.legal-head .legal-wrap { padding-top: 64px; padding-bottom: 56px; }
.legal-head h1 { font-size: clamp(36px, 6vw, 56px); font-weight: 750; letter-spacing: -0.03em; }
.legal-body { padding-top: 56px; padding-bottom: 88px; font-size: 16px; overflow-wrap: anywhere; }
.legal-body h2 { margin: 48px 0 12px; font-size: 24px; font-weight: 700; }
.legal-body > h2:first-child { margin-top: 0; }
.legal-body h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 650; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 20px; }
.legal-body li { margin-bottom: 6px; }
.legal-body li p { margin: 0; }
.legal-body a { color: var(--accent); }
.legal-body p, .legal-body li { color: #3B4049; }

/* Fuß */

.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 28px; padding-bottom: 28px; }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* Schmal */

@media (max-width: 820px) {
    .hero-in { grid-template-columns: 1fr; gap: 56px; padding-top: 48px; padding-bottom: 64px; text-align: center; }
    .lead { margin-left: auto; margin-right: auto; }
    .facts { justify-content: center; }
    .hero-shot { width: min(72%, 280px); }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
    .shot-row img { height: 380px; }
}

@media (max-width: 520px) {
    .top-in { height: 56px; }
    .feature-grid { grid-template-columns: 1fr; }
    .features { padding: 64px 0 48px; }
    .shot-row img { height: 340px; }
    .foot-in { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .badge, .top-cta { transition: none; }
}
