/* ============================================================
   Luminel AI — styles.css
   Light, warm, luminous. Mobile-first.
   ============================================================ */

:root {
  /* Canvas & ink */
  --bg:        #faf8f4;   /* warm off-white */
  --bg-2:      #f3efe8;   /* soft warm section tint */
  --surface:   #ffffff;
  --ink:       #1a1622;   /* warm near-black */
  --ink-soft:  #4c4757;
  --ink-faint: #8b8698;
  --line:      #e9e3d9;

  /* Brand: violet -> amber "sunrise" */
  --violet:    #6d5cff;
  --violet-dk: #5a45f0;
  --amber:     #ff9e5e;
  --grad:      linear-gradient(120deg, #7b62ff 0%, #b268ff 45%, #ff9e5e 100%);
  --grad-soft: linear-gradient(120deg, #7b62ff, #ff9e5e);

  /* States */
  --loss:      #e5544e;
  --loss-soft: #fbe4e2;
  --ok:        #1f9d76;

  /* Effects */
  --radius:    20px;
  --radius-sm: 12px;
  --shadow:    0 1px 2px rgba(26,22,34,.04), 0 12px 34px -18px rgba(26,22,34,.22);
  --shadow-lg: 0 30px 70px -30px rgba(90,69,240,.35);
  --ring:      0 0 0 4px rgba(109,92,255,.18);

  --container: 1140px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px; /* offset for sticky header */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name { font-family: "Sora", system-ui, sans-serif; line-height: 1.08; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; border-radius: 100px;
  padding: 12px 22px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap; cursor: pointer;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  color: #fff; background: var(--violet);
  background-image: var(--grad-soft);
  box-shadow: 0 10px 26px -10px rgba(109,92,255,.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(109,92,255,.75); }
.btn-primary:active { transform: translateY(0); }
.btn-arrow { transition: transform .25s var(--ease); }
.btn-primary:hover .btn-arrow { transform: translateX(3px); }

.btn-ghost {
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: #d8d0c2; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,244,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -20px rgba(26,22,34,.5); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 700; }
.brand-mark { display: inline-flex; filter: drop-shadow(0 6px 12px rgba(109,92,255,.30)); }
.brand-inf {
  display: block; width: 46px; height: 20px;
  background: center / contain no-repeat url("logo-inf.png");
}
/* stacked lockup: infinity mark above the wordmark */
.brand .brand-inf { width: 44px; height: 19px; }
.brand-inf--white { background-image: url("logo-inf-white.png"); }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: -.01em; line-height: 1; }
.brand-dot { color: var(--amber); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a:not(.btn) {
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 4px 0; transition: color .2s;
}
.nav-links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--grad-soft); border-radius: 2px; transition: width .25s var(--ease);
}
.nav-links > a:not(.btn):hover { color: var(--ink); }
.nav-links > a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Shared section ---------- */
.section { padding: 96px 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 5vw, 46px); font-weight: 700; margin-bottom: 16px; }
.section-lead { font-size: clamp(16px, 2vw, 19px); color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--violet); background: rgba(109,92,255,.09);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 20px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--grad-soft); }
.eyebrow-warn { color: var(--loss); background: var(--loss-soft); }
.eyebrow-warn .eyebrow-dot { background: var(--loss); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .wire, .core-pulse { animation: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% 0 auto 0; height: 620px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(520px 340px at 22% 18%, rgba(123,98,255,.28), transparent 70%),
    radial-gradient(520px 360px at 82% 8%, rgba(255,158,94,.24), transparent 70%);
  filter: blur(6px);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-title { font-size: clamp(38px, 8vw, 66px); font-weight: 800; margin-bottom: 22px; }
.hero-sub { font-size: clamp(16px, 2.4vw, 20px); color: var(--ink-soft); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero-trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 20px;
  font-size: 14px; color: var(--ink-faint); font-weight: 500;
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: "✓"; color: var(--ok); font-weight: 700; }

/* Hero visual / flowboard: chaos in -> KI -> structure out */
.hero-visual { width: 100%; }
.flowboard {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 36px 26px; overflow: hidden;
}
/* animated wires: each input converges into the centre, one clean output leaves right */
.flow-wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.wire {
  fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke;
  stroke-dasharray: 3 6; stroke-linecap: round;
  animation: wireflow 1.1s linear infinite;
}
.wire-in { stroke: var(--violet); opacity: .3; }
.wire-out { stroke: var(--amber); opacity: .42; }
@keyframes wireflow { to { stroke-dashoffset: -18; } }

.flow-grid {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
/* vertical order: structured output on top, system in the middle, chaos fanning in at the bottom */
.flow-out  { order: 1; width: 100%; display: flex; justify-content: center; }
.flow-core { order: 2; }
.flow-in   { order: 3; width: 100%; margin-top: 26px; }

/* chaotic incoming cluster – fans out across the bottom */
.chaos { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.cchip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 7px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  box-shadow: 0 5px 12px -7px rgba(26,22,34,.35); white-space: nowrap;
}
.cc-ic { opacity: .65; }
/* Kacheln bewusst schräg/versetzt = „Chaos rein". Am Handy zurückgesetzt (weiter unten). */
.cc1 { transform: rotate(-5deg) translateX(-9px); }
.cc2 { transform: rotate(4deg)  translateX(11px); }
.cc3 { transform: rotate(-2deg) translateX(-3px); }
.cc4 { transform: rotate(5deg)  translateX(7px); }
.cc5 { transform: rotate(-4deg) translateX(-11px); }
.cc6 { transform: rotate(3deg)  translateX(9px); }
.cc7 { transform: rotate(-3deg) translateX(-6px); }
.cc8 { transform: rotate(5deg)  translateX(6px); }
.cc9 { transform: rotate(-4deg) translateX(-10px); }

/* core */
.flow-core { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 2; padding: 0 2px; }
.core-orb {
  width: 90px; height: 90px; border-radius: 26px; background-image: var(--grad-soft);
  display: grid; place-items: center; box-shadow: 0 18px 40px -12px rgba(109,92,255,.7);
  position: relative; z-index: 2;
}
.core-orb .brand-inf { width: 54px; height: 23px; }
.core-pulse {
  position: absolute; inset: 0; border-radius: 26px;
  border: 2px solid var(--violet); opacity: .5; z-index: 1;
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 70% { transform: scale(1.55); opacity: 0; } 100% { opacity: 0; } }

/* tidy, sorted output */
.tidy {
  background: var(--surface); border: 1px solid rgba(31,157,118,.28); border-radius: 14px;
  padding: 9px; display: flex; flex-direction: column; gap: 5px;
  box-shadow: 0 12px 26px -16px rgba(31,157,118,.55);
}
.trow {
  display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #14795a;
  background: rgba(31,157,118,.07); border-radius: 8px; padding: 7px 9px; line-height: 1.25;
}
.tcheck {
  flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ok); color: #fff; font-size: 9.5px; font-weight: 800;
}
.flowboard-caption { text-align: center; font-size: 13.5px; color: var(--ink-faint); margin-top: 16px; }

/* ============================================================
   PROBLEM / STATS
   ============================================================ */
.problem { background: var(--bg-2); }
.stat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.stat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.stat-ring { position: relative; width: 128px; height: 128px; }
.stat-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--line); stroke-width: 9; }
.ring-fg {
  fill: none; stroke: url(#ringgrad); stroke: var(--violet); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 326.7; stroke-dashoffset: 326.7; /* 2*pi*52 */
  transition: stroke-dashoffset 1.4s var(--ease);
}
.stat-num {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  line-height: 1; font-family: "Sora", sans-serif; font-weight: 800; font-size: 32px; color: var(--ink);
}
.stat-num em { font-style: normal; font-size: 20px; margin-left: 1px; color: var(--ink-soft); align-self: center; }
.stat-text { font-size: 15px; color: var(--ink-soft); line-height: 1.5; max-width: 240px; }
.stat-src { font-size: 11.5px; color: var(--ink-faint); margin-top: auto; }

.calc {
  margin-top: 26px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(120deg, rgba(123,98,255,.1), rgba(255,158,94,.12));
  border: 1px solid rgba(123,98,255,.22);
}
.calc-body { padding: 30px 28px; text-align: center; }
.calc-label { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); margin-bottom: 12px; }
.calc-line {
  font-family: "Sora", sans-serif; font-size: clamp(18px, 3.2vw, 26px); font-weight: 600;
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; line-height: 1.3;
}
.calc-a { color: var(--loss); display: inline-block; min-width: 1.4em; text-align: center; font-variant-numeric: tabular-nums; }
.calc-b { color: var(--violet-dk); font-weight: 800; display: inline-block; min-width: 3.4em; text-align: center; font-variant-numeric: tabular-nums; }
.calc-arrow { color: var(--ink-faint); }
.calc-note { display: block; font-family: "Inter", sans-serif; font-size: 13px; font-weight: 400; color: var(--ink-faint); margin-top: 14px; }

