/* MBMusic PRO.App — Seitenstile.
 * Ergaenzt Tailwind (CDN). Chat-Widget-Stile stehen in chat.css.
 */
:root {
  --space-section: clamp(4.5rem, 8vw, 7.5rem);
  --space-section-tight: clamp(3.5rem, 6vw, 5.5rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
html, body { overflow-x: hidden; }
/* Tastatur-Einstieg: liegt ausserhalb des Bilds, bis er den Fokus bekommt. */
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  background: #12121a;
  color: #22d3ee;
  border: 1px solid #22d3ee;
  font-size: 0.9rem;
  transition: top 0.15s var(--ease-out);
}
.skip-link:focus { top: 0.5rem; }
body {
  background: #0a0a0f;
  color: #e2e8f0;
  line-height: 1.65;
  font-kerning: normal;
}
/* Prevent grid/flex children from overflowing the viewport on small screens */
.grid > * { min-width: 0; }
img { max-width: 100%; }
.type-display, .type-section { overflow-wrap: break-word; }
.type-display {
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.35rem, 6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
}
.type-section {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}
.type-lead {
  font-size: 1.03rem;
  line-height: 1.68;
  max-width: 58ch;
  color: #94a3b8;
}
.type-copy {
  font-size: 1rem;
  line-height: 1.68;
  color: #cbd5e1;
  max-width: 64ch;
}
.section-shell { padding-block: var(--space-section); }
.section-shell-tight { padding-block: var(--space-section-tight); }
/* Schliesst direkt an den Abschnitt darueber an — kein doppelter Abstand. */
.section-shell-flush { padding-bottom: var(--space-section-tight); }
.hero-shell {
  padding-top: clamp(4.25rem, 9vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}
.glass {
  background: rgba(26, 26, 38, 0.64);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 211, 238, 0.1);
}
.glass-subtle {
  background: rgba(18, 18, 26, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.cyan-text { color: #22d3ee; }
.cyan-border { border-color: #22d3ee; }
.btn-primary {
  background: linear-gradient(135deg, #06b6d4, #0e7490);
  color: #f8fafc;
  font-weight: 700;
  border: 1px solid rgba(34, 211, 238, 0.45);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), filter 220ms var(--ease-out);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(34, 211, 238, 0.34); transform: translateY(-1px); filter: saturate(1.08); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  border: 1px solid #22d3ee40;
  color: #22d3ee;
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), transform 200ms var(--ease-out), color 200ms var(--ease-out);
}
.btn-secondary:hover { background: #22d3ee14; border-color: #22d3ee; transform: translateY(-1px); }
.btn-secondary:active { transform: translateY(0); }
/* App Store button */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 0.85rem;
  padding: 0.5rem 1.1rem;
  transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.btn-appstore:hover { transform: translateY(-1px); border-color: rgba(34,211,238,0.5); box-shadow: 0 12px 26px rgba(2, 8, 23, 0.5); }
.btn-appstore svg { width: 1.55rem; height: 1.55rem; flex-shrink: 0; fill: #fff; }
.btn-appstore .as-pre { font-size: 0.68rem; line-height: 1; color: #cbd5e1; display: block; letter-spacing: 0.02em; }
.btn-appstore .as-big { font-family: "Manrope", sans-serif; font-size: 1.12rem; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.btn-appstore-sm { padding: 0.4rem 0.8rem; border-radius: 0.7rem; }
.btn-appstore-sm svg { width: 1.15rem; height: 1.15rem; }
.btn-appstore-sm .as-pre { font-size: 0.58rem; }
.btn-appstore-sm .as-big { font-size: 0.9rem; }
.interactive-card {
  transition: transform 260ms var(--ease-out), border-color 260ms var(--ease-out), box-shadow 260ms var(--ease-out), background-color 260ms var(--ease-out);
}
.interactive-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.34);
  box-shadow: 0 16px 36px rgba(8, 47, 73, 0.26);
  background-color: rgba(22, 22, 32, 0.72);
}
.badge-beta {
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.4);
  color: #22d3ee;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-new {
  background: #22d3ee;
  border: 1px solid #22d3ee;
  color: #05222b;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}
.gradient-radial {
  background: radial-gradient(ellipse at 60% 40%, #22d3ee08 0%, transparent 60%);
}
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #22d3ee20, transparent);
}
/* Dark translucent nav */
.nav-blur {
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(34, 211, 238, 0.09);
}
.lang-btn { transition: color 150ms var(--ease-out), background-color 150ms var(--ease-out); color: #64748b; }
.lang-btn.active { color: #22d3ee; font-weight: 600; background-color: rgba(34, 211, 238, 0.12); }
.lang-btn:hover { color: #22d3ee; }
/* Hauptmenue. Die feste Nav laeuft ab md einzeilig, darunter in zwei Zeilen —
 * body bekommt das passende padding-top weiter unten. */
.nav-link {
  color: #94a3b8;
  font-size: 0.925rem;
  font-weight: 500;
  white-space: nowrap;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
  transition: color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}
.nav-link:hover { color: #e2e8f0; }
.nav-link.active { color: #22d3ee; border-bottom-color: #22d3ee; }
/* Zweizeilige Nav auf schmalen Viewports, ab md wieder einzeilig. */
body { padding-top: 6.4rem; }
@media (min-width: 768px) { body { padding-top: 4rem; } }
html { scroll-padding-top: 7rem; }
@media (min-width: 768px) { html { scroll-padding-top: 4.5rem; } }
/* ===== Tabs (Beta-Bereiche) ===== */
/* Ohne JS bleiben alle Panels sichtbar; erst tabs.js setzt data-tabs-ready und
 * blendet die Leiste ein. Deshalb ist .tablist standardmaessig ausgeblendet. */
.tablist { display: none; }
[data-tabs-ready] .tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.tab {
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  font-size: 0.925rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.18);
  white-space: nowrap;
  transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.tab:hover { color: #e2e8f0; border-color: rgba(34, 211, 238, 0.35); }
.tab[aria-selected="true"] {
  color: #06202a;
  background: #22d3ee;
  border-color: #22d3ee;
}
.tabpanel:focus-visible { outline: 2px solid #22d3ee; outline-offset: 6px; border-radius: 0.5rem; }
/* Ohne JS stehen die Panels untereinander und brauchen Abstand. */
.tabpanel + .tabpanel { margin-top: var(--space-section-tight); }
[data-tabs-ready] .tabpanel + .tabpanel { margin-top: 0; }
.img-frame {
  border: 1px solid rgba(34, 211, 238, 0.16);
  box-shadow: 0 18px 48px rgba(2, 8, 23, 0.55);
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.2;
}
.trust-pill svg { width: 1rem; height: 1rem; color: #22d3ee; flex-shrink: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.cta-btn { min-height: 2.9rem; }
.bullet { position: relative; padding-left: 1.75rem; }
.bullet::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5rem;
  width: 1.1rem; height: 1.1rem;
  background: rgba(34, 211, 238, 0.14);
  border: 1px solid rgba(34, 211, 238, 0.45);
  border-radius: 999px;
}
.bullet::after {
  content: "";
  position: absolute;
  left: 0.34rem; top: 0.76rem;
  width: 0.42rem; height: 0.24rem;
  border-left: 2px solid #22d3ee;
  border-bottom: 2px solid #22d3ee;
  transform: rotate(-45deg);
}
/* FAQ accordion */
.faq {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.9rem;
  background: rgba(18, 18, 26, 0.6);
  overflow: hidden;
}
.faq + .faq { margin-top: 0.75rem; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.2rem;
  font-weight: 600;
  color: #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: #22d3ee;
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}
.faq[open] summary::after { content: "\2013"; }
.faq .faq-a {
  padding: 0 1.2rem 1.15rem;
  color: #cbd5e1;
  line-height: 1.65;
}
a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 2px solid #22d3ee;
  outline-offset: 2px;
}
/* Fliesstext der Rechtsseiten — bewusst schlicht, gute Lesbarkeit vor Effekt. */
.legal-prose h2 {
  font-family: "Manrope", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.7rem;
}
.legal-prose h2:first-child { margin-top: 0; }
/* Tailwinds Preflight setzt p { margin: 0 }. Solange jeder Abschnitt aus genau
   einem Absatz bestand, hat der Abstand der h2 gereicht; seit die
   Datenschutzseite mehrere Absaetze je Abschnitt hat, braucht es diesen hier —
   sonst kleben sie aneinander. */
.legal-prose p { color: #94a3b8; margin-bottom: 0.9rem; }
.legal-prose p:last-child { margin-bottom: 0; }
.legal-prose .not-prose p { margin: 0; }
.legal-prose strong { color: #cbd5e1; font-weight: 700; }
.legal-prose a { color: #22d3ee; text-decoration: underline; text-underline-offset: 2px; }
.legal-prose a:hover { color: #67e8f9; }
.legal-prose code {
  font-size: 0.9em;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0.25rem;
  padding: 0.1em 0.35em;
}

/* ---- Podcast-Player ----
   Der native <audio>-Player sieht je Browser anders aus; wir rahmen ihn nur ein,
   statt ihn nachzubauen. Ein eigener Player waere zusaetzliches JavaScript ohne
   Gewinn — die Bedienelemente des Browsers sind tastaturbedienbar und von
   Screenreadern verstanden, ein selbstgebauter ist es selten. */
.podcast-player audio {
  display: block;
  width: 100%;
  height: 2.6rem;
  border-radius: 0.5rem;
  /* Safari faerbt die eigenen Bedienelemente danach ein. */
  color-scheme: dark;
}
.podcast-meta {
  margin-top: 0.9rem;
  font-size: 0.8125rem;
  color: #64748b;
}
.podcast-meta a { color: #64748b; text-decoration: underline; text-underline-offset: 2px; }
.podcast-meta a:hover { color: #22d3ee; }

/* ---- Einwilligungsbanner ----
   Sitzt unten und ueber dem Chat-Knopf. Bewusst kein modaler Overlay: die Seite
   bleibt lesbar und bedienbar, waehrend gefragt wird. Wer den Banner ignoriert,
   wird nicht getrackt — ein Zwang zur Entscheidung waere weder noetig noch
   zulaessig. */
#consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: rgba(12, 12, 18, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(34, 211, 238, 0.22);
  box-shadow: 0 -12px 40px rgba(2, 8, 23, 0.6);
  padding: 1.1rem 1.25rem calc(1.1rem + env(safe-area-inset-bottom));
}
#consent[hidden] { display: none; }
.consent-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.consent-text { flex: 1 1 auto; min-width: 0; }
.consent-title {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}
.consent-body { color: #94a3b8; font-size: 0.875rem; line-height: 1.55; }
.consent-links { font-size: 0.8125rem; margin-top: 0.5rem; color: #475569; }
.consent-links a { color: #64748b; text-decoration: underline; text-underline-offset: 2px; }
.consent-links a:hover { color: #22d3ee; }
.consent-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 0.7rem;
}
/* Gleiche Groesse, gleiches Gewicht, gleicher Kontrast fuer beide Schaltflaechen.
   Das ist keine Geschmacksfrage: die Aufsichtsbehoerden verlangen, dass Ablehnen
   genauso leicht faellt wie Zustimmen. min-width haelt beide gleich breit, auch
   wenn die Beschriftungen je Sprache verschieden lang sind. */
.consent-btn {
  min-width: 9.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.consent-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.consent-btn:active { transform: translateY(0); }
.consent-btn-deny { background: #e2e8f0; color: #0f172a; border-color: #e2e8f0; }
.consent-btn-allow { background: #22d3ee; color: #06202a; border-color: #22d3ee; }

/* Solange gefragt wird, weicht der Chat-Knopf nach oben aus. */
body.consent-open #chat-fab { bottom: 8.5rem; }

@media (max-width: 720px) {
  .consent-inner { flex-direction: column; align-items: stretch; gap: 1rem; }
  .consent-actions { flex-direction: row; }
  .consent-btn { flex: 1 1 0; min-width: 0; }
  body.consent-open #chat-fab { bottom: 13rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 640px) {
  .hero-shell { padding-top: 5rem; padding-bottom: 2.5rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .cta-btn, .hero-cta .btn-appstore { width: 100%; justify-content: center; }
  .type-lead { font-size: 1rem; line-height: 1.62; }
  .trust-pill { width: 100%; justify-content: center; }
  #lang-select-mobile { min-height: 2.75rem; min-width: 4.75rem; }
}
