:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --ink: #0f1729;
  --ink-soft: #4a5568;
  --muted: #8a94a6;
  --accent: #1f6feb;
  --accent-dark: #1550b8;
  --line: #e7eaf0;
  --radius: 16px;
  --shadow: 0 10px 40px -12px rgba(15, 23, 41, 0.12);
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 16px -8px rgba(15, 23, 41, 0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 11px; }
.logo-img { height: 30px; width: auto; display: block; }
.logo-word { font-size: 1.2rem; letter-spacing: 0.02em; color: var(--ink); line-height: 1; }
.lw-thin { font-weight: 400; }
.lw-bold { font-weight: 800; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta {
  color: var(--accent);
  font-weight: 600;
}

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  font-family: inherit;
}
.lang-toggle span[data-lang].active { color: var(--accent); }
.lang-toggle .divider { color: var(--line); }

.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-btn span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 72px;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(31, 111, 235, 0.10), transparent 60%),
    radial-gradient(700px 500px at 0% 10%, rgba(31, 111, 235, 0.06), transparent 55%);
  overflow: hidden;
}
.hero-inner { max-width: 820px; }
.eyebrow, .section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(31, 111, 235, 0.6);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.stat-label { font-size: 0.9rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 800;
  max-width: 760px;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 48px;
}

/* Problem cards */
.problem { background: var(--bg-soft); }
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.05rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { font-size: 0.95rem; color: var(--ink-soft); }

/* Solution */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
}
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-icon {
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1.7;
  flex-shrink: 0;
}
.value-item h3 { font-size: 1.1rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.value-item p { font-size: 0.97rem; color: var(--ink-soft); }

/* Guarantee */
.guarantee {
  background: var(--ink);
  color: #fff;
  padding: 64px 0;
}
.guarantee-inner { max-width: 800px; }
.guarantee h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  font-weight: 800;
}
.guarantee p { color: rgba(255, 255, 255, 0.72); font-size: 1.08rem; }

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.step {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.step-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.step h3 { font-size: 1.1rem; margin: 14px 0 8px; letter-spacing: -0.01em; }
.step p { font-size: 0.95rem; color: var(--ink-soft); }

/* Testimonials */
.testimonials { background: var(--bg-soft); }
.quotes {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  margin-top: 48px;
}
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quote-featured { grid-row: span 2; }
.quote blockquote {
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 24px;
}
.quote-featured blockquote { font-size: 1.2rem; }
.quote figcaption { display: flex; flex-direction: column; }
.quote-name { font-weight: 700; }
.quote-role { font-size: 0.9rem; color: var(--muted); transition: color .2s; }
a.quote-role:hover { color: var(--accent); }

.refs-label {
  text-align: center;
  margin: 64px 0 24px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.ref-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 48px;
}
.ref-logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--muted);
  transition: color .2s, transform .2s;
}
.ref-logo:hover { color: var(--ink); transform: translateY(-2px); }

/* Contact */
.contact { text-align: center; }
.contact-inner { max-width: 720px; margin: 0 auto; }
.contact h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  letter-spacing: -0.025em;
  font-weight: 800;
  margin-bottom: 16px;
}
.contact p { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 32px; }
.contact-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-logo-img { height: 64px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255, 255, 255, 0.6); margin: 16px 0; max-width: 360px; }
.footer-brand a { color: var(--accent); font-weight: 600; }
.footer-impressum h3 { font-size: 1rem; margin-bottom: 16px; }
.footer-impressum p { color: rgba(255, 255, 255, 0.66); font-size: 0.92rem; margin-bottom: 16px; }
.footer-impressum a { color: rgba(255, 255, 255, 0.9); text-decoration: underline; }
.footer-bottom {
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Expertise callout */
.callout {
  margin-top: 32px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 28px;
  max-width: 780px;
}
.callout p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* Process timeline */
.process { background: var(--bg-soft); }
.timeline { list-style: none; margin-top: 48px; max-width: 820px; }
.t-step { display: flex; gap: 22px; padding-bottom: 30px; position: relative; }
.t-step:last-child { padding-bottom: 0; }
.t-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.t-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.t-body h3 { font-size: 1.08rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.t-body p { color: var(--ink-soft); font-size: 0.97rem; }

/* Pricing */
.price-card {
  margin-top: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  display: flex;
  gap: 44px;
  align-items: center;
  max-width: 860px;
  flex-wrap: wrap;
}
.price-main { display: flex; flex-direction: column; }
.price-amount { font-size: 2.7rem; font-weight: 800; color: var(--accent); letter-spacing: -0.03em; line-height: 1.1; }
.price-unit { color: var(--muted); font-weight: 600; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 14px; flex: 1; min-width: 260px; }
.price-list li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* Candidates */
.candidates { background: var(--bg-soft); }
.candidates-inner { max-width: 800px; }
.candidates-inner p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 18px; }
.note {
  margin-top: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Testimonials on white background */
.testimonials { background: #fff; }
.testimonials .quote { box-shadow: 0 4px 20px -14px rgba(15, 23, 41, 0.18); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .quote-featured { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    transform: translateY(-120%);
    transition: transform .3s ease;
    box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { border-bottom: none; }
  .menu-btn { display: flex; }
  .value-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