/* ============================================================
   SERVICES
   ============================================================ */
.service-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.service-card {
  position: relative; text-align: left; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); overflow: hidden; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column; gap: 12px;
}
.svc-more { cursor: pointer; }
.service-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(120deg, rgba(123,98,255,.06), rgba(255,158,94,.06));
  transition: opacity .3s;
}
.service-card:hover, .service-card:focus-visible {
  transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(123,98,255,.35);
  outline: none;
}
.service-card:hover::before { opacity: 1; }
.svc-icon {
  position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; color: var(--violet);
  background: rgba(109,92,255,.1); transition: background .3s, color .3s, transform .3s;
}
.service-card:hover .svc-icon { color: #fff; background-image: var(--grad-soft); transform: scale(1.05); }
.svc-title { position: relative; z-index: 1; font-size: 20px; font-weight: 700; }
.svc-teaser { position: relative; z-index: 1; font-size: 15px; color: var(--ink-soft); }
.svc-foot {
  position: relative; z-index: 1; margin-top: auto; padding-top: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line);
}
.svc-price { font-family: "Sora", sans-serif; color: var(--ink); display: flex; flex-direction: column; gap: 3px; }
.price-once { font-weight: 700; font-size: 16px; }
.price-once em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--ink-faint); }
.price-mo { font-weight: 600; font-size: 13px; color: var(--violet-dk); }
.price-mo sup { font-size: 10px; top: -.4em; }
.svc-more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--violet); white-space: nowrap; align-self: flex-end; }
.svc-plus {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(109,92,255,.12); font-size: 18px; line-height: 1; transition: transform .3s, background .3s, color .3s;
}
.service-card:hover .svc-plus { transform: rotate(90deg); background-image: var(--grad-soft); color: #fff; }

.services-note {
  margin-top: 30px; display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px dashed rgba(123,98,255,.4);
  border-radius: var(--radius); padding: 22px 26px;
}
.note-spark { font-size: 26px; color: var(--violet); line-height: 1; align-self: flex-start; margin-top: 2px; }
.note-text { display: flex; flex-direction: column; gap: 8px; }
.services-note p { font-size: 15.5px; color: var(--ink-soft); }
.note-grow { font-size: 14.5px; color: var(--ink-faint); }
.price-footnote { margin-top: 16px; font-size: 12.5px; color: var(--ink-faint); text-align: center; line-height: 1.5; }
.price-footnote span { display: block; }
.price-footnote-tax { margin-top: 6px; }
.price-footnote sup, .svc-price sup { color: var(--violet-dk); font-weight: 700; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg-2); overflow: hidden; }
.about-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 80% 20%, rgba(255,158,94,.14), transparent 70%),
              radial-gradient(600px 340px at 10% 90%, rgba(123,98,255,.14), transparent 70%);
}
.about-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; text-align: center; }
.about-inner h2 { font-size: clamp(28px, 5vw, 44px); margin-bottom: 22px; }
.about-text { font-size: clamp(16px, 2.2vw, 19px); color: var(--ink-soft); line-height: 1.7; }
.about-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.pill {
  font-size: 14px; font-weight: 600; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  padding: 9px 18px; border-radius: 100px; box-shadow: var(--shadow);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.contact-copy h2 { font-size: clamp(28px, 5vw, 44px); margin-bottom: 16px; }
.contact-benefits { list-style: none; margin: 26px 0; display: flex; flex-direction: column; gap: 14px; }
.contact-benefits li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--ink-soft); }
.cb-ic {
  flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(31,157,118,.12); color: var(--ok); font-weight: 700; font-size: 13px; margin-top: 1px;
}
.cal-cta {
  display: flex; align-items: flex-start; gap: 14px; margin-top: 6px;
  padding: 18px 20px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft);
}
.cal-cta .cal-ic { font-size: 24px; line-height: 1.15; }
.cal-cta-body { display: flex; flex-direction: column; gap: 4px; }
.cal-cta-body strong { font-size: 15px; color: var(--ink); }
.cal-cta-body small { color: var(--ink-faint); font-size: 13.5px; line-height: 1.5; }
.cal-cta-btn { align-self: flex-start; margin-top: 12px; }

