/* Projekt-Website des TV-Recorders – statisch, ohne Build-Schritt */
:root {
  --bg: #0b1020; --bg2: #0f1629; --card: #141c33; --card2: #1a2442; --line: #24304f;
  --text: #e8ecf6; --muted: #98a3bf; --accent: #4f8cff; --accent2: #8b5cf6; --rec: #ef4444;
  --radius: 10px; --shadow: 0 24px 60px rgba(0,0,0,.45);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 16px/1.6 var(--font); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--card2); padding: 1px 6px; border-radius: 5px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.wrap.narrow { width: min(900px, 100% - 40px); }
.small { font-size: 14px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* Kopfzeile */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(11,16,32,.75); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.brand:hover { text-decoration: none; }
.logo { width: 28px; height: 20px; border-radius: 5px; background: var(--rec); position: relative; box-shadow: 0 0 18px rgba(239,68,68,.5); }
.logo::after { content: ""; position: absolute; inset: 6px 10px; border-radius: 50%; background: #fff; }
.topnav { display: flex; gap: 22px; margin-left: auto; }
.topnav a { color: var(--muted); font-weight: 500; font-size: 15px; }
.topnav a:hover { color: var(--text); text-decoration: none; }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 8px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 8px 24px rgba(79,140,255,.35); transition: transform .15s, box-shadow .15s; border: 1px solid transparent; }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(79,140,255,.45); }
.btn.ghost { background: rgba(255,255,255,.04); border-color: var(--line); box-shadow: none; color: var(--text); }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn.small { padding: 8px 14px; font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 88px; }
.glow { position: absolute; inset: -40% -10% auto; height: 900px; pointer-events: none;
  background: radial-gradient(600px 380px at 20% 30%, rgba(79,140,255,.28), transparent 70%),
              radial-gradient(520px 360px at 80% 20%, rgba(139,92,246,.25), transparent 70%),
              radial-gradient(420px 300px at 60% 80%, rgba(239,68,68,.12), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 10px var(--rec); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; }
.grad { background: linear-gradient(90deg, #7aa7ff, #b18cff 60%, #ff8a8a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: #c4cbe0; max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 32px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.facts b { display: block; font-size: 26px; color: var(--text); line-height: 1.1; }

/* Bildschirmfotos */
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); cursor: zoom-in; transition: transform .25s; }
.shot:hover { transform: translateY(-3px); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #0e1527; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4566; }
.browser-bar i:nth-child(1) { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin: 0 auto; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.05); padding: 2px 14px; border-radius: 5px; transform: translateX(-20px); }
.hero-shot { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.hero-shot:hover { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg) translateY(-3px); }

/* Abschnitte */
.section { padding: 96px 0; }
.section.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid rgba(255,255,255,.04); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; }

/* Funktionen */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.feature { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.feature:hover { border-color: rgba(79,140,255,.5); transform: translateY(-2px); }
.feature h3 { font-size: 17px; margin-top: 14px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
.icon { width: 44px; height: 44px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(79,140,255,.2), rgba(139,92,246,.2)); color: #9db9ff; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon svg .fill { fill: currentColor; stroke: none; }

/* Showcase */
.showcase { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: center; margin-bottom: 88px; }
.showcase.reverse { grid-template-columns: 1.6fr 1fr; }
.showcase.reverse .showcase-text { order: 2; }
.showcase-text h3 { font-size: 26px; }
.showcase-text p { color: #c4cbe0; font-size: 17px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 88px; }
.gallery figcaption { padding: 10px 14px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.phones { display: grid; grid-template-columns: 260px 1fr 260px; gap: 48px; align-items: center; }
.phones-text { text-align: center; }
.phones-text h3 { font-size: 26px; }
.phones-text p { color: #c4cbe0; font-size: 17px; }
.phone { margin: 0; border-radius: 34px; padding: 10px; background: #05080f; border: 1px solid #2a3556; box-shadow: var(--shadow); cursor: zoom-in; }
.phone img { border-radius: 26px; }

/* Installation */
.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.step-body h3 { font-size: 19px; margin-top: 8px; }
.step-body p { color: #c4cbe0; }
.step-body p:last-child { margin-bottom: 0; }
.code { position: relative; margin: 0 0 14px; }
.code pre { margin: 0; padding: 16px 18px; border-radius: 8px; background: #070b16; border: 1px solid var(--line); overflow-x: auto; }
.code code { background: none; padding: 0; font-size: 14px; line-height: 1.55; color: #cfe0ff; white-space: pre; }
.copy { position: absolute; top: 8px; right: 8px; font: 600 12px var(--font); padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--card2); color: var(--text); cursor: pointer; opacity: .8; }
.copy:hover { opacity: 1; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.card p { color: #c4cbe0; }

/* Fragen */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: #c4cbe0; margin: 0 0 18px; }

/* Fußzeile */
.footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; flex-wrap: wrap; }
.footer-inner > p { max-width: 520px; text-align: right; }

/* Großansicht */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(4,7,15,.92); display: grid; place-items: center; padding: 24px; cursor: zoom-out; animation: fade .2s; }
.lightbox img { max-height: 92vh; width: auto; border-radius: 8px; box-shadow: var(--shadow); }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 16px; cursor: pointer; }
@keyframes fade { from { opacity: 0; } }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .eyebrow .dot { animation: none; }
}

/* Schmale Bildschirme */
@media (max-width: 960px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid, .showcase, .showcase.reverse { grid-template-columns: 1fr; gap: 32px; }
  .showcase.reverse .showcase-text { order: 0; }
  .hero-shot, .hero-shot:hover { transform: none; }
  .phones { grid-template-columns: 1fr 1fr; }
  .phones-text { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 720px) {
  .topnav { display: none; }
  .topbar .btn { margin-left: auto; }
  .section { padding: 64px 0; }
  .gallery, .cards { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 1fr; gap: 6px; padding: 20px; }
  .footer-inner > p { text-align: left; }
  .lead { font-size: 17px; }
}
.step-body, .card, .showcase-text, .hero-text { min-width: 0; }
