/* stuvora.com – App-Store-Landing: Hero mit drei echten Screens, Funktions-Reiter, Bento-Vorteile, Download.
   Hell/Dunkel per Schalter (data-theme); Screenshots wechseln mit. Markenverlauf nur für Hauptaktionen. */
:root {
    --bg: #f5f5f7;
    --surface: #ffffff;
    --surface-2: #ececf0;
    --ink: #111317;
    --muted: #5a5f6e;
    --line: rgba(17, 19, 23, 0.08);
    --brand: linear-gradient(135deg, #d2440b 0%, #c4176f 100%);
    --brand-solid: #c2410c;
    --accent: #1d4ed8;
    --glass: rgba(245, 245, 247, 0.72);
    --phone: #1b1d22;
    --screen: #f4f4f6;
    --shadow: 0 24px 48px -20px rgba(17, 19, 23, 0.28);
    --display: 'Outfit', 'Inter', system-ui, sans-serif;
    color-scheme: light;
}
[data-theme="dark"] {
    --bg: #000000;
    --surface: #111216;
    --surface-2: #1c1d22;
    --ink: #f5f5f7;
    --muted: #a1a5b2;
    --line: rgba(255, 255, 255, 0.1);
    --brand-solid: #ff8a4c;
    --accent: #7aa7ff;
    --glass: rgba(0, 0, 0, 0.64);
    --phone: #2b2d33;
    --screen: #0c0e12;
    --shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body.lp { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 'Inter', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; transition: background-color 0.25s ease, color 0.25s ease; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.lp-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.lp-skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.lp-skip:focus { left: 8px; }

/* Kopfzeile: schwebende Glasleiste (nur hier Glas – Inhalt bleibt flach) */
.lp-header { position: sticky; top: 0; z-index: 5; background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.lp-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 60px; }
.lp-logo { display: flex; align-items: center; min-height: 44px; }
.lp-logo img { width: 104px; height: auto; }
.lp-header__nav { display: flex; align-items: center; gap: 4px; }
.lp-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--muted); transition: background-color 0.15s ease, color 0.15s ease; }
.lp-icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.lp-icon-moon { display: none; }
[data-theme="dark"] .lp-icon-sun { display: none; }
[data-theme="dark"] .lp-icon-moon { display: block; }

/* Knöpfe */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform 0.15s ease, filter 0.15s ease; }
.lp-btn:hover { filter: brightness(1.07); }
.lp-btn:active { transform: scale(0.97); }

/* Store-Knöpfe (ohne fremde Logos; „Bald“, solange die Apps noch nicht veröffentlicht sind) */
.lp-stores { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-store { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; min-width: 172px; padding: 8px 18px 8px 14px; border-radius: 14px; background: var(--ink); color: var(--bg); text-decoration: none; transition: transform 0.15s ease; }
a.lp-store:hover { transform: translateY(-1px); }
.lp-store span { display: flex; flex-direction: column; font-weight: 700; font-size: 18px; line-height: 1.15; white-space: nowrap; }
.lp-store small { font-size: 12px; font-weight: 500; opacity: 0.8; }
.lp-store--soon { cursor: default; }
.lp-stores--on-brand .lp-store { background: #fff; color: #17181c; }

/* Hero */
.lp-hero { padding: 40px 0 24px; overflow: hidden; }
.lp-hero__inner { display: grid; gap: 40px; align-items: center; }
.lp-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
.lp-pill span { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2); }
.lp-hero__title { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.2vw, 66px); line-height: 1.02; text-wrap: balance; letter-spacing: -0.035em; margin: 0 0 20px; }
.lp-hero__title span { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero__lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 30em; margin: 0 0 28px; }
.lp-facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; font-weight: 500; color: var(--muted); }
.lp-facts li { display: flex; align-items: center; gap: 6px; }
.lp-facts svg { width: 18px; height: 18px; color: #16a34a; }

/* Telefone mit echten Screens – Bildschirmfläche hat Appfarbe, damit beim Laden nichts schwarz bleibt */
.lp-phone { margin: 0; padding: 7px; border-radius: 40px; background: var(--phone); box-shadow: var(--shadow); }
.lp-phone img { border-radius: 33px; aspect-ratio: 1170 / 2532; width: 100%; object-fit: cover; object-position: top; background: var(--screen); }
.lp-shot--dark { display: none; }
[data-theme="dark"] .lp-shot--light { display: none; }
[data-theme="dark"] .lp-shot--dark { display: block; }
.lp-hero__phones { position: relative; display: flex; justify-content: center; align-items: flex-end; padding: 8px 0 32px; }
.lp-phone--main { position: relative; z-index: 2; width: min(270px, 62vw); }
.lp-phone--side { width: min(220px, 48vw); margin: 0 -56px 18px; opacity: 0.96; }
.lp-phone--left { transform: rotate(-7deg); }
.lp-phone--right { transform: rotate(7deg); }

/* Abschnittsköpfe */
.lp-head { text-align: center; max-width: 40rem; margin: 0 auto 32px; }
.lp-head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 10px; text-wrap: balance; }
.lp-head p { margin: 0; color: var(--muted); font-size: 18px; }

