/* Snoxi — gemeinsames Design (Startseite + Unterseiten).
   Sorbet Glas: helle Pastellflächen (Mint, Himmelblau, Flieder), Milchglas-Karten, weiche Bewegung.
   Schriften selbst gehostet (/fonts/), keine Verbindung zu Fremdservern. */
:root {
  --bg: #e6f2f2;
  --panel: rgba(255,255,255,0.64);
  --panel-2: rgba(255,255,255,0.86);
  --accent: #5b4bff;
  --accent-2: #3a86ff;
  --mint: #9ff0cf;
  --lilac: #c9b6ff;
  --sky: #b8d4ff;
  --text: #15183c;
  --muted: #4a4f7a;
  --soft: #3a3f6b;
  --border: rgba(21,24,60,0.1);
  --wrap: 1180px;
  --display: 'Unbounded', 'Sora', 'Inter', system-ui, sans-serif;
  --body: 'Instrument Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.58;
  overflow-x: hidden;
}
/* Farbfläche hinter allem: sanfter Verlauf plus zwei langsam treibende Farbwolken */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background: linear-gradient(135deg, #d8f4e8 0%, #dce9ff 46%, #ece0ff 100%);
}
body::after {
  content: ""; position: fixed; z-index: -1; pointer-events: none;
  width: 520px; height: 520px; border-radius: 50%; filter: blur(80px); opacity: .55;
  left: -140px; top: -120px; background: var(--mint);
  box-shadow: calc(100vw + 120px) calc(70vh) 0 0 var(--lilac);
  animation: drift 18s ease-in-out infinite;
}
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(60px, 40px); } }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Top-Leiste ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.topbar.scrolled {
  background: rgba(238,246,247,0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  border-bottom-color: var(--border);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.home-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s ease; }
.home-link:hover { color: var(--text); }
.home-icon { width: 32px; height: 32px; border-radius: 10px; background: var(--text); display: flex; align-items: center; justify-content: center; }
.home-icon svg { width: 16px; height: 16px; fill: #c9b6ff; }
.topnav { display: flex; gap: 2px; margin-right: 150px; }
.topnav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: color .2s ease, background .2s ease; }
.topnav a:hover, .topnav a[aria-current] { color: var(--text); background: rgba(255,255,255,0.7); }
@media (max-width: 760px) { .topnav a.opt { display: none; } .topnav { margin-right: 130px; } }
@media (max-width: 460px) { .topnav { display: none; } }
/* Sprachwahl aus i18n.js: in die Leiste einpassen */
.snoxi-lang-switcher-wrap { top: 15px !important; right: 24px !important; }
.snoxi-lang-select { background-color: rgba(255,255,255,.8) !important; border-radius: 999px !important; color: var(--soft) !important; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 70px; overflow: hidden; }
.hero-glow { display: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--soft); background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.95); border-radius: 999px; padding: 7px 15px; margin-bottom: 26px; }
.hero h1 { font-weight: 600; font-size: clamp(34px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -.035em; }
.hero h1 span { display: block; }
.hero h1 .l2 { color: var(--accent); }
.lead { max-width: 480px; font-size: 19px; line-height: 1.6; color: var(--soft); margin: 26px 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-main { background: var(--text); color: #fff; }
.btn-main:hover { background: var(--accent); box-shadow: 0 16px 34px rgba(91,75,255,.32); }
.btn-ghost { background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.95); color: var(--text); }
.btn-ghost:hover { background: #fff; box-shadow: 0 12px 28px rgba(21,24,60,.12); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--soft); }
.facts li { background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 7px 14px; border-radius: 999px; }

.hero-art { position: relative; height: min(84vh, 780px); min-height: 480px; }
.hero-art figure { position: absolute; margin: 0; border-radius: 34px; overflow: hidden; box-shadow: 0 40px 80px rgba(40,40,120,.28), 0 0 0 1px rgba(255,255,255,.6); }
.hero-art img { width: 100%; height: auto; }
.hero-art .p1 { width: min(330px, 47%); left: 4%; top: 12%; z-index: 2; animation: floaty 7s ease-in-out infinite; }
.hero-art .p2 { width: min(330px, 47%); right: 0; top: 0; transform: translateY(60px); z-index: 1; animation: floaty 8s ease-in-out -3s infinite; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.hero-chips { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-chips span { position: absolute; font-size: 13px; font-weight: 600; color: var(--text); background: rgba(255,255,255,.85); border: 1px solid #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 8px 15px; border-radius: 999px; box-shadow: 0 10px 28px rgba(40,40,120,.14); animation: floaty 6s ease-in-out infinite; }
.hero-chips span:nth-child(1) { left: -2%; top: 8%; }
.hero-chips span:nth-child(2) { right: 2%; top: 46%; animation-delay: -1.5s; }
.hero-chips span:nth-child(3) { left: 0; bottom: 14%; animation-delay: -3s; }
.hero-chips span:nth-child(4) { right: 14%; bottom: 4%; animation-delay: -4.5s; }
.hero-chips span:nth-child(5) { left: 36%; top: 2%; animation-delay: -2s; }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 96px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 520px; }
  .hero-art .p1 { width: 42%; left: 8%; } .hero-art .p2 { width: 42%; }
}
@media (max-width: 520px) { .hero-art { height: 410px; } .hero-chips span { font-size: 11px; padding: 6px 11px; } }

/* ---------- Abschnitte ---------- */
section { position: relative; }
.label { font-family: var(--display); font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.h2 { font-weight: 600; font-size: clamp(26px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -.03em; }
.body-text { color: var(--soft); font-size: 17px; line-height: 1.65; margin: 18px 0 0; max-width: 480px; }

/* Neu in 2.3.5 */
.news { padding: 40px 0 30px; }
.news-head { max-width: 760px; }
.news-lead { color: var(--soft); font-size: 18px; margin: 16px 0 0; max-width: 560px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 34px; }
.ncard { background: var(--panel); border: 1px solid rgba(255,255,255,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 24px; padding: 24px; display: grid; gap: 10px; align-content: start; transition: transform .3s ease, background .3s ease, box-shadow .3s ease; }
.ncard:hover { transform: translateY(-4px); background: var(--panel-2); box-shadow: 0 20px 44px rgba(40,40,120,.12); }
.ncard h3 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.ncard p { font-size: 14.5px; color: var(--muted); }
.ncard.priv { background: linear-gradient(135deg, rgba(159,240,207,.6), rgba(201,182,255,.6)); }
@media (min-width: 1000px) { .ncard.priv { grid-column: span 2; } }

.inside { padding: 60px 0 40px; }
.inside-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inside-grid article { background: var(--panel); border: 1px solid rgba(255,255,255,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 28px; padding: 36px 34px 40px; }
.inside-grid h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.inside-grid p.body-text { margin-top: 12px; font-size: 16px; }
@media (max-width: 760px) { .inside-grid { grid-template-columns: 1fr; } .inside-grid article { padding: 28px 24px 32px; } }

.show { padding: 80px 0; }
.show-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.show.rev .show-text { order: 2; }
.show-poster { position: relative; display: flex; justify-content: center; }
.show-poster::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 40px; filter: blur(60px); opacity: .6; background: var(--glow, #9ff0cf); }
.show-poster figure { position: relative; margin: 0; width: min(350px, 78%); border-radius: 34px; overflow: hidden; box-shadow: 0 36px 80px rgba(40,40,120,.26), 0 0 0 1px rgba(255,255,255,.6); }
.show-poster img { width: 100%; height: auto; }
.show-text .h2 { max-width: 14ch; }
@media (max-width: 860px) {
  .show { padding: 52px 0; }
  .show-grid { grid-template-columns: 1fr; gap: 34px; }
  .show.rev .show-text { order: 0; }
  .show-text .h2 { max-width: none; }
}

.why { padding: 30px 0 90px; }
.why-box { background: var(--panel); border: 1px solid rgba(255,255,255,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 30px; padding: 44px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; }
.why-box p { margin: 0; font-size: 20px; line-height: 1.6; color: var(--soft); max-width: 640px; }
.why-box p.label { font-size: 11px; line-height: 1.4; max-width: none; }
@media (max-width: 760px) { .why-box { grid-template-columns: 1fr; gap: 14px; padding: 30px 24px; } .why-box p { font-size: 18px; } }

.get { padding: 80px 0 90px; }
.get-grid { background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(255,255,255,.4)); border: 1px solid #fff; border-radius: 36px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.get .h2 { font-size: clamp(30px, 5vw, 60px); }
.get-sub { color: var(--soft); font-size: 18px; margin: 18px 0 0; max-width: 440px; }
.get-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.get-actions .btn { min-width: 270px; }
.get-actions .alt { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.get-actions .alt a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--border); padding-bottom: 2px; transition: color .2s ease, border-color .2s ease; }
.get-actions .alt a:hover { color: var(--text); border-color: var(--text); }
.note { margin: 30px 0 0; font-size: 14px; color: var(--muted); max-width: 560px; }
.note strong { color: var(--text); font-weight: 600; }
.note a, footer a { color: var(--soft); text-underline-offset: 3px; }
.note a:hover, footer a:hover { color: var(--accent); }
@media (max-width: 760px) { .get-grid { grid-template-columns: 1fr; gap: 28px; } }

footer { border-top: 1px solid var(--border); padding: 30px 0 40px; font-size: 13px; color: var(--muted); background: rgba(255,255,255,.35); }
.foot-inner { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { text-decoration: none; }

/* ---------- Texte (Anleitung, Datenschutz, Impressum) ---------- */
.doc { padding: 130px 0 90px; }
.doc .wrap { max-width: 840px; }
.doc .back { display: inline-block; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 30px; }
.doc .back:hover { color: var(--text); }
.doc h1 { font-weight: 600; font-size: clamp(30px, 5vw, 52px); line-height: 1.06; letter-spacing: -.035em; }
.doc .tagline { color: var(--soft); font-size: 18px; margin: 18px 0 0; max-width: 600px; }
.doc h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 54px 0 12px; padding-top: 30px; border-top: 1px solid var(--border); }
.doc h3 { font-size: 17px; font-weight: 600; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--soft); font-size: 16px; line-height: 1.7; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { color: var(--accent); text-underline-offset: 3px; }
.doc a:hover { color: var(--text); }
.doc code { background: rgba(255,255,255,.8); padding: 2px 6px; border-radius: 6px; font-size: .92em; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Einblenden beim Scrollen (nur wenn site.js läuft) ---------- */
html.anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
html.anim .reveal.in { opacity: 1; transform: none; }

/* ---------- Anleitung: Schritte ---------- */
.doc .req { background: var(--panel); border: 1px solid rgba(255,255,255,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 22px; padding: 8px 26px 14px; margin: 34px 0 10px; }
.doc .req h2 { border: 0; padding-top: 0; margin: 18px 0 8px; font-size: 17px; }
.doc section { margin-top: 6px; }
.doc .step-title { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; border-top: 1px solid var(--border); padding-top: 30px; margin: 36px 0 10px; font-size: 20px; }
.doc .step-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-family: var(--display); font-size: 14px; font-weight: 600; }
.doc .step-body { padding-left: 48px; }
.doc .pro-note { display: inline-block; border: 1px solid rgba(91,75,255,.4); color: var(--accent); background: rgba(255,255,255,.6); border-radius: 999px; padding: 2px 12px; font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .02em; margin: 4px 0; }
.doc .new-note { display: inline-block; background: linear-gradient(135deg, var(--mint), var(--lilac)); color: var(--text); border-radius: 999px; padding: 3px 12px; font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.doc .stand { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.doc .tip { margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: var(--panel); border: 1px solid rgba(255,255,255,.95); font-size: 15px; }
@media (max-width: 560px) { .doc .step-body { padding-left: 0; } }

/* Kontaktformular (aus i18n.js) an das Design anpassen */
.snoxi-contact-panel { background: var(--panel) !important; border: 1px solid rgba(255,255,255,.95) !important; border-radius: 22px !important; margin-top: 54px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.snoxi-contact-form input, .snoxi-contact-form textarea { background: rgba(255,255,255,.9) !important; border-color: var(--border) !important; }
.snoxi-contact-form button { color: #fff !important; background: var(--text) !important; border-radius: 999px !important; padding: 12px 26px !important; }
.snoxi-contact-form button:hover { background: var(--accent) !important; }
.snoxi-contact-success { background: rgba(159,240,207,.4) !important; border-color: rgba(31,181,160,.4) !important; color: var(--text) !important; }

/* ---------- Screenshots-Reihe (neue Poster) ---------- */
.shots { padding: 10px 0 30px; }
.shots-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.shots figure { margin: 0; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 70px rgba(40,40,120,.24), 0 0 0 1px rgba(255,255,255,.6); }
.shots img { width: 100%; height: auto; }
@media (max-width: 760px) { .shots-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; } }
.shots .shot-link { display: block; }
