/* indexloader production – Layout im Stil großer Studio-Seiten, Farben im Streaming-Look */
:root {
  --bg: #141414;
  --bg-deep: #0b0b0b;
  --panel: #1f1f1f;
  --panel-2: #2a2a2a;
  --line: #333;
  --text: #ffffff;
  --muted: #b3b3b3;
  --dim: #808080;
  --red: #e50914;
  --red-dark: #b20710;
  --radius: 6px;
  --max: 1400px;
  --gutter: clamp(16px, 4vw, 56px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }

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

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: linear-gradient(180deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,0) 100%);
  transition: background .3s;
}
.site-header.scrolled { background: rgba(11,11,11,.97); box-shadow: 0 1px 0 var(--line); }
.nav {
  display: flex; align-items: center; gap: 32px;
  height: 68px;
}
.nav .brand img { height: 38px; width: auto; }
.nav > ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav > ul a {
  text-decoration: none; font-size: 14px; color: #e5e5e5;
  transition: color .2s;
}
.nav > ul a:hover { color: var(--muted); }
.nav .spacer { flex: 1; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 24px; border-radius: 4px; border: 0;
  font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: rgba(255,255,255,.75); }
.btn-ghost { background: rgba(109,109,110,.7); color: #fff; }
.btn-ghost:hover { background: rgba(109,109,110,.45); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

.menu-toggle {
  display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px;
}
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero-Slider ---------- */
.hero {
  position: relative; height: min(92vh, 860px); min-height: 560px;
  overflow: hidden; background: var(--bg-deep);
}
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  opacity: 0; transition: opacity 1s ease;
  pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; }
.slide .art { position: absolute; inset: 0; transform: scale(1.06); transition: transform 8s ease-out; }
.slide.active .art { transform: scale(1); }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,0) 75%),
    linear-gradient(0deg, var(--bg) 0%, rgba(20,20,20,0) 35%);
}
.slide .content {
  position: relative; z-index: 2;
  padding-bottom: clamp(110px, 16vh, 170px);
  max-width: 680px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.eyebrow .n {
  background: var(--red); color: #fff; font-weight: 800;
  padding: 2px 7px; border-radius: 2px; letter-spacing: 0;
}
.slide h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem); font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 18px;
}
.slide p.lead { font-size: clamp(1rem, 1.6vw, 1.3rem); color: #e5e5e5; max-width: 560px; margin-bottom: 28px; }
.slide .actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-dots {
  position: absolute; z-index: 5; bottom: 56px; right: var(--gutter);
  display: flex; gap: 8px;
}
.hero-dots button {
  width: 34px; height: 4px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.35); border-radius: 2px; transition: background .3s;
}
.hero-dots button.active { background: #fff; }

/* Künstlerische Hintergründe, rein in CSS */
.art-film {
  background:
    radial-gradient(ellipse 60% 70% at 78% 40%, rgba(229,9,20,.55), transparent 70%),
    radial-gradient(ellipse 40% 50% at 60% 80%, rgba(255,120,40,.25), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 2px, transparent 2px 120px),
    linear-gradient(135deg, #1a0204 0%, #000 60%);
}
.art-health {
  background:
    radial-gradient(circle at 75% 45%, rgba(0,200,180,.45), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(229,9,20,.35), transparent 35%),
    radial-gradient(circle at 60% 25%, rgba(80,120,255,.3), transparent 35%),
    linear-gradient(160deg, #021313 0%, #000 70%);
}
.art-game {
  background:
    radial-gradient(ellipse 70% 40% at 70% 20%, rgba(79,216,232,.5), transparent 70%),
    radial-gradient(ellipse 50% 30% at 80% 35%, rgba(120,255,170,.3), transparent 70%),
    linear-gradient(180deg, #06142a 0%, #0b2a4a 55%, #dfefff 100%);
}
.art-svg { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: min(48vw, 640px); opacity: .9; }

/* ---------- Reihen (Streaming-Rows) ---------- */
.section { padding: 40px 0 24px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; }
.section-head .more { font-size: 14px; color: var(--muted); text-decoration: none; }
.section-head .more:hover { color: #fff; }

.row { position: relative; }
.row-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(250px, calc((100% - 4 * 12px) / 5));
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 18px 0 30px; margin: -18px 0 -30px;
  scrollbar-width: none;
}
.row-track::-webkit-scrollbar { display: none; }
.row-btn {
  position: absolute; top: 0; bottom: 0; width: 44px; z-index: 3;
  border: 0; color: #fff; cursor: pointer; font-size: 28px;
  background: rgba(20,20,20,.7); opacity: 0; transition: opacity .2s;
}
.row:hover .row-btn { opacity: 1; }
.row-btn.prev { left: calc(-1 * var(--gutter)); }
.row-btn.next { right: calc(-1 * var(--gutter)); }

.card {
  scroll-snap-align: start;
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--panel); aspect-ratio: 16 / 10;
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: default;
}
.card:hover { transform: scale(1.06); box-shadow: 0 14px 34px rgba(0,0,0,.7); z-index: 2; }
.card .poster { position: absolute; inset: 0; }
.card .poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.2) 55%, transparent 100%);
}
.card .ico {
  position: absolute; top: 14px; left: 14px; width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 8px;
  background: rgba(0,0,0,.35); backdrop-filter: blur(4px);
}
.card .ico svg { width: 22px; height: 22px; }
.card .tag {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--red); padding: 3px 8px; border-radius: 2px;
}
.card .tag.alt { background: rgba(255,255,255,.18); }
.card .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; z-index: 2; }
.card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 4px; }
.card .meta p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.45; }

