/* ==========================================================================
   SimpleCrafts Studio – globales Stylesheet (www.simplecrafts.de)
   Farbwelt = SpeedCompass-App: Navy-Verlauf, Teal→Violett-Akzent, Zeiger-Rot
   ========================================================================== */

:root {
  --bg-top: #1c2138;
  --bg-bottom: #0c0e1c;
  --bg-deep: #080b12;
  --card: #161d2b;
  --card-2: #121828;
  --text: #e7ecf5;
  --muted: #9aa3bd;
  --accent: #25e0c0;
  --accent-2: #8a7dff;
  --needle: #ff6584;
  --border: #2a3350;
  --grad: linear-gradient(100deg, var(--accent), var(--accent-2));
  --radius: 18px;
  --header-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: .2px; }

/* ===== Kopfzeile ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; gap: 22px;
  padding: 0 clamp(14px, 4vw, 40px);
  background: rgba(10, 13, 24, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42, 51, 80, .6);
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-logo { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.brand-logo-studio { border-radius: 50%; width: 40px; height: 40px; object-fit: cover; }
.brand-name { color: var(--text); font-weight: 700; letter-spacing: .4px; white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--muted); font-weight: 500; }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  color: var(--muted); font-size: .92rem; font-weight: 600;
  padding: 8px 12px; border-radius: 999px; white-space: nowrap;
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }

/* Sprachwahl */
.lang-picker { position: relative; flex: none; }
.lang-btn {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.05);
  color: var(--text); font: inherit; font-size: .9rem; font-weight: 600;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 13px; cursor: pointer;
  transition: border-color .2s;
}
.lang-btn:hover { border-color: var(--accent); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 8px);
  margin: 0; padding: 6px; list-style: none;
  min-width: 190px; max-height: min(60vh, 430px); overflow: auto;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
}
.lang-list li {
  padding: 8px 12px; border-radius: 9px; cursor: pointer;
  font-size: .92rem; color: var(--text); white-space: nowrap;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.lang-list li:hover { background: rgba(255,255,255,.07); }
.lang-list li.active { color: var(--accent); font-weight: 700; }
.lang-list li.active::after { content: "✓"; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 40px) clamp(16px, 5vw, 56px) 70px;
  background:
    radial-gradient(1100px 520px at 70% -10%, rgba(138,125,255,.16), transparent 60%),
    radial-gradient(900px 500px at 12% 110%, rgba(37,224,192,.13), transparent 60%),
    linear-gradient(160deg, var(--bg-top), var(--bg-bottom) 58%, var(--bg-deep));
  overflow: hidden;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }
.hero-glow-a { width: 460px; height: 460px; background: rgba(37,224,192,.16); top: -140px; right: 6%; animation: drift 11s ease-in-out infinite alternate; }
.hero-glow-b { width: 380px; height: 380px; background: rgba(138,125,255,.18); bottom: -120px; left: -60px; animation: drift 13s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0,0); } to { transform: translate(40px, 26px); } }

.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 5vw, 60px); align-items: center;
  max-width: 1160px; margin: 0 auto; width: 100%;
}
.kicker {
  display: inline-block;
  color: var(--accent); font-weight: 700; font-size: .88rem;
  letter-spacing: 2.2px; text-transform: uppercase;
  margin: 0 0 14px;
}
.hero-title {
  font-size: clamp(2.9rem, 7.2vw, 5rem);
  font-weight: 800; letter-spacing: -1px; margin-bottom: 18px;
}
.hero-title span {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 34em; margin: 0 0 28px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px;
  transition: transform .18s, box-shadow .18s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  color: #06251f; background: var(--grad);
  box-shadow: 0 8px 26px rgba(37, 224, 192, .3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,224,192,.42); }
