/* emluk.de landing page. Builds on /assets/site.css and /assets/home.css
   (shared with software.emluk.de), so colors, type and header/footer match.
   No external fonts, images or scripts. */

.landing .nav a.btn { height: 38px; padding: 0 16px; font-size: .92rem; }
.landing .nav a.btn-brand, .landing .nav a.btn-brand:hover { color: var(--accent-fg); }
.btn-brand {
  color: var(--accent-fg);
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-cyan) 100%);
  box-shadow: 0 10px 28px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.btn-brand:hover { color: var(--accent-fg); box-shadow: 0 14px 34px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- hero ---------- */
.landing .home-hero .lead { max-width: 640px; }
.landing .home-hero .lead strong { color: var(--fg); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.home-hero .hero-cta { justify-content: center; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; margin: 44px 0 0; padding: 0; list-style: none; text-align: left; }
.facts li { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 2px solid var(--line2); }
.facts b { font: 700 1.05rem/1.3 var(--display); letter-spacing: -.01em; }
.facts span { color: var(--fg3); font-size: .86rem; }
@media (max-width: 600px) { .facts { display: grid; grid-template-columns: repeat(2, auto); } }

/* ---------- section heads ---------- */
.landing section[id] { scroll-margin-top: 72px; }
.landing .eyebrow { color: var(--brand-green); }
.alt { background: var(--bg2); border-block: 1px solid var(--line); }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }
.service .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  color: var(--brand-cyan);
  background: color-mix(in srgb, var(--brand-cyan) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-cyan) 28%, transparent);
}
.service:nth-child(odd) .icon { color: var(--brand-green); background: color-mix(in srgb, var(--brand-green) 12%, transparent); border-color: color-mix(in srgb, var(--brand-green) 28%, transparent); }
.service .icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service ul { margin: 2px 0 0; padding: 0; list-style: none; color: var(--fg2); font-size: .94rem; }
.service li { position: relative; padding-left: 20px; margin-top: 6px; }
.service li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 2px; border-radius: 2px; background: var(--brand-green); }
.service .chips { margin-top: auto; padding-top: 8px; }
.service.feature { border-color: color-mix(in srgb, var(--brand-green) 40%, var(--line)); }
.service.feature .ribbon {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 10px;
  border-radius: 999px;
  font: 600 .7rem/1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-green);
  border: 1px solid color-mix(in srgb, var(--brand-green) 45%, transparent);
}

/* ---------- approach ---------- */
.approach { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 36px; counter-reset: step; }
.approach div { counter-increment: step; }
.approach div::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 12px;
  font: 600 .9rem/1 var(--mono);
  color: var(--brand-cyan);
}
.approach h3 { font-size: 1.15rem; margin-bottom: 8px; }
.approach p { margin: 0; color: var(--fg2); }

/* ---------- software teaser ---------- */
.software-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 40px; }
.software-head .section-head { margin: 0; }

/* ---------- experience ---------- */
.cv-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; }
@media (max-width: 880px) { .cv-grid { grid-template-columns: 1fr; gap: 48px; } }
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand-green), var(--brand-cyan) 60%, var(--line)); border-radius: 2px; }
.timeline > li { position: relative; padding: 0 0 30px 38px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--brand-green);
}
.timeline > li.now::before { border-color: var(--brand-cyan); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand-cyan) 20%, transparent); }
.timeline time { display: block; color: var(--fg3); font: 500 .84rem/1.4 var(--mono); }
.timeline h3 { margin-top: 4px; font-size: 1.12rem; }
.timeline .org { color: var(--brand-cyan); font-weight: 600; font-size: .96rem; }
.timeline p { margin: 8px 0 0; color: var(--fg2); font-size: .95rem; }
.timeline ul { margin: 8px 0 0; padding-left: 18px; color: var(--fg2); font-size: .95rem; }
.timeline ul li { margin-top: 4px; }
.timeline ul li::marker { color: var(--brand-green); }

.side h3 { font-size: 1rem; letter-spacing: .02em; color: var(--fg3); text-transform: uppercase; font-family: var(--sans); font-weight: 600; margin: 0 0 14px; }
.side > div + div { margin-top: 36px; }
.side dl { margin: 0; }
.side dt { font-weight: 600; }
.side dd { margin: 2px 0 14px; color: var(--fg2); font-size: .94rem; }
.skills { display: grid; gap: 14px; }
.skills b { display: block; font-size: .92rem; margin-bottom: 6px; }
.skills .chips { margin: 0; }

/* ---------- contact ---------- */
.contact { padding: 40px 0 112px; }
.contact-box {
  position: relative;
  overflow: hidden;
  padding: 64px 48px;
  text-align: center;
  border-radius: 26px;
  background: var(--bg2);
  border: 1px solid var(--line2);
}
.contact-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 80% at 20% 0%, color-mix(in srgb, var(--brand-green) 18%, transparent), transparent 70%),
    radial-gradient(50% 80% at 80% 100%, color-mix(in srgb, var(--brand-cyan) 16%, transparent), transparent 70%);
  pointer-events: none;
}
.contact-box > * { position: relative; }
.contact-box .ecg { width: 160px; height: 40px; margin: 0 auto 20px; color: var(--brand-green); }
.contact-box .lead { margin: 16px auto 0; }
.contact-box .hero-cta { justify-content: center; }
.contact-box .mail { display: block; margin-top: 18px; color: var(--fg3); font: 500 .95rem var(--mono); }
@media (max-width: 600px) { .contact-box { padding: 48px 22px; } }

.landing .site-footer .brand .crumb { font-size: .9rem; }

/* ---------- scroll reveal: CSS only, where supported ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv { animation: rv-in linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes rv-in { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: none; } }
  }
}

.timeline p.before { color: var(--fg3); font-size: .86rem; }
