:root {
  --bg: #07060d;
  --bg-2: #0d0b18;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f4f2fa;
  --muted: #a39fb5;
  --muted-2: #6f6a84;
  --brand: #5b1f8f;
  --brand-2: #7c3aed;
  --brand-light: #b794ff;
  --grad: linear-gradient(92deg, #d8c4ff 0%, #a77bf3 45%, #c084fc 100%);
  --radius: 20px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

h1, h2, h3 { font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: clamp(2.2rem, 5.2vw, 4.25rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; line-height: 1.3; font-weight: 500; }

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

.lead { color: var(--muted); font-size: 1.1rem; max-width: 560px; }

section { padding: 120px 0; position: relative; }

/* Section headings sit centred above their content, intro text below the heading */
.section-head { max-width: 860px; margin: 0 auto 64px; text-align: center; }
.section-head .lead { margin: 24px auto 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #8b4fe0 0%, var(--brand) 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 10px 40px -10px rgba(139, 79, 224, 0.7);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 14px 50px -10px rgba(139, 79, 224, 0.9); }

.btn-primary .arrow { transition: transform 0.2s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); padding: 12px 18px; font-size: 0.9rem; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* Under the hero button: capacity status pill + reassurance */
.cta-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 18px; font-size: 0.85rem; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.28); color: #d9d4c4; }
.status b { color: #fde68a; font-weight: 600; }
.pulse { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #fbbf24; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #fbbf24; animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: 0.6; } to { transform: scale(3); opacity: 0; } }
.free { color: var(--muted); }

/* Nav */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1200px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav.scrolled { background: rgba(13, 11, 24, 0.72); border-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }

.nav-links { display: flex; gap: 32px; font-size: 0.925rem; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 10px; }

.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.8rem; font-weight: 600; }
.lang a { min-width: 38px; padding: 10px 8px; border-radius: 999px; text-align: center; line-height: 1; color: var(--muted); transition: color 0.2s ease, background 0.2s ease; }
.lang a:hover { color: var(--text); }
.lang a[aria-current] { background: rgba(255, 255, 255, 0.12); color: var(--text); }

/* Hero */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 100px; overflow: hidden; }

#waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.22), transparent);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18%;
  background: linear-gradient(transparent, var(--bg));
  z-index: 1;
}

/* Keep the copy readable where it overlaps the waves */
.hero .container::before {
  content: "";
  position: absolute;
  inset: -40px -10%;
  background: radial-gradient(ellipse at 50% 50%, rgba(7, 6, 13, 0.75), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; width: 100%; text-align: center; }

.hero h1 { font-size: clamp(3rem, 8.4vw, 6.5rem); letter-spacing: -0.045em; line-height: 1.02; margin-bottom: 28px; }

.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); margin: 0 auto 40px; max-width: 640px; }
.hero .lead strong { color: var(--text); font-weight: 500; }

.hero-foot { display: flex; align-items: center; justify-content: center; gap: 20px 28px; flex-wrap: wrap; margin-top: 64px; color: var(--muted-2); font-size: 0.875rem; text-align: left; }
/* "Based in St. Gallen" with the canton flag. The flag, not the coat of arms: Swiss law reserves
   the shield for the canton itself, while flags are open to private use (WSchG Art. 8 and 10).
   Same 56px height as the SSA badge, small label on its top line, big name on its bottom line. */
.sg-badge { display: flex; align-items: stretch; gap: 14px; height: 56px; opacity: 0.9; }
.sg-badge img { width: 56px; height: 56px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.sg-badge > span { display: flex; flex-direction: column; justify-content: space-between; padding: 1px 0 2px; }
.sg-badge small { font-size: 0.85rem; font-weight: 600; color: #fff; line-height: 1; }
.sg-badge b { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; line-height: 1; }

.ssa-badge { display: block; height: 56px; width: auto; opacity: 0.9; }
.hero-foot .ssa-badge { padding-left: 28px; border-left: 1px solid var(--line-2); }

/* Pains */
.pains-title { text-align: center; margin-bottom: 64px; }

.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.pain {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.pain .num { font-size: 0.75rem; color: var(--muted-2); letter-spacing: 0.1em; margin-bottom: 40px; display: block; }
.pain h3 { margin-bottom: 12px; }
.pain p { color: var(--muted); font-size: 0.95rem; }

/* Calculator */
.calc {
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(124, 58, 237, 0.25), transparent 55%),
    var(--bg-2);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.calc h2 { margin-bottom: 20px; }

.calc-box { background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }

.calc-box label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.calc-box label output { color: var(--text); font-size: 1.25rem; font-weight: 600; white-space: nowrap; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand-light) var(--fill, 25%), rgba(255, 255, 255, 0.1) var(--fill, 25%));
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(167, 123, 243, 0.3);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(167, 123, 243, 0.3);
  cursor: pointer;
}

input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(167, 123, 243, 0.6); }

.calc-result { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.calc-result .big { font-size: clamp(2.4rem, 5vw, 3.5rem); letter-spacing: -0.03em; line-height: 1.1; font-weight: 500; }
.calc-result .sub { color: var(--muted); margin-top: 8px; }
/* Offer right where the cost lands */
.calc-cta { width: 100%; justify-content: center; margin-top: 24px; }
.calc-note { color: var(--muted-2); font-size: 0.8rem; margin-top: 20px; }

/* Solutions */
.solutions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.sol {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sol-visual {
  height: 240px;
  position: relative;
  background: radial-gradient(ellipse at 50% 120%, rgba(124, 58, 237, 0.35), transparent 70%);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
}

.sol-body { padding: 28px; }
.sol-body h3 { margin-bottom: 12px; }
.sol-body p { color: var(--muted); font-size: 0.95rem; }

/* Mini UI pieces inside the solution visuals */
.chip {
  font-size: 0.78rem;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(6px);
  max-width: 260px;
  line-height: 1.45;
  color: #dcd8ea;
}

.chip small { display: block; color: var(--muted-2); font-size: 0.7rem; margin-bottom: 3px; }
.chip.out { align-self: flex-end; background: rgba(124, 58, 237, 0.35); border-color: rgba(183, 148, 255, 0.35); }
.chip.in { align-self: flex-start; }
.chip.alert { display: flex; gap: 10px; align-items: center; }
.chip.alert::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f87171; box-shadow: 0 0 10px #f87171; flex: none; }

.flow-row { display: flex; align-items: center; gap: 12px; }
.flow-arrow { color: var(--brand-light); font-size: 1.1rem; }

.voice { display: flex; align-items: center; gap: 3px; height: 22px; }
.voice i { display: block; width: 3px; border-radius: 2px; background: var(--brand-light); }

.thumbs { display: flex; gap: 6px; }
.thumbs span { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #3a3350, #1d1930); border: 1px solid var(--line-2); }

.doc {
  width: 150px;
  padding: 14px;
  border-radius: 12px;
  background: #f4f2fa;
  color: #1a1625;
  font-size: 0.68rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.doc b { display: block; font-size: 0.75rem; margin-bottom: 8px; white-space: nowrap; }
.flow-row .doc { flex: none; width: 132px; }
.flow-row .chip { min-width: 0; }
.doc .ln { height: 5px; border-radius: 3px; background: #d9d4e6; margin-bottom: 5px; }
.doc .ln.s { width: 60%; }
.doc .tot { display: flex; justify-content: space-between; margin-top: 8px; font-weight: 700; }

.qr { width: 34px; height: 34px; margin-top: 8px; background:
    linear-gradient(90deg, #1a1625 50%, transparent 50%) 0 0 / 8px 8px,
    linear-gradient(#1a1625 50%, transparent 50%) 0 0 / 12px 12px;
  position: relative; }
.qr::after { content: "+"; position: absolute; inset: 11px; background: #1a1625; color: #fff; font-size: 10px; line-height: 12px; text-align: center; font-weight: 700; }

.browser { width: 240px; border-radius: 12px; overflow: hidden; background: #f4f2fa; color: #1a1625; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6); }
.browser .bar { display: flex; gap: 5px; padding: 8px 10px; background: #e3dfee; }
.browser .bar i { width: 7px; height: 7px; border-radius: 50%; background: #bdb6cf; }
.browser .page { padding: 14px; }
.browser b { display: block; font-size: 0.85rem; line-height: 1.25; margin-bottom: 10px; }
.browser .ln { height: 5px; border-radius: 3px; background: #d9d4e6; margin-bottom: 5px; }
.browser .ln.s { width: 60%; }
.browser .call { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 0.68rem; font-weight: 600; }
.sol-visual .browser + .chip { align-self: flex-end; max-width: 190px; margin-top: -14px; position: relative; }

/* References */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.ref { display: flex; flex-direction: column; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: border-color 0.2s ease, transform 0.2s ease; }
.ref:hover { border-color: rgba(183, 148, 255, 0.35); transform: translateY(-3px); }
.ref-shot { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.ref-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.4s ease; }
.ref:hover .ref-shot img { transform: scale(1.03); }
.ref-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 24px; }
.ref-tag { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.ref-body h3 { font-size: 1.25rem; }
.ref-body p { flex: 1; color: var(--muted); font-size: 0.95rem; }
.ref-link { margin-top: 10px; color: var(--brand-light); font-size: 0.9rem; font-weight: 500; }

/* Map in the contact block, darkened to match the page */
.map { margin-top: 32px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 220px; border: 0; filter: invert(0.9) hue-rotate(180deg) saturate(0.6) brightness(0.95); }
.map-link { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 14px 16px; font-size: 0.9rem; color: var(--muted); background: rgba(0, 0, 0, 0.3); }
.map-link b { color: var(--text); font-weight: 600; }
.map-link span:last-child { color: var(--brand-light); }

/* Done for you: your part vs. our part */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; align-items: stretch; }

.side { padding: 36px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.side.ours {
  border-color: rgba(183, 148, 255, 0.3);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(124, 58, 237, 0.28), transparent 60%),
    var(--bg-2);
}

.side .who-tag { display: inline-block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.side h3 { font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 28px; }
.side ul { list-style: none; display: grid; gap: 14px; }
.side li { display: flex; gap: 14px; color: #dcd8ea; }
.side li::before { content: "✓"; flex: none; color: var(--muted-2); font-weight: 700; }
.side.ours li::before { color: var(--brand-light); }
.side .foot-note { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.side .foot-note strong { color: var(--text); font-weight: 500; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.step { padding: 36px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); position: relative; }
.step .n {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(183, 148, 255, 0.3);
  color: var(--brand-light);
  font-weight: 600;
  margin-bottom: 28px;
}

.step h3 { margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 0.95rem; }
.step .tag { display: inline-block; margin-top: 18px; font-size: 0.78rem; color: var(--brand-light); padding: 5px 12px; border-radius: 99px; border: 1px solid rgba(183, 148, 255, 0.3); }

/* Guarantee */
.guarantee {
  text-align: center;
  border-radius: 28px;
  padding: 96px 48px;
  border: 1px solid rgba(183, 148, 255, 0.25);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.35), transparent 60%),
    var(--bg-2);
  position: relative;
  overflow: hidden;
}

.guarantee h2 { margin-bottom: 24px; }
.guarantee .lead { margin: 0 auto 16px; max-width: 640px; }
.guarantee .scarce { color: var(--muted-2); font-size: 0.95rem; max-width: 560px; margin: 24px auto 40px; }

.seal {
  width: 88px;
  height: 88px;
  margin: 0 auto 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(from 180deg, #a77bf3, #5b1f8f, #c084fc, #a77bf3);
  padding: 2px;
}

.seal span { width: 100%; height: 100%; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--brand-light); font-weight: 600; text-align: center; line-height: 1.2; }

/* Founder */
/* Centred story on top, the three principles as a row underneath */
.founder { display: grid; gap: 56px; text-align: center; }

.quote { max-width: 820px; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; letter-spacing: -0.01em; color: #e6e2f2; margin: 32px auto 28px; }

/* Founder photo, large and in its own format, with the name as a caption */
.portrait { max-width: 480px; margin: 40px auto 0; }
.portrait img { display: block; width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px rgba(124, 58, 237, 0.45); }
.portrait figcaption { margin-top: 18px; }
.portrait figcaption b { display: block; font-size: 1.15rem; font-weight: 600; }
.portrait figcaption span { color: var(--muted); font-size: 0.95rem; }

/* Career path under the founder quote */
.career { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: -8px 0 28px; }
.career span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 0.85rem; color: var(--text); }
.career i { font-style: normal; color: var(--brand-light); }

/* Training and experience as logos, all at the same 32px height */
.creds { max-width: 760px; margin: 32px auto 0; }
.creds-label { display: block; margin-bottom: 12px; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.creds-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cred { display: grid; place-items: center; height: 88px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
/* Sized for equal visual width (~95–115px), not equal height: the shield makes CS50 look
   narrow, the two-row ETH logo looks big at the same height */
.cred img { display: block; width: auto; max-width: 100%; object-fit: contain; }
.cred img.cs50 { height: 36px; }
.cred img.lw { height: 32px; }
.cred img.eth { height: 40px; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.principle { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.principle .ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(124, 58, 237, 0.18); color: var(--brand-light); }
.principle h3 { font-size: 1.1rem; margin-bottom: 4px; }
.principle p { color: var(--muted); font-size: 0.95rem; }

/* FAQ */
/* Heading centred above a centred question list */
.faq-wrap { display: grid; gap: 40px; max-width: 860px; }
.faq-wrap > :first-child { text-align: center; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; gap: 24px; font-size: 1.1rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-light); font-size: 1.5rem; line-height: 1; transition: transform 0.25s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 26px; max-width: 620px; }

/* Contact */
.contact {
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 0% 100%, rgba(124, 58, 237, 0.28), transparent 55%),
    var(--bg-2);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact h2 { margin-bottom: 20px; }

.checks { list-style: none; margin-top: 32px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: #dcd8ea; }
.checks li::before { content: "✓"; color: var(--brand-light); font-weight: 700; }

form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.85rem; color: var(--muted); }

.field input, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease;
}

.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { border-color: var(--brand-light); }

form .btn { justify-content: center; margin-top: 6px; }
.form-note { color: var(--muted-2); font-size: 0.85rem; }
.form-note a { color: var(--muted); text-decoration: underline; }
.success { display: none; padding: 20px; border-radius: 12px; background: rgba(74, 222, 128, 0.08); border: 1px solid rgba(74, 222, 128, 0.3); color: #bbf7d0; }
/* Spam trap: hidden from people, bots fill it in and FormSubmit drops the entry */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Footer */
footer { padding: 48px 0 40px; border-top: 1px solid var(--line); margin-top: 40px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--muted-2); font-size: 0.875rem; }
.foot a:hover { color: var(--text); }
.foot span a { text-decoration: underline; text-underline-offset: 3px; }

/* Legal pages (Impressum, Datenschutz) */
.legal { max-width: 760px; padding-top: 150px; padding-bottom: 80px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 12px; }
.legal .stand { color: var(--muted-2); margin-bottom: 48px; }
.legal h2 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal a { color: var(--brand-light); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--text); font-weight: 500; }

/* Reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pulse::after { animation: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .pains { grid-template-columns: repeat(2, 1fr); }
  .solutions, .steps, .split { grid-template-columns: 1fr; }
  .sol { flex-direction: row; }
  .sol-visual { width: 45%; height: auto; min-height: 240px; border-bottom: none; border-right: 1px solid var(--line); }
  .sol-body { width: 55%; align-self: center; }
  .calc, .contact { grid-template-columns: 1fr; gap: 40px; }
  .principles { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  section { padding: 80px 0; }
  .nav-links { display: none; }
  .nav { padding: 8px 8px 8px 12px; top: 10px; width: calc(100% - 20px); }
  .hero { padding: 120px 0 80px; }
  .hero .btn-primary { width: 100%; justify-content: center; }
  .pains { grid-template-columns: 1fr; }
  .pain .num { margin-bottom: 20px; }
  .sol { flex-direction: column; }
  .sol-visual, .sol-body { width: 100%; }
  .sol-visual { border-right: none; border-bottom: 1px solid var(--line); min-height: 220px; }
  .calc, .contact { padding: 32px 20px; border-radius: 22px; }
  .calc-box { padding: 24px 20px; }
  .refs { grid-template-columns: 1fr; }
  .creds-row { gap: 8px; }
  .cred { height: 64px; padding: 0 8px; }
  .cred img.cs50 { height: 25px; }
  .cred img.lw { height: 22px; }
  .cred img.eth { height: 28px; }
  .side { padding: 28px 20px; }
  .side h3 { margin-bottom: 20px; }
  .hero-foot { margin-top: 48px; gap: 16px; }
  .hero-foot .ssa-badge { padding-left: 16px; }
  .guarantee { padding: 64px 20px; border-radius: 22px; }
  .section-head { margin-bottom: 40px; }
  .foot { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .nav .brand span { display: none; }
  .nav-right { gap: 6px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 2.6rem; }
  .btn-primary { font-size: 0.92rem; padding: 16px 18px; text-align: center; }
  .calc-result .big { font-size: 2.2rem; }
  .cta-meta { font-size: 0.8rem; }
}