.btn-ghost { color: var(--text); border: 1.5px solid var(--border); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-big { font-size: 1.1rem; padding: 16px 34px; }

.hero-usps { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.hero-usps li { color: var(--muted); font-size: .92rem; display: flex; align-items: center; gap: 7px; }
.hero-usps li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad); flex: none;
}

.hero-gauge { display: flex; flex-direction: column; align-items: center; gap: clamp(12px, 2vw, 22px); }
#gaugeMount { width: min(430px, 82vw); filter: drop-shadow(0 28px 60px rgba(0,0,0,.55)); }
#gaugeMount svg { width: 100%; height: auto; display: block; }

/* Kompass und Neigung unter dem Tacho - dieselbe Anordnung wie in der
   App-Bauart „Cockpit": zwei kleinere Instrumente nebeneinander. */
.hero-minis { display: flex; justify-content: center; gap: clamp(14px, 3vw, 30px); }
.hero-minis > div { width: min(168px, 33vw); filter: drop-shadow(0 16px 34px rgba(0,0,0,.5)); }
.hero-minis svg { width: 100%; height: auto; display: block; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--muted); font-size: .78rem; letter-spacing: 2px; text-transform: uppercase;
}
.scroll-hint i {
  width: 1.5px; height: 34px; display: block;
  background: linear-gradient(var(--accent), transparent);
  animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint { 0% { transform: scaleY(.2); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ===== Zahlenband ===== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; max-width: 1000px; margin: 0 auto;
  padding: 54px clamp(16px, 4vw, 40px) 10px;
}
.stat { text-align: center; padding: 22px 8px; background: var(--card-2); border: 1px solid var(--border); border-radius: var(--radius); }
.stat strong {
  display: block; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { color: var(--muted); font-size: .88rem; }

/* ===== Sektionen ===== */
.section { padding: clamp(64px, 9vw, 110px) clamp(16px, 5vw, 56px); max-width: 1160px; margin: 0 auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(34px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ===== Video ===== */
.video-stage { display: flex; justify-content: center; }
.video-frame { position: relative; cursor: pointer; }
.video-frame img { transition: filter .3s; }
.video-frame:hover img { filter: brightness(.75); }
.video-frame.playing { cursor: default; }
.video-frame iframe { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); border: 0; border-radius: 26px; background: #000; }
/* Abspielknopf im YouTube-Stil: rotes Rechteck mit weissem Dreieck.
   Bewusst kein Pulsring und kein Farbverlauf der Seite - der Knopf soll
   sofort als "hier startet ein YouTube-Video" gelesen werden. */
.video-play {
  position: absolute; inset: 0; margin: auto;
  width: 96px; height: 68px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: #f00;
  border: 0; cursor: pointer;
  box-shadow: 0 10px 34px rgba(0,0,0,.5);
  transition: transform .2s, background-color .2s;
}
.video-play:hover { transform: scale(1.08); background: #ff2626; }
.video-soon {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  background: rgba(12,14,28,.9); border: 1px solid var(--border);
  color: var(--text); font-size: .9rem; white-space: nowrap;
  padding: 9px 17px; border-radius: 999px;
}
.video-note { text-align: center; color: var(--muted); font-size: .82rem; max-width: 46em; margin: 22px auto 0; }

/* ===== Funktionen ===== */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 16px;
}
.feature {
  background: var(--card-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.feature:hover {
  transform: translateY(-5px);
  border-color: rgba(37,224,192,.5);
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
}
.feature-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(37,224,192,.16), rgba(138,125,255,.16));
  border: 1px solid rgba(37,224,192,.3);
  color: var(--accent); margin-bottom: 15px;
}
.feature-icon svg { width: 25px; height: 25px; }
.feature h3 { font-size: 1.08rem; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ===== Fahrzeug-Chips ===== */
.vehicles-section { padding-top: 0; }
.chip-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; margin: 0 auto; }
.chip {
  padding: 9px 18px; border-radius: 999px;
  background: var(--card-2); border: 1px solid var(--border);
  color: var(--text); font-size: .92rem; font-weight: 600;
  transition: border-color .2s, transform .2s;
}
.chip:hover { border-color: var(--accent-2); transform: translateY(-2px); }

/* ===== Handy-Rahmen ===== */
.phone-frame {
  position: relative;
  width: min(272px, 74vw); flex: none;
  border-radius: 34px;
  background: #05070d;
  border: 1px solid #2e3856;
  box-shadow:
    inset 0 0 0 3px #10141f,
    0 24px 60px rgba(0,0,0,.55),
    0 4px 14px rgba(0,0,0,.4);
  padding: 10px;
}
.phone-frame::after {
  content: ""; position: absolute; top: 17px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: #1a2136; box-shadow: 0 0 0 2px #0a0d16;
}
.phone-frame img { border-radius: 24px; width: 100%; height: auto; }

/* ===== Vorstellung: der Hauptbildschirm =====
   Steht vor der Schritt-für-Schritt-Strecke und zeigt die App einmal
   im Ganzen - deshalb mittig und etwas groesser als die Einzelschritte. */
.app-intro { padding-bottom: 0; }
.intro-stage { display: flex; justify-content: center; }
.intro-stage .phone-frame { width: min(300px, 78vw); }

/* ===== Seite für Seite ===== */
.screen-flow { display: flex; flex-direction: column; gap: clamp(48px, 7vw, 84px); }
.screen-block {
  display: flex; align-items: center; gap: clamp(26px, 5vw, 64px);
  justify-content: center;
}
.screen-block:nth-child(even) { flex-direction: row-reverse; }
.screen-text { max-width: 470px; }
.screen-num {
  font-size: .85rem; font-weight: 800; letter-spacing: 3px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.screen-text h3 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin: 6px 0 12px; }
.screen-text p { color: var(--muted); margin: 0 0 14px; }
.screen-tip {
  border-left: 3px solid var(--accent);
  background: rgba(37,224,192,.07);
  border-radius: 0 12px 12px 0;
  padding: 10px 15px;
  font-size: .9rem; color: var(--text) !important;
}

/* Phasen-Trenner im Ablauf (Einrichten / Fahren / Auswerten) */
.flow-phase {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px; align-items: center;
  max-width: 900px; width: 100%; margin: 0 auto;
  padding: 18px 22px;
  background: linear-gradient(100deg, rgba(37,224,192,.09), rgba(138,125,255,.09));
  border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}
.flow-phase-num {
  grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 800; color: #06251f;
  background: var(--grad);
}
.flow-phase h3 { font-size: 1.15rem; margin: 0; }
.flow-phase p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ===== CTA ===== */
.cta-section { padding-top: 30px; }
.cta-card {
  text-align: center;
  background:
    radial-gradient(600px 260px at 50% -40%, rgba(37,224,192,.14), transparent 70%),
    var(--card-2);
  border: 1px solid var(--border); border-radius: 26px;
  padding: clamp(44px, 7vw, 72px) clamp(20px, 5vw, 60px);
}
.cta-card h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.cta-card > p { color: var(--muted); margin: 0 0 30px; }
.cta-note { margin: 18px 0 0 !important; font-size: .85rem; }

/* ===== Studio ===== */
.studio-section { padding-top: 0; }
.studio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; max-width: 860px; margin: 0 auto; }
.studio-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--card-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px;
}
.studio-card img { border-radius: 13px; }
.studio-card strong { display: block; }
.studio-card span { color: var(--muted); font-size: .85rem; }
.studio-card.current { border-color: rgba(37,224,192,.45); }
.studio-card.soon { opacity: .62; border-style: dashed; }
.soon-icon {
  width: 56px; height: 56px; flex: none; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); border: 1px dashed var(--border);
  color: var(--muted); font-size: 1.5rem; font-weight: 800;
}

/* ===== Fußzeile ===== */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-deep); }
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 26px clamp(16px, 5vw, 56px);
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between;
}
.footer-brand { color: var(--muted); font-size: .88rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { color: var(--muted); font-size: .88rem; }
.footer-nav a:hover { color: var(--accent); }

/* ===== Reveal-Animationen =====
   Versteckt wird nur, wenn JavaScript laeuft (html.js): Bleibt das Skript aus oder
   feuert der IntersectionObserver nicht, ist der Inhalt trotzdem da statt unsichtbar. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
/* Wer im Betriebssystem "Bewegung reduzieren" gesetzt hat (Windows: Einstellungen >
   Barrierefreiheit > Visuelle Effekte > Animationseffekte), bekommt keine Bewegung -
   aber weiterhin ein ruhiges Einblenden, damit die Seite nicht tot wirkt. Endlos
   laufende Schleifen (Glow, Puls, Scroll-Hinweis) bleiben aus. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity .5s ease; }
  .js .reveal.visible { opacity: 1; }
  .hero-glow, .scroll-hint i { animation: none; }
  .feature:hover, .btn-primary:hover, .chip:hover, .app-card:hover { transform: none; }
}

/* ===== Responsiv ===== */
@media (max-width: 940px) {
  .main-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-gauge, .hero-duo { order: -1; margin-top: -8px; }
  #gaugeMount { width: min(320px, 72vw); }
  .screen-block, .screen-block:nth-child(even) { flex-direction: column; text-align: center; }
  .screen-tip { text-align: left; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .brand-name { display: none; }
  .hero { padding-bottom: 90px; }
}

/* ===== Rechtsseite (legal.html) ===== */
.legal-wrap { max-width: 780px; margin: 0 auto; padding: calc(var(--header-h) + 34px) 20px 64px; }
.legal-wrap h1 { font-size: 1.6rem; margin-bottom: 4px; }
.legal-wrap .muted { color: var(--muted); font-size: .9rem; }
.legal-card {
  background: var(--card-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 8px 24px 24px; margin-top: 22px;
}
.legal-card h2 { color: var(--accent); font-size: 1.2rem; margin-top: 26px; }
.legal-card h3 { font-size: 1rem; margin: 20px 0 6px; }
.legal-card p, .legal-card li { color: var(--text); font-size: .95rem; }
/* Hervorgehobener Einleitungsabsatz einer Rechtsseite - global, damit die
   App-Rechtsseiten unter /speedcompass/ kein eigenes Stylesheet brauchen. */
.legal-card .lead {
  /* Toenung je App ueber die Variablen im Farbwelt-Block (Rueckfall: SpeedCompass-Teal). */
  background: var(--lead-bg, rgba(37, 224, 192, .08));
  border: 1px solid var(--lead-border, rgba(37, 224, 192, .25));
  border-radius: 12px; padding: 14px 18px; margin: 18px 0 6px;
}

/* ==========================================================================
   Farbwelt je App
   --------------------------------------------------------------------------
   Die Seite traegt die Farben der App, die sie vorstellt. Bewusst hier global
   und nicht als eigenes Stylesheet je Unterordner: Es sind nur die Variablen,
   die sich unterscheiden - Aufbau, Abstaende und Bausteine bleiben identisch.
   Wer eine weitere App ergaenzt, setzt hier einen Block und sonst nichts.
   ========================================================================== */

/* MirrorLens: Ozean-Blau der App plus der warme Ringlicht-Ton als Zweitfarbe.
   Das Rot des SpeedCompass-Zeigers passt hier nicht - stattdessen dasselbe
   Warmweiss, das die App als "Abendlicht" auf den Rahmen legt. */
body.theme-mirrorlens {
  --accent: #5cc8ff;
  --accent-2: #ffc978;
  --needle: #ffc978;
  --grad: linear-gradient(100deg, var(--accent), var(--accent-2));
}

/* SmartRezept und SmartWeight: bisher nur Rechtsseiten (noch kein Onepager).
   Akzent = App-Akzent aus dem Studio-Design (Koralle bzw. Mint). Eine Zweitfarbe
   gibt es noch nicht; --accent-2 traegt deshalb denselben Ton, bis ein Onepager
   eine braucht. --grad muss neu gesetzt werden, weil er sonst den Wert von :root erbt. */
body.theme-smartrezept {
  --accent: #ff5440;
  --accent-2: #ff5440;
  --grad: linear-gradient(100deg, var(--accent), var(--accent-2));
  --lead-bg: rgba(255, 84, 64, .08);
  --lead-border: rgba(255, 84, 64, .28);
}
body.theme-smartweight {
  --accent: #00d9a5;
  --accent-2: #00d9a5;
  --grad: linear-gradient(100deg, var(--accent), var(--accent-2));
  --lead-bg: rgba(0, 217, 165, .08);
  --lead-border: rgba(0, 217, 165, .25);
}

/* ===== Ringlicht-Illustration im Hero (nur MirrorLens) ===== */
.ml-stage { position: relative; display: grid; place-items: center; padding: 10px; }
.ml-ring {
  position: relative;
  width: min(300px, 74vw); aspect-ratio: 9 / 16;
  border-radius: 26px;
  background: #0a1018;
  /* Der Leuchtrahmen ist genau das, was die App im Spiegel-Modus malt:
     ein heller Rand um das Bild, kein Schein hinter dem Geraet. */
  box-shadow: inset 0 0 0 14px var(--accent-2), 0 0 60px rgba(255, 201, 120, .28);
  overflow: hidden;
  animation: mlGlow 6s ease-in-out infinite;
}
.ml-ring img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
@keyframes mlGlow {
  0%, 100% { box-shadow: inset 0 0 0 14px var(--accent-2), 0 0 60px rgba(255, 201, 120, .28); }
  50%      { box-shadow: inset 0 0 0 14px #fff0d8,        0 0 78px rgba(255, 201, 120, .42); }
}
/* Die Lupe schwebt ueber der unteren Ecke und zeigt das Negativbild. */
.ml-lens {
  position: absolute; right: -6%; bottom: 8%;
  width: 44%; aspect-ratio: 1;
  animation: mlFloat 7s ease-in-out infinite;
}
@keyframes mlFloat {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50%      { transform: translateY(-14px) rotate(-4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .ml-ring, .ml-lens { animation: none; }
}

/* ===== Merkmalslisten ("alles im Detail") ===== */
.ml-lists { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.ml-list {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
}
.ml-list h3 { display: flex; align-items: center; gap: 10px; margin-bottom: .6em; }
.ml-list h3 svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.ml-list ul { margin: 0; padding: 0; list-style: none; }
.ml-list li { position: relative; padding: 7px 0 7px 26px; color: var(--muted); }
.ml-list li::before {
  content: ""; position: absolute; left: 4px; top: 15px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.ml-list li strong { color: var(--text); font-weight: 600; }

/* ===== Vertrauensband (kein Netz, keine Werbung, kein Konto) ===== */
.ml-trust { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ml-trust div {
  text-align: center; padding: 24px 18px;
  background: var(--card-2); border: 1px solid var(--border); border-radius: var(--radius);
}
.ml-trust svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 8px; }
.ml-trust strong { display: block; margin-bottom: 4px; }
.ml-trust span { color: var(--muted); font-size: .93rem; }

/* ==========================================================================
   PLATZHALTER für Material, das noch fehlt (Screenshots, Store-Eintrag)
   --------------------------------------------------------------------------
   Absichtlich global und nicht seitenlokal: Die nächste App wird dieselben
   Lücken haben. Beide Zustände sind so gebaut, dass man zum Scharfschalten
   nur die Klasse "is-soon" entfernt - keine weitere Änderung nötig.
   ========================================================================== */

/* Ein Handy-Rahmen ohne Bild. Das Seitenverhältnis entspricht den fertigen
   Aufnahmen (540x1000), damit die Strecke beim Nachliefern nicht springt. */
.phone-frame.is-soon {
  display: grid; place-items: center; align-content: center; gap: 12px;
  aspect-ratio: 27 / 50;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.028) 0 12px, transparent 12px 24px),
    #070b14;
  color: var(--muted);
}
.phone-frame.is-soon::before {
  content: ""; position: absolute; inset: 10px;
  border: 2px dashed var(--border); border-radius: 24px; pointer-events: none;
}
.phone-frame.is-soon svg { width: 44px; height: 44px; color: var(--accent); opacity: .55; }
.phone-frame.is-soon span {
  font-size: .85rem; font-weight: 600; letter-spacing: .5px;
  text-align: center; padding: 0 18px;
}

/* Ein Knopf, dessen Ziel es noch nicht gibt. Er bleibt anklickbar - die Adresse
   stimmt bereits -, sieht aber gedämpft aus und trägt einen kleinen Vermerk. */
.btn.is-soon { opacity: .72; }
.btn.is-soon:hover { opacity: 1; }

/* ==========================================================================
   Studio-Startseite (index.html, seit 2026-09-15)
   --------------------------------------------------------------------------
   Die Startseite ist die Einstiegsseite mit der App-Auswahl; jede App-Seite
   liegt in einem eigenen Ordner (/SpeedCompass/, /MirrorLens/). Alles hier ist
   global gehalten: Die naechste App braucht nur eine weitere .app-card.
   ========================================================================== */

/* Hero: statt eines Instruments die beiden App-Bildschirme, leicht gedreht und
   ueberlappend. Rein dekorativ - die Links sitzen in den Knoepfen daneben. */
.hero-duo { display: flex; justify-content: center; align-items: flex-end; padding: 24px 0 12px; }
.hero-duo .phone-frame { width: min(228px, 40vw); }
.hero-duo .phone-frame:first-child { transform: rotate(-5deg) translateY(12px); z-index: 1; }
.hero-duo .phone-frame:last-child { transform: rotate(5deg) translateY(-16px); margin-left: -36px; }

/* App-Karten: eine je App, dazu die gestrichelte „Weitere Apps folgen"-Karte.
   Die Punktliste darin nutzt .hero-usps (gleicher Stil, kein Duplikat). */
.app-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.app-card {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--card-2); border: 1px solid var(--border); border-radius: 24px;
  padding: 28px 24px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.app-card:hover { transform: translateY(-5px); border-color: rgba(37,224,192,.5); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.app-card-head { display: flex; align-items: center; gap: 16px; color: var(--text); }
.app-card-head img { width: 72px; height: 72px; border-radius: 18px; flex: none; }
.app-card-head h3 { font-size: 1.45rem; margin: 0 0 2px; }
.app-card-head span { color: var(--muted); font-size: .9rem; }
.app-card > p { color: var(--muted); margin: 0; flex: 1; }
.app-card-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.app-card-actions .btn { padding: 11px 20px; font-size: .95rem; }
.app-card.soon { opacity: .62; border-style: dashed; align-items: center; justify-content: center; text-align: center; }
.app-card.soon:hover { transform: none; box-shadow: none; border-color: var(--border); }
.app-card.soon .soon-icon { width: 72px; height: 72px; border-radius: 18px; font-size: 2rem; }
.app-card.soon strong { display: block; }
.app-card.soon span { color: var(--muted); font-size: .9rem; }

/* Vier Karten in zwei Zeilen statt 3 + 1: Das Standardraster (.feature-grid) schafft
   bei 1160 px nur drei Spalten. Mit dem Zusatz "two-up" werden es zwei breite Spalten,
   auf schmalen Bildschirmen eine. Genutzt von den Grundsaetzen der Startseite. */
.feature-grid.two-up { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

/* ===== Sammelseite /links (Link-in-Bio, seit 2026-10-10) =====
   Eine schmale Spalte mit grossen Tippflaechen (mind. 56 px, Symbole links), mobil zuerst.
   Nutzt die globalen Variablen, .brand-logo-studio, .lang-picker; die Fusszeile ist .links-foot. */
.links-page { min-height: 100vh; display: flex; flex-direction: column; background:
  radial-gradient(900px 420px at 50% -120px, rgba(138,125,255,.22), transparent 70%),
  radial-gradient(700px 360px at 85% 0, rgba(37,224,192,.12), transparent 70%), var(--bg-deep); }
.links-top { display: flex; justify-content: flex-end; padding: 14px clamp(14px, 4vw, 28px) 0; }
.links-wrap { width: 100%; max-width: 520px; margin: 0 auto; padding: 8px 16px 32px; flex: 1; }
.links-head { text-align: center; padding: 6px 0 22px; }
.links-head .brand-logo-studio { width: 84px; height: 84px; margin: 0 auto 14px; box-shadow: 0 0 0 3px rgba(37,224,192,.25), 0 10px 34px rgba(138,125,255,.3); }
.links-head h1 { font-size: 1.7rem; margin: 0 0 6px; }
.links-head h1 span { color: var(--muted); font-weight: 500; }
.links-head p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.links-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.links-list + .links-list { margin-top: 12px; }
.link-btn {
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 10px 18px 10px 12px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)), var(--card);
  border: 1.5px solid var(--border); color: var(--text); font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .18s, border-color .2s, box-shadow .2s, background .2s;
}
.link-btn:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,224,192,.16), inset 0 1px 0 rgba(255,255,255,.08); }
.link-btn:active { transform: scale(.98); }
.link-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.link-btn .link-text { flex: 1; min-width: 0; }
.link-btn b { display: block; font-size: 1.08rem; line-height: 1.25; }
.link-btn small { display: block; color: var(--muted); font-size: .92rem; font-weight: 400; line-height: 1.3; }
.link-btn .link-go { flex: none; color: var(--accent); font-weight: 700; font-size: .92rem; white-space: nowrap; }
.link-btn .link-go::after { content: "\203A"; margin-left: 6px; font-size: 1.2em; line-height: 1; }
/* App-Symbole (PNG) und Linien-/Flaechensymbole (Maske) im Knopf */
.link-btn .link-app { flex: none; width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.ico { flex: none; display: inline-block; width: 26px; height: 26px; background: currentColor;
  -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.link-btn .ico { margin: 0 11px; color: var(--accent); }
.link-btn.is-main { border-color: rgba(37,224,192,.45); background: linear-gradient(100deg, rgba(37,224,192,.14), rgba(138,125,255,.14)), var(--card); }
.link-btn.is-main:hover { border-color: var(--accent); }
.links-title { margin: 24px 0 10px; font-size: .92rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.links-social { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.links-social .link-btn { min-height: 56px; padding: 8px 14px 8px 8px; gap: 8px; }

/* Symbole fuer .ico (Maske, Farbe per currentColor) - global wiederverwendbar */
.ico-playstore { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path d=%22M4.5 2.6v18.8c0 .5.5.8.9.5l1.1-.6L15.4 12 6.5 3.7l-1.1-.6c-.4-.3-.9 0-.9.5z%22/><path d=%22M17.3 10.2 15.4 12l1.9 1.8 3.3-1.9c.7-.4.7-1.4 0-1.8z%22 opacity=%22.75%22/><path d=%22M6.5 3.7 15.4 12l1.9-1.8-9.7-5.6z%22 opacity=%22.9%22/><path d=%22m15.4 12-8.9 8.3 1.1-.6 9.7-5.9z%22 opacity=%22.6%22/></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path d=%22M4.5 2.6v18.8c0 .5.5.8.9.5l1.1-.6L15.4 12 6.5 3.7l-1.1-.6c-.4-.3-.9 0-.9.5z%22/><path d=%22M17.3 10.2 15.4 12l1.9 1.8 3.3-1.9c.7-.4.7-1.4 0-1.8z%22 opacity=%22.75%22/><path d=%22M6.5 3.7 15.4 12l1.9-1.8-9.7-5.6z%22 opacity=%22.9%22/><path d=%22m15.4 12-8.9 8.3 1.1-.6 9.7-5.9z%22 opacity=%22.6%22/></svg>"); }
.ico-globe { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><g fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.9%22 stroke-linecap=%22round%22><circle cx=%2212%22 cy=%2212%22 r=%229.2%22/><ellipse cx=%2212%22 cy=%2212%22 rx=%224%22 ry=%229.2%22/><path d=%22M3 9.5h18M3 14.5h18%22/></g></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><g fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.9%22 stroke-linecap=%22round%22><circle cx=%2212%22 cy=%2212%22 r=%229.2%22/><ellipse cx=%2212%22 cy=%2212%22 rx=%224%22 ry=%229.2%22/><path d=%22M3 9.5h18M3 14.5h18%22/></g></svg>"); }
.ico-youtube { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path fill-rule=%22evenodd%22 d=%22M7.5 4.8h9c3 0 5 2 5 5v4.4c0 3-2 5-5 5h-9c-3 0-5-2-5-5V9.8c0-3 2-5 5-5zm2.5 4.4v5.6l5-2.8z%22/></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path fill-rule=%22evenodd%22 d=%22M7.5 4.8h9c3 0 5 2 5 5v4.4c0 3-2 5-5 5h-9c-3 0-5-2-5-5V9.8c0-3 2-5 5-5zm2.5 4.4v5.6l5-2.8z%22/></svg>"); }
.ico-instagram { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><g fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22><rect x=%223%22 y=%223%22 width=%2218%22 height=%2218%22 rx=%225%22/><circle cx=%2212%22 cy=%2212%22 r=%224%22/></g><circle cx=%2217.2%22 cy=%226.8%22 r=%221.3%22/></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><g fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22><rect x=%223%22 y=%223%22 width=%2218%22 height=%2218%22 rx=%225%22/><circle cx=%2212%22 cy=%2212%22 r=%224%22/></g><circle cx=%2217.2%22 cy=%226.8%22 r=%221.3%22/></svg>"); }
.ico-tiktok { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path d=%22M14 3.5v11.2a3.7 3.7 0 1 1-3.7-3.7M14 3.5c.3 2.4 1.9 4 4.5 4.2%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.3%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path d=%22M14 3.5v11.2a3.7 3.7 0 1 1-3.7-3.7M14 3.5c.3 2.4 1.9 4 4.5 4.2%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222.3%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/></svg>"); }
.ico-facebook { -webkit-mask-image: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path d=%22M13.6 21v-8h2.7l.5-3.2h-3.2V7.9c0-.9.4-1.6 1.7-1.6h1.6V3.4c-.3 0-1.3-.2-2.4-.2-2.5 0-4.1 1.5-4.1 4.2v2.4H7.7V13h2.7v8z%22/></svg>"); mask-image: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22><path d=%22M13.6 21v-8h2.7l.5-3.2h-3.2V7.9c0-.9.4-1.6 1.7-1.6h1.6V3.4c-.3 0-1.3-.2-2.4-.2-2.5 0-4.1 1.5-4.1 4.2v2.4H7.7V13h2.7v8z%22/></svg>"); }
.links-foot { text-align: center; padding: 18px 16px 30px; }
.links-foot nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 8px; }
.links-foot a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; color: var(--text); font-size: .95rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.links-foot a:hover { color: var(--accent); }
.links-foot p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }
@media (max-width: 360px) { .links-social { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .link-btn, .link-btn:hover { transition: none; transform: none; } }