/* Poster-Farben */
.p-red    { background: radial-gradient(circle at 80% 20%, #e50914 0%, #4a0306 55%, #120102 100%); }
.p-amber  { background: radial-gradient(circle at 75% 25%, #f5a623 0%, #6b3a05 55%, #150b01 100%); }
.p-violet { background: radial-gradient(circle at 75% 25%, #8b5cf6 0%, #2e1065 55%, #0b0418 100%); }
.p-teal   { background: radial-gradient(circle at 75% 25%, #14b8a6 0%, #053b37 55%, #01100f 100%); }
.p-blue   { background: radial-gradient(circle at 75% 25%, #3b82f6 0%, #0b2a63 55%, #030a18 100%); }
.p-ice    { background: linear-gradient(180deg, #0b2a4a 0%, #2a8fa8 60%, #dff4ff 100%); }
.p-ember  { background: radial-gradient(circle at 70% 30%, #ff6a3d 0%, #7a1d08 50%, #160401 100%); }
.p-steel  { background: radial-gradient(circle at 70% 30%, #9ca3af 0%, #374151 55%, #0b0d10 100%); }
.p-green  { background: radial-gradient(circle at 70% 30%, #22c55e 0%, #0b4a23 55%, #021008 100%); }
.p-pink   { background: radial-gradient(circle at 70% 30%, #ec4899 0%, #5b0d36 55%, #14020b 100%); }

/* ---------- Feature-Block Gesundheit & KI ---------- */
.feature {
  margin: 56px 0 24px; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 30%, rgba(20,184,166,.28), transparent 45%),
    radial-gradient(circle at 95% 90%, rgba(229,9,20,.22), transparent 40%),
    var(--bg-deep);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.feature .wrap {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px);
  align-items: center; padding-top: 80px; padding-bottom: 80px;
}
.feature h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.feature h2 em { font-style: normal; color: var(--red); }
.feature .lead { font-size: 1.15rem; color: #e5e5e5; max-width: 600px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.pillar { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.pillar strong { display: block; margin-bottom: 4px; }
.pillar span { font-size: 14px; color: var(--muted); }
.pulse-visual { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.pulse-visual svg { width: 100%; height: 100%; }
.pulse-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 3.2s linear infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ring { transform-origin: 200px 200px; animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step {
  background: var(--panel); border-radius: 8px; padding: 26px 22px; position: relative;
  border-top: 3px solid var(--red);
}
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-size: 2.6rem; font-weight: 800; color: rgba(255,255,255,.1);
  position: absolute; top: 10px; right: 18px; line-height: 1;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- YouTube-Band ---------- */
.yt {
  margin: 56px 0 0;
  background: linear-gradient(90deg, #2a0003 0%, #141414 70%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.yt .wrap { display: flex; align-items: center; gap: 32px; padding-top: 48px; padding-bottom: 48px; flex-wrap: wrap; }
.yt .play {
  width: 96px; height: 68px; border-radius: 18px; background: var(--red);
  display: grid; place-items: center; flex: none;
  box-shadow: 0 10px 40px rgba(229,9,20,.45);
}
.yt .play svg { width: 34px; height: 34px; }
.yt .txt { flex: 1; min-width: 260px; }
.yt h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 6px; }
.yt p { color: var(--muted); margin: 0; }

/* ---------- Kontakt ---------- */
.contact .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); padding-top: 72px; padding-bottom: 72px; }
.contact h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 16px; }
.contact .info p { color: var(--muted); }
.contact .direct { margin-top: 24px; display: grid; gap: 10px; }
.contact .direct a { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; color: #fff; font-weight: 600; }
.contact .direct a:hover { color: var(--red); }
.contact .direct svg { width: 20px; height: 20px; color: var(--red); }
form.req { background: var(--panel); border-radius: 10px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; background: #333; border: 1px solid transparent; color: #fff;
  border-radius: 4px; padding: 12px 14px; font: 15px/1.4 var(--font);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #fff; background: #454545; }
.field textarea { min-height: 120px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label {
  position: relative; font-size: 13px; padding: 7px 12px; border-radius: 999px; cursor: pointer;
  background: #333; color: #ddd; user-select: none; transition: background .2s;
}
.chips input { position: absolute; inset: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.chips input:checked + span { color: #fff; }
.chips label:has(input:checked) { background: var(--red); }
.form-note { font-size: 12px; color: var(--dim); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--dim); font-size: 13px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: #fff; }
.site-footer img { height: 30px; width: auto; opacity: .9; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 120px 0 72px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 28px; }
.legal h2 { font-size: 1.2rem; margin: 32px 0 10px; }
.legal p, .legal li { color: #d0d0d0; }
.legal a { color: #fff; }
.todo { background: rgba(229,9,20,.15); border-left: 3px solid var(--red); padding: 2px 8px; color: #fff; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .row-track { grid-auto-columns: minmax(240px, calc((100% - 2 * 12px) / 3)); }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav > ul {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(11,11,11,.98);
    border-bottom: 1px solid var(--line);
  }
  .nav > ul.open { display: flex; }
  .nav > ul a { display: block; padding: 14px var(--gutter); font-size: 16px; }
  .menu-toggle { display: block; }
  .nav .cta { display: none; }
  .feature .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .pulse-visual { max-width: 300px; }
  .art-svg { width: 80vw; right: -10%; opacity: .45; }
}
@media (max-width: 600px) {
  .row-track { grid-auto-columns: 78%; }
  .steps, .pillars, .two { grid-template-columns: 1fr; }
  .hero { min-height: 600px; }
  .hero-dots { left: var(--gutter); right: auto; bottom: 40px; }
  .nav .brand img { height: 32px; }
  .row-btn { display: none; }
}

/* ---------- Sprachwahl ---------- */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #e5e5e5; padding: 7px 10px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,.35);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; }
.lang[open] summary { background: rgba(255,255,255,.1); }
.lang ul {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 160px;
  margin: 0; padding: 6px 0; list-style: none; background: rgba(11,11,11,.98);
  border: 1px solid var(--line); border-radius: 6px; z-index: 60;
}
.lang ul a { display: block; padding: 8px 14px; font-size: 14px; text-decoration: none; color: #e5e5e5; }
.lang ul a:hover { background: var(--panel-2); }
.lang ul a.cur { color: var(--red); font-weight: 700; }

/* ---------- Kontaktdaten als Bild ---------- */
.img-tel { height: 24px; width: auto; display: inline-block; vertical-align: middle; }
.img-addr { height: 50px; width: auto; display: inline-block; margin: 2px 0 4px; }
.contact .direct .pic { display: inline-flex; gap: 10px; align-items: center; }
.contact .direct .pic svg { width: 20px; height: 20px; color: var(--red); }
.mt { margin-top: 28px; }
.legal .dim { color: var(--dim); margin-top: 32px; font-size: .9rem; }

/* ---------- Rechts-nach-links (Arabisch) ---------- */
[dir="rtl"] .slide::after {
  background:
    linear-gradient(270deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,0) 75%),
    linear-gradient(0deg, var(--bg) 0%, rgba(20,20,20,0) 35%);
}
[dir="rtl"] .art-svg { right: auto; left: 4%; }
[dir="rtl"] .hero-dots { right: auto; left: var(--gutter); }
[dir="rtl"] .step::before { right: auto; left: 18px; }
[dir="rtl"] .card .ico { left: auto; right: 14px; }
[dir="rtl"] .card .tag { right: auto; left: 14px; }
[dir="rtl"] .row-btn.prev { left: auto; right: calc(-1 * var(--gutter)); }
[dir="rtl"] .row-btn.next { right: auto; left: calc(-1 * var(--gutter)); }
[dir="rtl"] .step { border-top: 3px solid var(--red); }
[dir="rtl"] .yt { background: linear-gradient(270deg, #2a0003 0%, #141414 70%); }
[dir="rtl"] .slide h1, [dir="rtl"] .feature h2 { letter-spacing: 0; }
@media (max-width: 600px) {
  [dir="rtl"] .hero-dots { left: auto; right: var(--gutter); }
}