.contact-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px;
}
.form-head {
  display: flex; flex-direction: column; gap: 5px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.form-title { font-size: 20px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.form-sub { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: var(--ring); background: var(--surface); }
.field input.invalid, .field textarea.invalid { border-color: var(--loss); box-shadow: 0 0 0 4px rgba(229,84,78,.14); }

.checkbox { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.checkbox input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--violet); flex: none; }
.checkbox a { color: var(--violet); text-decoration: underline; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 14.5px; font-weight: 600; min-height: 1em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--loss); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #14111c; color: #cfc9dc; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-claim { font-size: 14.5px; color: #a49dba; max-width: 320px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav-title { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #837c98; margin-bottom: 4px; }
.footer-nav a { font-size: 15px; color: #cfc9dc; transition: color .2s; width: fit-content; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 13px; color: #837c98;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 300; display: none; }
.modal.open { display: block; }
.modal-overlay { position: absolute; inset: 0; background: rgba(20,17,28,.55); backdrop-filter: blur(4px); animation: fade .25s var(--ease); }
.modal-dialog {
  position: relative; max-width: 640px; width: calc(100% - 36px); max-height: 88vh; overflow-y: auto;
  margin: 6vh auto 0; background: var(--surface); border-radius: 24px;
  box-shadow: 0 40px 90px -30px rgba(20,17,28,.6); padding: 38px 34px;
  animation: pop .32s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink-soft); background: var(--bg-2); transition: background .2s, color .2s, transform .2s;
}
.modal-close:hover { background: var(--loss-soft); color: var(--loss); transform: rotate(90deg); }

.m-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; color: #fff; background-image: var(--grad-soft); margin-bottom: 18px; box-shadow: 0 14px 30px -12px rgba(109,92,255,.6); }
.m-title { font-size: 27px; font-weight: 700; margin-bottom: 12px; }
.m-desc { font-size: 16px; color: var(--ink-soft); margin-bottom: 26px; }
.m-subhead { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); margin-bottom: 16px; }

