/* Lautstärke-Ampel: ein Stylesheet, kein Framework, kein JS, keine externen Requests. */
:root {
  --bg: #f7f7f8;
  --card: #fff;
  --ink: #111114;
  --muted: #63636b;
  --line: #e8e8ea;
  --radius: 24px;
  --max: 1080px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 1.0625rem; }
h1, h2 { letter-spacing: -0.022em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.4rem + 4.5vw, 4rem); margin: 0 0 1rem; }
h1 span { color: var(--muted); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.2rem); margin: 0 0 .6rem; }
p { margin: 0 0 1rem; }
a { color: inherit; }
.shell { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.desktop-break { display: none; }
@media (min-width: 46rem) { .desktop-break { display: initial; } }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 99; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 1rem; color: #fff; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(247, 247, 248, .8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 1.5rem; max-width: var(--max); margin: 0 auto; padding: .9rem 1.25rem; }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 700; font-size: 1.05rem; margin-right: auto; }
.lamp { display: inline-flex; gap: 3px; background: #17161f; border-radius: 999px; padding: 6px 9px; }
.lamp i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.lamp i:nth-child(1) { background: #34c759; }
.lamp i:nth-child(2) { background: #ffcc00; }
.lamp i:nth-child(3) { background: #ff3b30; }
.lamp-lg { padding: 8px 12px; margin-bottom: 1rem; }
.lamp-lg i { width: 12px; height: 12px; }
.nav-links { display: none; gap: 1.4rem; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .98rem; }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 46rem) { .nav-links { display: flex; } .mobile-menu { display: none; } }
.mobile-menu summary { cursor: pointer; list-style: none; font-size: .95rem; color: var(--muted); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu-panel { position: absolute; right: 1rem; top: 3.4rem; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: .6rem; display: grid; min-width: 12rem; box-shadow: 0 12px 32px -16px rgba(0,0,0,.25); }
.mobile-menu-panel a { padding: .6rem .8rem; text-decoration: none; border-radius: 10px; }
.mobile-menu-panel a:hover { background: var(--bg); }

/* Intro */
.intro { text-align: center; padding: 4rem 1.25rem 2.5rem; }
.intro-kicker { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.intro-description { color: var(--muted); font-size: 1.2rem; }
.intro-actions { margin-top: 1.5rem; display: grid; gap: .8rem; justify-items: center; }
.store-note { color: var(--muted); font-size: .95rem; margin: 0; max-width: 46ch; }
.store-note a { text-underline-offset: 3px; }
.text-link { text-decoration: none; font-weight: 600; border-bottom: 2px solid var(--line); padding-bottom: 2px; }

/* Karten */
.features { display: grid; gap: 1.25rem; padding-bottom: 1.25rem; }
.feature-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 1rem + 3vw, 3rem); display: grid; gap: 2rem; align-items: center; }
@media (min-width: 46rem) { .feature-card { grid-template-columns: 1fr 1fr; } }
.feature-copy p { color: var(--muted); }
.steps { color: var(--muted); padding-left: 1.2rem; margin: 1rem 0 0; display: grid; gap: .3rem; }
.screen-window { border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: #000; max-width: 300px; margin: 0 auto; box-shadow: 0 24px 48px -24px rgba(0,0,0,.3); }
.screen-window img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 1385; object-fit: cover; }
.detail-grid { display: grid; gap: 1.25rem; }
@media (min-width: 46rem) { .detail-grid { grid-template-columns: 1fr 1fr; } }
.detail-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 1rem + 3vw, 2.5rem); }
.detail-copy p { color: var(--muted); margin-bottom: 0; }
.eyebrow { display: block; color: var(--muted); font-size: .9rem; margin-bottom: .8rem; }

/* Privacy + Download */
.privacy-note { text-align: center; padding: 3rem 1.25rem; display: grid; gap: .6rem; justify-items: center; }
.privacy-note p { color: var(--muted); margin: 0; }
.privacy-icon { width: 52px; height: 52px; border: 1px solid var(--line); background: var(--card); border-radius: 16px; display: grid; place-items: center; color: var(--muted); }
.download-section { padding-bottom: 3rem; }
.download-card { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(2rem, 1.5rem + 4vw, 4rem); text-align: center; display: grid; gap: .6rem; justify-items: center; }
.download-card .lamp { background: rgba(255,255,255,.12); }
.download-card p { color: rgba(255,255,255,.7); }
.download-card .store-note { color: rgba(255,255,255,.6); }
.download-card a { color: #fff; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 1.25rem; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-contact { text-decoration: none; color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .93rem; }
.footer-legal { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-links { display: flex; gap: 1.2rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-contact:hover { color: var(--ink); }
.footer-links a[aria-current="page"] { color: var(--ink); font-weight: 500; }

/* Language Switcher */
.lang-switch { display: flex; align-items: center; gap: .4rem; font-size: .85rem; }
.lang-switch a { color: var(--muted); text-decoration: none; padding: .2rem .4rem; border-radius: 4px; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { color: var(--ink); font-weight: 600; background: var(--line); }
.lang-switch span { color: var(--line); }

/* App Store Badge */
.app-store-badge { display: inline-flex; align-items: center; gap: .6rem; background: var(--ink); color: #fff; text-decoration: none; padding: .6rem 1.2rem; border-radius: 12px; transition: transform .15s ease, opacity .15s ease; }
.app-store-badge:hover { transform: translateY(-1px); opacity: .9; }
.app-store-badge:active { transform: translateY(0); }
.apple-logo { width: 22px; height: 22px; flex-shrink: 0; }
.badge-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.badge-text small { font-size: .65rem; opacity: .8; font-weight: 400; }
.badge-text strong { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.app-store-badge-light { background: #fff; color: var(--ink); }
.app-store-badge-light:hover { opacity: .95; }

/* Rechtstexte + 404 */
.wrap { max-width: 68ch; margin: 0 auto; padding: 0 1.25rem; }
main { padding: 2.5rem 0 3rem; }
#main { padding: 0; }
.prose h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.6rem); }
.prose h2 { font-size: 1.3rem; margin: 2rem 0 .5rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.prose h3 { font-size: 1.05rem; }
.prose p, .prose li { color: #2b2b30; }
.prose a { text-underline-offset: 3px; }
.meta { color: var(--muted); font-size: .95rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  html { scroll-behavior: auto; }
}