/* Funktions-Reiter (Segmented Control wie iOS) */
.lp-show { padding: 72px 0; }
.lp-tabs { display: flex; gap: 4px; padding: 4px; margin: 0 auto 36px; width: max-content; max-width: 100%; overflow-x: auto; background: var(--surface-2); border-radius: 14px; scrollbar-width: none; }
.lp-tabs::-webkit-scrollbar { display: none; }
.lp-tabs [role=tab] { flex: 0 0 auto; min-height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.lp-tabs [role=tab][aria-selected=true] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.lp-panel { display: grid; gap: 32px; align-items: center; justify-items: center; }
.lp-panel[hidden] { display: none; }
.lp-panel .lp-phone { width: min(290px, 74vw); }
.lp-panel__text { max-width: 30rem; order: -1; } /* Handy: erst lesen, dann Screenshot */
.lp-panel__text h3 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 12px; }
.lp-panel__text p { margin: 0 0 20px; color: var(--muted); font-size: 18px; }
.lp-panel__text ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-panel__text li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.lp-panel__text li svg { flex-shrink: 0; width: 28px; height: 28px; padding: 5px; border-radius: 50%; color: #fff; background: var(--brand); }
@media (prefers-reduced-motion: no-preference) {
    .lp-panel:not([hidden]) { animation: lp-in 0.3s ease both; }
    @keyframes lp-in { from { opacity: 0; transform: translateY(8px); } }
}

/* Bento-Vorteile */
.lp-why { padding: 72px 0; }
.lp-bento { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-bento__item { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.lp-bento__item strong { font-family: var(--display); font-size: 22px; letter-spacing: -0.01em; }
.lp-bento__item span:last-child { color: var(--muted); font-size: 16px; }
.lp-bento__icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: var(--surface-2); color: var(--brand-solid); margin-bottom: 8px; }

/* Download */
.lp-download { padding: 24px 0 72px; }
.lp-download__card { display: grid; gap: 24px; align-items: center; padding: 40px 24px 0; border-radius: 32px; background: var(--brand); color: #fff; overflow: hidden; }
.lp-download__card h2 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.03em; line-height: 1; margin: 0 0 12px; }
.lp-download__card p { margin: 0 0 24px; font-size: 18px; opacity: 0.95; }
.lp-download__card .lp-download__note { margin: 16px 0 0; font-size: 15px; opacity: 0.9; }
.lp-phone--peek { width: min(260px, 66vw); margin: 0 auto -120px; justify-self: center; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45); }

/* Fußzeile */
.lp-footer { padding: 24px 0 40px; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); }
.lp-footer__inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.lp-footer p { margin: 0; }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.lp-footer a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.lp-footer a:hover { color: var(--ink); }

/* Handy: lange deutsche Wörter dürfen umbrechen statt aus dem Raster zu ragen */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.lp-hero__inner > *, .lp-panel > *, .lp-download__card > *, .lp-bento__item { min-width: 0; }
.lp-hero__title, .lp-head h2, .lp-panel__text h3, .lp-download__card h2, .lp-bento__item strong { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 600px) {
    .lp-wrap { padding: 0 16px; }
    .lp-hero { padding: 24px 0 8px; }
    .lp-hero__inner { gap: 28px; }
    .lp-hero__title { font-size: clamp(30px, 9.6vw, 44px); letter-spacing: -0.03em; margin-bottom: 16px; }
    .lp-hero__lead { font-size: 17px; margin-bottom: 22px; }
    .lp-pill { font-size: 13px; margin-bottom: 14px; }
    .lp-facts { font-size: 14px; }
    .lp-show, .lp-why { padding: 48px 0; }
    .lp-head { margin-bottom: 24px; }
    .lp-head h2 { font-size: clamp(26px, 8vw, 34px); }
    .lp-head p { font-size: 16px; }
    .lp-tabs { margin-bottom: 24px; }
    .lp-tabs [role=tab] { padding: 0 12px; font-size: 14px; }
    .lp-panel__text h3 { font-size: clamp(24px, 7vw, 30px); }
    .lp-panel__text p { font-size: 16px; }
    .lp-bento__item { padding: 20px; border-radius: 20px; }
    .lp-bento__item strong { font-size: 19px; }
    .lp-download__card { padding: 32px 20px 0; border-radius: 24px; }
    .lp-download__card h2 { font-size: clamp(28px, 9vw, 36px); }
    .lp-download__card p { font-size: 16px; }
    .lp-store { min-width: 0; flex: 1 1 140px; padding: 8px 14px 8px 12px; }
    .lp-store span { font-size: 16px; }
    .lp-phone--side { margin: 0 -72px 18px; }
    .lp-btn { padding: 0 14px; font-size: 14px; white-space: nowrap; }
}
@media (max-width: 359px) {
    .lp-logo img { width: 88px; }
    .lp-icon-btn { width: 40px; }
}
@media (min-width: 720px) {
    .lp-bento { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
    .lp-hero { padding: 72px 0 40px; }
    .lp-hero__inner { grid-template-columns: 1fr 1fr; }
    .lp-panel { grid-template-columns: auto 1fr; justify-items: start; gap: 72px; max-width: 900px; margin: 0 auto; }
    .lp-panel__text { order: 0; }
    .lp-bento { grid-template-columns: repeat(4, 1fr); }
    .lp-bento__item--wide { grid-column: span 2; }
    .lp-download__card { grid-template-columns: 1.2fr 0.8fr; padding: 64px 64px 0; }
    .lp-download__card > div { padding-bottom: 64px; }
    .lp-phone--peek { margin-bottom: -160px; align-self: end; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    body.lp, .lp-btn, .lp-store, .lp-tabs [role=tab] { transition: none; }
}