/* flow steps in modal */
.m-flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin-bottom: 28px; }
.m-step {
  flex: 1 1 120px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.m-step-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--violet); font-size: 18px; }
.m-step-txt { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.m-arrow { display: flex; align-items: center; color: var(--ink-faint); font-size: 20px; flex: 0 0 auto; }

.m-price {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  background: linear-gradient(120deg, rgba(123,98,255,.1), rgba(255,158,94,.1));
  border: 1px solid rgba(123,98,255,.22); border-radius: 16px; padding: 20px 22px; margin-bottom: 24px;
}
.m-price-lines { display: flex; flex-direction: column; gap: 7px; }
.m-price-val { font-family: "Sora", sans-serif; font-size: 24px; font-weight: 800; color: var(--ink); }
.m-price-val small { display: block; font-size: 13px; font-weight: 500; color: var(--ink-faint); font-family: "Inter", sans-serif; }
.m-price-mo { font-family: "Sora", sans-serif; font-size: 15px; font-weight: 700; color: var(--violet-dk); }
.m-price-mo small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-faint); font-family: "Inter", sans-serif; }
.m-note { font-size: 13.5px; color: var(--ink-faint); margin-top: 16px; text-align: center; }
.m-legal { font-size: 11.5px; line-height: 1.55; color: var(--ink-faint); margin-top: 8px; text-align: center; }
.m-legal sup, .m-price sup { color: var(--violet-dk); font-weight: 700; }

