/* ============================================================
   App kreativ-digital — Website Design-System
   Marken-Palette + Layout. Eine Quelle für alle Seiten.
   Schriftfamilie: DM Serif Display (Headlines) + DM Sans (Text)
   ============================================================ */

:root {
  /* Markenfarben (kreativ-digital) */
  --brand:        #5a3fc0;   /* Primär: kreatives Violett */
  --brand-dark:   #43309a;
  --brand-mid:    #6f54d6;
  --brand-pale:   #f1edfb;
  --brand-pale2:  #e6def8;
  --accent:       #ff6b5b;   /* Warmes Korall als Akzent */
  --accent-dark:  #e8513f;

  --cream:    #faf8f5;
  --white:    #ffffff;
  --ink:      #1a1714;
  --muted:    #6b6560;
  --border:   #e7e2dc;
  --radius:   16px;
  --radius-s: 10px;
  --shadow:   0 10px 40px rgba(40, 24, 90, .10);
  --shadow-s: 0 4px 18px rgba(40, 24, 90, .08);
  --maxw:     1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { color: #3a3530; }
a  { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section   { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.eyebrow--light { color: rgba(255,255,255,.75); }

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px;
  border-radius: 99px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 600;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .12s, box-shadow .15s, background .15s, color .15s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(90,63,192,.30); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-accent  { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(255,107,91,.32); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand-pale2); }
.btn-ghost:hover { background: var(--brand-pale); }
.btn-lg { padding: 16px 32px; font-size: 1.07rem; }

/* ── Header / Navigation ───────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(250,248,245,.86);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; gap: 18px;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'DM Serif Display', serif; font-size: 1.2rem; color: var(--ink);
  text-decoration: none; flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center; color: #fff; font-size: 19px; font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  box-shadow: var(--shadow-s);
}
.brand b { font-weight: 400; }
.brand span { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  color: #443f3a; font-size: .95rem; font-weight: 500;
  padding: 8px 12px; border-radius: 8px; text-decoration: none;
}
.nav-links a:hover { background: var(--brand-pale); color: var(--brand-dark); }
.nav-links a.active { color: var(--brand-dark); background: var(--brand-pale); }
.nav-cta { margin-left: 6px; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--white); cursor: pointer; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream); border-bottom: 1px solid var(--border);
    padding: 12px 16px 18px; margin-left: 0;
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 1.05rem; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ── Hero ──────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--brand-dark) 0%, var(--brand) 55%, var(--brand-mid) 100%);
  color: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .9;
  background:
    radial-gradient(540px 360px at 88% 8%, rgba(255,107,91,.34), transparent 60%),
    radial-gradient(420px 320px at 6% 92%, rgba(255,255,255,.10), transparent 60%);
}
.hero-inner { position: relative; padding: 84px 0 92px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: #ffd9d2; }
.hero p { color: rgba(255,255,255,.9); font-size: 1.18rem; margin-top: 18px; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { margin-top: 20px; font-size: .92rem; color: rgba(255,255,255,.72); }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-inner { padding: 58px 0 64px; }
}

/* Telefon-Mockup im Hero */
.phone {
  width: 280px; max-width: 78vw; margin: 0 auto;
  border-radius: 36px; background: #15121f;
  padding: 12px; box-shadow: 0 30px 70px rgba(0,0,0,.4);
}
.phone-screen { border-radius: 26px; overflow: hidden; background: var(--white); }
.phone-bar {
  background: var(--white); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px; padding: 12px 12px;
}
.phone-bar .dot { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg,var(--brand),var(--accent)); }
.phone-bar small { font-family: 'DM Serif Display', serif; color: var(--ink); font-size: 14px; }
.phone-hero { background: var(--brand); color: #fff; padding: 20px 16px; }
.phone-hero .lbl { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.phone-hero .ttl { font-family: 'DM Serif Display', serif; font-size: 19px; margin-top: 4px; }
.phone-card { border-bottom: 3px solid var(--border); }
.phone-card .img { height: 92px; background: linear-gradient(135deg,var(--brand-mid),var(--accent)); }
.phone-card .meta { padding: 10px 14px; border-left: 4px solid var(--brand); }
.phone-card .meta b { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 15px; }
.phone-card .meta i { font-style: normal; color: var(--muted); font-size: 12px; display: block; }

/* ── Section helpers ───────────────────────── */
.section-head { max-width: 64ch; }
.section--alt { background: var(--white); }
.section--brand { background: var(--brand); color: #fff; }
.section--brand h2, .section--brand p { color: #fff; }

/* ── Karten-/Feature-Grid ──────────────────── */
.grid { display: grid; gap: 22px; margin-top: 40px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-s); transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }
.card-ico {
  width: 50px; height: 50px; border-radius: 13px; margin-bottom: 16px;
  background: var(--brand-pale); color: var(--brand);
  display: grid; place-items: center;
}
.card-ico svg { width: 26px; height: 26px; }
.card--accent .card-ico { background: #fff0ee; color: var(--accent-dark); }

/* ── Steps ─────────────────────────────────── */
.steps { counter-reset: step; display: grid; gap: 18px; margin-top: 40px; }
.steps.grid-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px){ .steps.grid-2 { grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 24px 24px 70px; box-shadow: var(--shadow-s);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 20px; top: 22px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 1rem;
  display: grid; place-items: center;
}
.step h3 { margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .97rem; }

/* ── CTA-Band ──────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand) 60%, var(--accent) 160%);
  color: #fff; border-radius: 22px; padding: 48px 40px; text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 52ch; margin: 12px auto 0; }
.cta-band .btn { margin-top: 26px; }

/* ── Checkliste ────────────────────────────── */
.checklist { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.checklist li { position: relative; padding-left: 34px; color: #3a3530; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235a3fc0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ── FAQ (details/summary) ─────────────────── */
.faq { margin-top: 36px; display: grid; gap: 12px; }
.faq details {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-s); padding: 4px 20px; box-shadow: var(--shadow-s);
}
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 0;
  font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* ── Formular ──────────────────────────────── */
.form { display: grid; gap: 16px; max-width: 640px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-s);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-pale);
}
.field textarea { min-height: 130px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px){ .row-2 { grid-template-columns: 1fr; } }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check-line input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: var(--radius-s); font-size: .95rem; margin-bottom: 18px; }
.alert-ok  { background: #e9f7ed; color: #1f7a3d; border: 1px solid #bfe6cb; }
.alert-err { background: #fdeceb; color: #b3261e; border: 1px solid #f5c6c2; }

/* ── Footer ────────────────────────────────── */
.site-footer { background: #211b2e; color: #cfc8da; padding: 56px 0 28px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: 'DM Sans', sans-serif; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #9b91ad; margin-bottom: 14px; }
.site-footer a { color: #cfc8da; font-size: .95rem; display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: #9b91ad; font-size: .92rem; margin-top: 12px; max-width: 34ch; }
.footer-bottom { border-top: 1px solid #382f4a; margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #9b91ad; }
.footer-bottom a { display: inline; color: #9b91ad; }

/* ── Utilities ─────────────────────────────── */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 14px; }
.mt-2 { margin-top: 28px; }
.tag { display: inline-block; background: var(--brand-pale); color: var(--brand-dark); font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: 99px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; gap: 28px; } }


/* ════════════════════════════════════════════════════════════
   ENHANCEMENT LAYER — premium polish (additive, 2026)
   Motion is transform/opacity only and fully disabled under
   prefers-reduced-motion. Safe to remove for a baseline look.
   ════════════════════════════════════════════════════════════ */

:root {
  --ease:        cubic-bezier(.22, .61, .36, 1);
  --ease-out:    cubic-bezier(.16, 1, .3, 1);
  --shadow-xl:   0 30px 80px -20px rgba(40, 24, 90, .35);
  --ring:        0 0 0 3px var(--brand-pale);
  --grad-brand:  linear-gradient(120deg, var(--brand-dark), var(--brand) 45%, var(--accent) 120%);
}

::selection { background: var(--brand); color: #fff; }
.hero ::selection { background: rgba(255,255,255,.85); color: var(--brand-dark); }

/* Headline refinement */
h1, h2 { letter-spacing: -.012em; }
.lead { line-height: 1.55; }

/* Gradient text helper */
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Eyebrow with a leading rule */
.eyebrow { position: relative; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before {
  content: ''; width: 26px; height: 2px; border-radius: 2px;
  background: currentColor; opacity: .5;
}
.center .eyebrow { display: inline-flex; }

/* Accessible focus ring everywhere */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px;
}
.hero a:focus-visible { outline-color: #fff; }

/* ── Sticky header: lift on scroll ─────────── */
.site-header { transition: box-shadow .25s var(--ease), background .25s; }
.site-header.scrolled {
  background: rgba(250,248,245,.94);
  box-shadow: 0 6px 28px -12px rgba(40,24,90,.28);
}
.brand-mark { transition: transform .35s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }

/* ── Buttons: depth + sheen sweep ──────────── */
.btn { position: relative; overflow: hidden; will-change: transform; }
.btn::after {
  content: ''; position: absolute; top: 0; left: -130%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease); pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(90,63,192,.42); }
.btn-accent:hover  { box-shadow: 0 14px 34px rgba(255,107,91,.44); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { letter-spacing: .005em; }

/* ── Hero: living aurora + grain ───────────── */
.hero::after {
  content: ''; position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 50% at 18% 20%, rgba(255,107,91,.30), transparent 70%),
    radial-gradient(34% 48% at 85% 78%, rgba(122,208,160,.18), transparent 70%),
    radial-gradient(40% 55% at 60% 10%, rgba(184,166,255,.30), transparent 72%);
  filter: blur(8px); opacity: .9;
  animation: auroraDrift 22s var(--ease) infinite alternate;
}
@keyframes auroraDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(2%, -2%, 0) scale(1.06); }
  100% { transform: translate3d(-2%, 1%, 0) scale(1.03); }
}
/* subtle film grain so the gradient never bands */
.hero-inner { position: relative; z-index: 1; }
.hero > .container::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero h1 em { position: relative; }
.hero p, .hero-actions, .hero-note { position: relative; }

/* Floating phone + halo + orbiting chips */
.hero .phone {
  position: relative;
  animation: floatY 6s ease-in-out infinite;
}
.hero .phone::before {
  content: ''; position: absolute; inset: -26px -26px -40px; z-index: -1; border-radius: 50px;
  background: radial-gradient(60% 55% at 50% 45%, rgba(255,107,91,.45), transparent 70%);
  filter: blur(26px);
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}

/* ── Cards: gradient accent + richer lift ──── */
.card { position: relative; overflow: hidden; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s; }
.card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--brand-pale2); }
.card:hover::before { transform: scaleX(1); }
.card-ico { transition: transform .3s var(--ease-out), background .3s; }
.card:hover .card-ico { transform: translateY(-2px) rotate(-6deg) scale(1.06); }
.card--accent::before { background: linear-gradient(120deg, var(--accent), var(--accent-dark)); }

/* ── Steps: connector rail + gradient badge ── */
.step { transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step::before {
  background: var(--grad-brand); box-shadow: 0 6px 16px rgba(90,63,192,.35);
}
.step::after {
  content: ''; position: absolute; left: 37px; top: 58px; bottom: -18px; width: 2px;
  background: linear-gradient(var(--brand-pale2), transparent);
}
.steps .step:last-child::after { display: none; }
@media (max-width: 600px){ .step::after { display: none; } }

/* ── CTA band: breathing gradient + glow ───── */
.cta-band { position: relative; overflow: hidden; background-size: 160% 160%; animation: ctaShift 14s ease infinite; }
.cta-band::before {
  content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  right: -90px; top: -120px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
}
.cta-band > * { position: relative; }
@keyframes ctaShift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

/* ── Tag / pill polish ─────────────────────── */
.tag { box-shadow: inset 0 0 0 1px var(--brand-pale2); }

/* ── Stats band ────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
@media (max-width: 720px){ .stats { grid-template-columns: 1fr 1fr; gap: 14px; } }
.stat {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; box-shadow: var(--shadow-s);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat b {
  display: block; font-family: 'DM Serif Display', serif; font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: .92rem; font-weight: 500; }

/* ── Footer: top hairline glow ─────────────── */
.site-footer { position: relative; }
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--accent), transparent);
  opacity: .6;
}

/* ── Scroll-reveal ─────────────────────────── */
/* Only armed when JS adds .js to <html>; without JS everything stays visible. */
.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--d, 0ms); will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ── Custom scrollbar (subtle) ─────────────── */
@supports (scrollbar-color: auto) {
  html { scrollbar-color: var(--brand-pale2) transparent; }
}

/* ── Respect reduced motion ────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero::after, .hero .phone { animation: none !important; }
}


/* ════════════════════════════════════════════════════════════
   NAVIGATE-UNIVERSUM — FAMILY LAYER (2026-06-25)
   Kreativ-digital ist eine *Galaxie* im NAVIGATE-Universum.
   Geteilte DNA mit der Mutter-Site (navigate-universum.de):
   Barlow-Condensed-Display-Stimme, kosmisches Sternenfeld,
   Glas + farbiges Glow — alles im Violett der Galaxie kreativ-digital.
   ════════════════════════════════════════════════════════════ */

:root {
  --font-cond: 'Barlow Condensed', 'DM Sans', sans-serif;
  --glow-brand:  0 6px 44px rgba(90,63,192,.42);
  --glow-accent: 0 6px 44px rgba(255,107,91,.40);
  --glass-bg: rgba(255,255,255,.08);
  --glass-bd: rgba(255,255,255,.16);
  --cosmos:  #160f38;   /* tiefes Indigo — Brücke Violett ↔ NAVIGATE-Navy */
  --cosmos2: #241656;
}

/* ── Condensed Display-Stimme (Familien-Signatur) ── */
.eyebrow { font-family: var(--font-cond); font-weight: 600; font-size: .85rem; letter-spacing: .2em; }
.nav-links a { font-family: var(--font-cond); font-weight: 600; font-size: 1.06rem; letter-spacing: .01em; }
.btn { font-family: var(--font-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .045em; font-size: 1.04rem; }
.btn-lg { font-size: 1.14rem; }
.tag { font-family: var(--font-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.stat b { font-family: var(--font-cond); font-weight: 800; }
.step::before { font-family: var(--font-cond); font-weight: 700; }
.site-footer h4 { font-family: var(--font-cond); }

/* ── Kosmischer Hero: Sternenfeld über Violett-Verlauf ── */
.hero {
  background-color: var(--cosmos);
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1.5px 1.5px at 27% 67%, rgba(255,255,255,.65), transparent 60%),
    radial-gradient(2px 2px   at 42% 16%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(1px 1px   at 58% 78%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 73% 31%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(1px 1px   at 84% 61%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(2px 2px   at 91% 13%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1px 1px   at 6% 49%,  rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 35% 88%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px   at 64% 8%,  rgba(255,255,255,.65), transparent 60%),
    radial-gradient(1px 1px   at 49% 52%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(2px 2px   at 18% 80%, rgba(255,255,255,.8), transparent 60%),
    linear-gradient(165deg, var(--cosmos) 0%, var(--brand-dark) 50%, var(--brand) 100%);
}

/* ── Kosmos-Band (Familien-Connector) ── */
.cosmos {
  position: relative; overflow: hidden;
  background-color: var(--cosmos);
  background-image:
    radial-gradient(1.5px 1.5px at 15% 20%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px   at 32% 70%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(2px 2px   at 55% 30%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px   at 78% 65%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 25%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(1px 1px   at 45% 85%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(900px 520px at 85% 18%, rgba(111,84,214,.45), transparent 62%),
    radial-gradient(720px 520px at 8% 92%, rgba(255,107,91,.18), transparent 60%);
  color: #eef4ff;
}
.cosmos .eyebrow { color: #b8a6ff; }
.cosmos h2, .cosmos h3 { color: #fff; }
.cosmos p { color: #d6cdf2; }
.cosmos a:not(.btn) { color: #ffd9d2; }
.cosmos__galaxy {
  position: absolute; right: -90px; top: -70px; width: 460px; max-width: 60%;
  opacity: .5; pointer-events: none; z-index: 0;
  animation: spin 120s linear infinite;
}
.cosmos .container { position: relative; z-index: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Glas-Karten (Glassmorphism wie im Universum) ── */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  border-radius: var(--rlg, 20px);
  padding: 28px 26px;
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  box-shadow: 0 14px 44px rgba(0,0,0,.28);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s;
}
.glass:hover { transform: translateY(-5px); border-color: rgba(184,166,255,.5); box-shadow: 0 18px 54px rgba(0,0,0,.36); }
.glass .gi {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-mid), var(--accent));
  box-shadow: var(--glow-brand);
}
.glass .gi svg { width: 26px; height: 26px; color: #fff; }
.glass h3 { font-family: 'DM Serif Display', serif; font-weight: 400; margin-bottom: 6px; }
.glass p  { color: #cfc6ee; font-size: .97rem; }
.cosmos .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cosmos .btn-ghost:hover { background: rgba(255,255,255,.08); }

/* Universums-Hinweis im Footer */
.footer-universe {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-family: var(--font-cond); font-weight: 600; letter-spacing: .04em;
  color: #b8a6ff !important; font-size: .98rem;
}
.footer-universe:hover { color: #fff !important; }
.footer-universe svg { width: 18px; height: 18px; }

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