/* Validate ML GmbH — corporate design: #6633cc, Poppins */

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Light.ttf") format("truetype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --purple:   #6633cc;
  --purple-d: #4f26a3;
  --purple-2: #7a54cc;
  --purple-3: #9980cf;
  --purple-4: #b2a3cf;
  --ink:      #14121a;
  --muted:    #55505f;
  --line:     #e4e0ee;
  --bg:       #ffffff;
  --bg-soft:  #f7f5fc;
  --maxw:     1080px;
  --radius:   14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--purple-d); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 0.5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.12rem; }
p  { margin: 0 0 1em; }

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

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 20px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { width: 168px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: 0.94rem;
}
.nav a:hover { color: var(--purple); }

.lang {
  font-size: 0.86rem; color: var(--muted); text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
  white-space: nowrap;
}
.lang:hover { border-color: var(--purple-4); color: var(--purple); }

@media (max-width: 800px) {
  .nav .nav-link { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--purple); color: #fff;
  padding: 13px 26px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 0.98rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--purple-d); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--purple);
  border: 1px solid var(--purple-4);
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--purple-d); }

/* ---------- Sections ---------- */

section { padding: 84px 0; }
section + section { border-top: 1px solid var(--line); }
.soft { background: var(--bg-soft); }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.11em;
  font-size: 0.76rem; font-weight: 600; color: var(--purple);
  margin: 0 0 14px;
}
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 300; color: var(--muted); max-width: 62ch; }
.section-intro { max-width: 64ch; margin-bottom: 44px; }

/* ---------- Hero ---------- */

.hero { padding: 96px 0 88px; }
.hero h1 { max-width: 20ch; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { font-size: 0.88rem; color: var(--muted); margin: 26px 0 0; }

/* ---------- Grids & cards ---------- */

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; background: #fff;
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 0 0 14px; padding-left: 1.1em; color: var(--muted); font-size: 0.95rem; }
.card li { margin-bottom: 5px; }
.price {
  font-size: 0.92rem; color: var(--ink); font-weight: 600;
  padding-top: 14px; margin-top: auto;
  border-top: 1px solid var(--line);
}
.price span { font-weight: 400; color: var(--muted); }
.card-service { display: flex; flex-direction: column; }

.problem { border-left: 3px solid var(--purple-4); padding: 4px 0 4px 22px; }
.problem h3 { color: var(--purple); font-size: 1.02rem; margin-bottom: 6px; }
.problem p { color: var(--muted); font-size: 0.97rem; margin: 0; }

.ref-logos {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
  margin-bottom: 20px;
}
.ref-logo {
  height: 92px;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 16px;
  background: #d9d9df; border-radius: var(--radius);
}
@media (max-width: 860px) {
  .ref-logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .ref-logos { grid-template-columns: repeat(2, 1fr); }
}
.ref-logo img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain;
}
.ref-caption {
  text-align: center; color: var(--muted); font-size: 0.98rem; margin: 0;
}

/* ---------- About ---------- */

.about { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.about-photo {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius);
  object-fit: cover;
}
.credentials { list-style: none; padding: 0; margin: 22px 0 0; }
.credentials li {
  padding-left: 22px; position: relative; margin-bottom: 9px;
  color: var(--muted); font-size: 0.96rem;
}
.credentials li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--purple-3);
}
@media (max-width: 720px) {
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about-photo { max-width: 200px; }
}

/* ---------- Final CTA ---------- */

.cta-band {
  background: var(--purple); color: #fff;
  border-radius: var(--radius); padding: 52px 44px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.86); max-width: 52ch; margin: 0 auto 28px; font-weight: 300; }
.cta-band .btn { background: #fff; color: var(--purple); }
.cta-band .btn:hover { background: #f0ebfb; color: var(--purple-d); }
.cta-band a:not(.btn) { color: #fff; }
@media (max-width: 620px) { .cta-band { padding: 40px 24px; } }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0; font-size: 0.9rem; color: var(--muted);
}
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center;
}
.site-footer nav { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--purple); }

/* ---------- Legal pages ---------- */

.legal { padding: 64px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h2 { margin-top: 44px; font-size: 1.4rem; }
.legal h3 { margin-top: 26px; }
.legal p, .legal li { color: var(--muted); font-size: 0.97rem; }
.legal .back { display: inline-block; margin-bottom: 30px; font-size: 0.9rem; text-decoration: none; }
.legal address { font-style: normal; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0; }

:focus-visible { outline: 3px solid var(--purple-3); outline-offset: 3px; border-radius: 4px; }