/* body scroll lock */
body.no-scroll { overflow: hidden; }

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ============================================================ */
.legal-main { max-width: 800px; margin: 0 auto; padding: 60px 22px 90px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--violet); margin-bottom: 26px; }
.legal-back:hover { text-decoration: underline; }
.legal-main h1 { font-size: clamp(30px, 6vw, 44px); margin-bottom: 10px; }
.legal-lead { color: var(--ink-soft); margin-bottom: 30px; }
.legal-main h2 { font-size: 21px; margin: 34px 0 12px; }
.legal-main h3 { font-size: 16px; margin: 20px 0 8px; }
.legal-main p, .legal-main li { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 10px; }
.legal-main ul { padding-left: 20px; margin-bottom: 12px; }
.legal-main address { font-style: normal; color: var(--ink); }
.legal-main .no-link { color: var(--ink); }
.placeholder-banner {
  display: flex; gap: 14px; align-items: flex-start;
  background: linear-gradient(120deg, rgba(255,158,94,.12), rgba(123,98,255,.1));
  border: 1px dashed rgba(255,158,94,.55); border-radius: var(--radius-sm);
  padding: 16px 18px; margin-bottom: 34px; font-size: 14.5px; color: var(--ink-soft);
}
.placeholder-banner strong { color: var(--ink); }
.placeholder-banner .pb-ic { font-size: 20px; line-height: 1.2; }
.ph {
  background: var(--bg-2); border: 1px dashed var(--line); border-radius: 6px;
  padding: 1px 8px; color: var(--ink-faint); font-size: 14px; font-family: "Inter", monospace;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 720px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 940px) {
  .hero { padding: 96px 0 110px; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .flowboard { padding: 40px 34px; }
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(250,248,244,.98); backdrop-filter: blur(14px);
    padding: 18px 22px 26px; border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    box-shadow: 0 24px 40px -24px rgba(26,22,34,.4);
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links > a:not(.btn) { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-links > a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 12px; }
}

@media (max-width: 480px) {
  /* Handy: Abstände gestrafft, damit die Seite kompakter wirkt */
  .section { padding: 50px 0; }
  .section-head { margin-bottom: 32px; }
  .hero { padding: 40px 0 52px; }
  .hero-title { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 22px; }
  .hero-actions { margin-bottom: 18px; }
  .contact-grid { gap: 26px; }
  .contact-form { padding: 22px; }
  .service-grid { gap: 14px; }
  .contact-benefits { margin: 20px 0; }
  /* Handy: Pills als Treppe versetzt statt stur untereinander */
  .about-pills { margin-top: 20px; flex-direction: column; align-items: stretch; gap: 12px; }
  .about-pills .pill { align-self: flex-start; }
  .about-pills .pill:nth-child(2) { align-self: center; }
  .about-pills .pill:nth-child(3) { align-self: flex-end; }
  .stat-grid { grid-template-columns: 1fr; }
  .flowboard { padding: 24px 14px; }
  .flow-grid { gap: 8px; }
  .core-orb { width: 66px; height: 66px; border-radius: 20px; }
  .core-orb .brand-inf { width: 40px; height: 17px; }
  .core-pulse { border-radius: 20px; }
  .cchip, .trow { font-size: 10.5px; padding: 6px 8px; }
  .tcheck { width: 14px; height: 14px; font-size: 9px; }
  /* Handy: Nur der Inhalt scrollt, das Schließen-X bleibt immer sichtbar */
  .modal-dialog { padding: 30px 22px; display: flex; flex-direction: column; overflow: hidden; max-height: 90vh; }
  .modal-content { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .modal-close { position: absolute; top: 12px; right: 12px; z-index: 3; background: var(--surface); box-shadow: 0 6px 16px -6px rgba(20,17,28,.4); }
  .m-flow { flex-direction: column; }
  .m-arrow { transform: rotate(90deg); justify-content: center; }
  .m-step { flex-basis: auto; }
}
