/* ============================================================
   Legal Frontier — Design Tokens
   ============================================================ */
:root {
  /* Surfaces */
  --lf-bg: #0b0f0d;
  --lf-bg-deep: #050706;
  --lf-panel: #111714;
  --lf-panel-2: #151d18;
  --lf-border: #243029;
  /* Text ramp */
  --lf-text: #eef2ef;
  --lf-muted: #93a299;
  --lf-faint: #6f7f76;
  /* Accent (mint) */
  --lf-accent: #5fe39a;
  --lf-accent-ink: #06140d;
  --lf-accent-dim: rgba(95, 227, 154, 0.08);
  --lf-accent-line: rgba(95, 227, 154, 0.26);
  --lf-accent-hover: #7ce9ad;
  --lf-accent-press: #4cc987;
  /* Type */
  --lf-font-display: 'Space Grotesk', system-ui, sans-serif;
  --lf-font-sans: 'IBM Plex Sans', system-ui, sans-serif;
  --lf-font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  /* Layout */
  --lf-container: 1200px;
  --lf-container-pad: 56px;
  --lf-radius-lg: 14px;
  --lf-radius-md: 12px;
  --lf-radius-pill: 999px;
  --lf-glow-dot: 0 0 14px var(--lf-accent);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--lf-bg);
  color: var(--lf-text);
  font-family: var(--lf-font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
section[id] { scroll-margin-top: 92px; }
::selection { background: var(--lf-accent); color: var(--lf-accent-ink); }

.lf-wrap {
  max-width: var(--lf-container);
  margin: 0 auto;
  padding-left: var(--lf-container-pad);
  padding-right: var(--lf-container-pad);
}

/* ============================================================
   Eyebrow
   ============================================================ */
.lf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--lf-font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lf-accent);
}
.lf-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lf-accent);
  box-shadow: var(--lf-glow-dot);
  flex: none;
}

/* ============================================================
   Button
   ============================================================ */
.lf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--lf-font-mono);
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--lf-radius-pill);
  border: 1px solid transparent;
  transition:
    background 200ms ease,
    color 120ms ease,
    border-color 120ms ease,
    transform 120ms ease;
  white-space: nowrap;
}
.lf-btn:active { transform: scale(0.97); }
.lf-btn--sm  { font-size: 13px; padding: 9px 18px; }
.lf-btn--md  { font-size: 14px; padding: 13px 24px; }
.lf-btn--lg  { font-size: 15px; padding: 16px 30px; }

.lf-btn--primary { background: var(--lf-accent); color: var(--lf-accent-ink); }
.lf-btn--primary:hover  { background: var(--lf-accent-hover); }
.lf-btn--primary:active { background: var(--lf-accent-press); }

.lf-btn--secondary { background: transparent; color: var(--lf-text); border-color: var(--lf-border); }
.lf-btn--secondary:hover { background: var(--lf-panel-2); }

.lf-btn--ghost { background: transparent; color: var(--lf-muted); border-color: var(--lf-border); }
.lf-btn--ghost:hover { color: var(--lf-text); border-color: var(--lf-accent-line); }

.lf-btn .arrow { transition: transform 160ms ease; }
.lf-btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Badge
   ============================================================ */
.lf-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--lf-font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--lf-radius-pill);
  border: 1px solid var(--lf-border);
}
.lf-badge--accent  { background: var(--lf-accent-dim); border-color: var(--lf-accent-line); color: var(--lf-accent); }
.lf-badge--neutral { background: transparent; color: var(--lf-faint); }

/* ============================================================
   Card
   ============================================================ */
.lf-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  margin-top: 64px;
  align-items: stretch;
}
.lf-card--highlighted {
  background: var(--lf-accent-dim);
  border-color: var(--lf-accent-line);
}

/* ============================================================
   Section headings
   ============================================================ */
.lf-heading-title {
  font-family: var(--lf-font-display);
  font-weight: 600;
  font-size: clamp(28px, 3vw + 14px, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 18px 0 0;
  color: var(--lf-text);
  text-wrap: balance;
  max-width: 20ch;
}
.lf-heading-lead {
  margin: 24px 0 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--lf-muted);
  max-width: 60ch;
}

/* ============================================================
   List (dashed)
   ============================================================ */
.lf-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.lf-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--lf-muted);
}
.lf-list li::before {
  content: '—';
  font-family: var(--lf-font-mono);
  color: var(--lf-accent);
  flex: none;
}

/* ---- Shared meta labels ---- */
.lf-meta-label {
  font-family: var(--lf-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lf-faint);
}
.lf-card-title {
  font-family: var(--lf-font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--lf-text);
}
.lf-card-meta {
  font-family: var(--lf-font-mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--lf-accent);
  margin-bottom: 22px;
}
.lf-index {
  font-family: var(--lf-font-mono);
  font-size: 14px;
  color: var(--lf-faint);
}

/* ============================================================
   Nav
   ============================================================ */
.lf-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 13, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lf-border);
}
.lf-nav-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.lf-logo { display: flex; align-items: center; gap: 11px; }
.lf-logo .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lf-accent);
  box-shadow: var(--lf-glow-dot);
  flex: none;
}
.lf-logo .word {
  font-family: var(--lf-font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--lf-text);
}
.lf-nav-links { display: flex; align-items: center; gap: 28px; }
.lf-nav-links a.nav-link {
  font-size: 15px;
  color: var(--lf-muted);
  transition: color 120ms ease;
}
.lf-nav-links a.nav-link:hover { color: var(--lf-text); }
.lf-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  font-family: var(--lf-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lf-lang-switcher a {
  color: rgba(238, 242, 239, 0.65);
  transition: color 120ms ease;
}
.lf-lang-switcher a:hover,
.lf-lang-switcher a.is-active {
  color: var(--lf-accent);
}
.lf-lang-switcher--mobile {
  margin: 16px var(--lf-container-pad) 0;
  padding-left: 2px;
}

/* ============================================================
   Hero
   ============================================================ */
.lf-hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.lf-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.05);
}
.lf-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 10, 0.92) 0%, rgba(8, 11, 10, 0.72) 38%, rgba(8, 11, 10, 0.30) 70%, rgba(8, 11, 10, 0.55) 100%),
    linear-gradient(0deg, rgba(5, 7, 6, 0.85) 0%, transparent 42%);
}
.lf-hero-inner {
  position: relative;
  padding-top: 120px;
  padding-bottom: 120px;
}
.lf-hero-title {
  font-family: var(--lf-font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw + 16px, 60px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 26px 0 0;
  color: var(--lf-text);
  max-width: 16ch;
  text-wrap: balance;
}
.lf-hero-sub {
  margin: 28px 0 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--lf-muted);
  max-width: 48ch;
}
.lf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

/* ============================================================
   Sections
   ============================================================ */
.lf-section { border-top: 1px solid var(--lf-border); }
.lf-section--panel { background: var(--lf-panel); }
.lf-section-pad { padding-top: 110px; padding-bottom: 110px; }

.lf-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.lf-prose {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 54ch;
  margin-top: 30px;
}
.lf-prose p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--lf-muted); }
.lf-prose p.strong { color: var(--lf-text); }
.lf-accent-text { color: var(--lf-accent); }

.lf-media {
  position: relative;
  border-radius: var(--lf-radius-lg);
  overflow: hidden;
  border: 1px solid var(--lf-border);
  aspect-ratio: 4 / 5;
}
.lf-media img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05); }
.lf-media .grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 11, 10, 0.5) 0%, transparent 45%);
}

.lf-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  margin-top: 64px;
  align-items: start;
}
.lf-card--featured {
  grid-row: 1 / 3;
}
.lf-card--stacked {
  min-height: 100%;
}
.lf-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.lf-card-foot {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--lf-border);
}
.lf-card p { margin: 0; }
.lf-card .body { font-size: 15px; line-height: 1.6; color: var(--lf-muted); }
.lf-card .body--light { color: var(--lf-text); }

/* About */
.lf-about {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}
.lf-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--lf-radius-lg);
  border: 1px solid var(--lf-border);
  filter: contrast(1.03);
}
.lf-portrait .name {
  color: var(--lf-text);
  font-weight: 600;
  font-size: 17px;
  margin: 20px 0 6px;
}
.lf-portrait .role {
  font-family: var(--lf-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--lf-muted);
  line-height: 1.6;
}
.lf-about-prose {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 64ch;
  margin-top: 30px;
}
.lf-about-prose p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--lf-muted); }
.lf-about-prose p.strong { color: var(--lf-text); }
.lf-quote {
  margin: 8px 0 0;
  padding-left: 24px;
  border-left: 2px solid var(--lf-accent-line);
  font-family: var(--lf-font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--lf-text);
}

/* Contact */
.lf-contact { position: relative; overflow: hidden; }
.lf-dotgrid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(95, 227, 154, 0.10) 1px, transparent 0);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 0%, transparent 75%);
}
.lf-contact-inner { position: relative; padding-top: 120px; padding-bottom: 120px; }
.lf-contact h2 {
  font-family: var(--lf-font-display);
  font-weight: 700;
  font-size: clamp(38px, 6vw + 10px, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 24px 0 0;
  color: var(--lf-text);
}
.lf-contact p {
  margin: 30px 0 0;
  font-size: 20px;
  line-height: 1.6;
  color: var(--lf-muted);
  max-width: 56ch;
}
.lf-contact p .strong { color: var(--lf-text); }
.lf-contact-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 48px; }

/* Footer */
.lf-footer { border-top: 1px solid var(--lf-border); background: var(--lf-bg); }
.lf-footer-inner {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.lf-footer .mono { font-family: var(--lf-font-mono); font-size: 13px; color: var(--lf-muted); }
.lf-footer .legal {
  display: flex;
  gap: 24px;
  font-family: var(--lf-font-mono);
  font-size: 13px;
  color: var(--lf-faint);
}
.lf-footer .legal a { transition: color 120ms ease; }
.lf-footer .legal a:hover { color: var(--lf-muted); }

/* ============================================================
   Mobile nav toggle (hamburger)
   ============================================================ */
.lf-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius-md);
  cursor: pointer;
  padding: 10px 8px;
  flex-shrink: 0;
}
.lf-nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--lf-muted);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.lf-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.lf-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.lf-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.lf-nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(11, 15, 13, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lf-border);
  padding-bottom: 16px;
  z-index: 50;
}
.lf-nav-mobile.is-open { display: block; }
.nav-mobile-link {
  display: block;
  padding: 14px var(--lf-container-pad);
  font-size: 16px;
  color: var(--lf-muted);
  border-bottom: 1px solid var(--lf-border);
  transition: color 120ms ease;
}
.nav-mobile-link:hover { color: var(--lf-text); }
.lf-nav-mobile .lf-btn {
  margin: 16px var(--lf-container-pad) 0;
  justify-content: center;
}

/* ============================================================
   Impressum page
   ============================================================ */
.lf-page-header { padding-top: 80px; padding-bottom: 64px; }
.lf-page-title {
  font-family: var(--lf-font-display);
  font-weight: 700;
  font-size: clamp(36px, 4vw + 16px, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 18px 0 0;
  color: var(--lf-text);
}
.lf-legal-body {
  max-width: 68ch;
  padding-bottom: 110px;
}
.lf-legal-body h2 {
  font-family: var(--lf-font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
  color: var(--lf-text);
}
.lf-legal-body p,
.lf-legal-body address {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--lf-muted);
  font-style: normal;
}
.lf-legal-body a { color: var(--lf-accent); }
.lf-legal-body a:hover { text-decoration: underline; }
.lf-legal-divider {
  border: none;
  border-top: 1px solid var(--lf-border);
  margin: 40px 0;
}
.lf-placeholder {
  font-family: var(--lf-font-mono);
  font-size: 13px;
  color: var(--lf-faint);
  background: var(--lf-panel);
  border: 1px dashed var(--lf-border);
  border-radius: 6px;
  padding: 2px 8px;
  display: inline-block;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  :root { --lf-container-pad: 32px; }
  .lf-nav-links { display: none; }
  .lf-nav-toggle { display: flex; }
  .lf-two-col,
  .lf-about { grid-template-columns: 1fr; gap: 48px; }
  .lf-cards {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .lf-card--featured { grid-row: auto; }
  .lf-section-pad { padding-top: 72px; padding-bottom: 72px; }
  .lf-media { aspect-ratio: 16 / 9; }
  .lf-portrait { max-width: 220px; }
  .lf-card { padding: 28px 24px; }
}
@media (max-width: 560px) {
  :root { --lf-container-pad: 20px; }
  .lf-hero { min-height: 520px; }
  .lf-hero-inner { padding-top: 80px; padding-bottom: 80px; }
  .lf-hero-sub { font-size: 17px; }
  .lf-hero-actions .lf-btn,
  .lf-contact-actions .lf-btn { flex: 1 1 100%; justify-content: center; }
  .lf-section-pad { padding-top: 56px; padding-bottom: 56px; }
  .lf-contact-inner { padding-top: 80px; padding-bottom: 80px; }
  .lf-quote { font-size: 18px; }
  .lf-footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lf-prose p,
  .lf-about-prose p { font-size: 17px; }
  .lf-heading-lead { font-size: 17px; }
}

/* ============================================================
   What I Do — Prozess-Timeline (ersetzt das .lf-cards-Layout)
   ============================================================ */
.lf-timeline {
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
}
.lf-step {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 30px;
}
.lf-step:not(:last-child) { padding-bottom: 48px; }
.lf-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 22px;
  top: 58px;
  bottom: 0;
  width: 2px;
  background: var(--lf-border);
}
.lf-step-marker { display: flex; justify-content: center; }
.lf-step-num {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--lf-border);
  background: var(--lf-bg);
  color: var(--lf-muted);
  font-family: var(--lf-font-mono);
  font-size: 15px;
  display: grid;
  place-items: center;
}
.lf-step--start .lf-step-num {
  border-color: var(--lf-accent-line);
  color: var(--lf-accent);
  box-shadow: 0 0 0 4px var(--lf-accent-dim);
}
.lf-step-body { padding-top: 2px; min-width: 0; }
.lf-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.lf-step-title {
  font-family: var(--lf-font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--lf-text);
}
.lf-step-meta {
  font-family: var(--lf-font-mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--lf-accent);
  margin-top: 12px;
}
.lf-step-lead {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--lf-muted);
  max-width: 62ch;
}
.lf-step-detail {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--lf-border);
}
.lf-list--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 32px;
  margin-top: 14px;
}
.lf-step-who { margin-top: 22px; }
.lf-step-who p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--lf-muted);
  max-width: 62ch;
}
.lf-step-note {
  display: flex;
  gap: 12px;
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--lf-faint);
  max-width: 62ch;
}
.lf-step-note .arrow {
  font-family: var(--lf-font-mono);
  color: var(--lf-accent);
  flex: none;
}

@media (max-width: 560px) {
  .lf-step { gap: 20px; }
  .lf-list--cols { grid-template-columns: 1fr; }
}
