/* ==========================================================================
   Vlerti — production stylesheet
   No framework, no build step. Plain CSS, mobile-first-ish, ~9KB uncompressed.
   ========================================================================== */

:root {
  --papier: #F6F5F1;
  --karte: #FFFFFF;
  --tinte: #15161A;
  --grau: #5C5F68;
  --grau-hell: #B9BBC2;
  --linie: #DBD9D2;
  --signal: #A6362C;
  --footer-bg: #0F1013;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: 'IBM Plex Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', Arial, sans-serif;
  margin: 0;
  line-height: 1.1;
}

p { margin: 0; }
img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -48px;
  background: var(--tinte);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  z-index: 100;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--tinte); color: #fff; }
.btn-primary:hover { background: var(--signal); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--tinte); }
.btn-pill { border-radius: 999px; padding: 12px 26px; }

/* ---------- Header / nav ---------- */
.site-header {
  border-bottom: 1px solid var(--linie);
  position: relative;
  z-index: 20;
  background: var(--papier);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo-link img { height: 30px; width: auto; }

.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  cursor: pointer;
}
.nav-toggle-label span {
  display: block;
  height: 2px;
  background: var(--tinte);
  border-radius: 2px;
}

.main-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.nav-link { font-size: 15px; font-weight: 500; }
.nav-link:hover { color: var(--signal); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--grau);
  padding: 14px 0;
  border-bottom: 1px solid var(--linie);
}
.breadcrumb a:hover { color: var(--signal); }
.breadcrumb .current { color: var(--tinte); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px 56px;
  align-items: center;
}
.hero-inner { max-width: 620px; }
.hero h1 {
  font-size: clamp(34px, 5.6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero .lede {
  margin-top: 26px;
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--grau);
  max-width: 520px;
}
.hero .btn { margin-top: 36px; }

.hero-visual { position: relative; min-height: 340px; }
.browser-card {
  position: absolute;
  width: 76%;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 24px 48px -28px rgba(21, 22, 26, 0.35);
}
.card-back { top: 0; right: 0; transform: rotate(-6deg); }
.card-front { top: 64px; left: 0; transform: rotate(3deg); }
.card-bar { display: flex; gap: 6px; margin-bottom: 16px; }
.card-bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--linie); display: block; }
.card-hero { height: 68px; border-radius: 6px; background: var(--tinte); margin-bottom: 16px; }
.card-lines span { display: block; height: 8px; border-radius: 4px; background: var(--linie); margin-bottom: 9px; }
.card-lines span.short { width: 55%; margin-bottom: 0; }
.card-cta { width: 88px; height: 24px; border-radius: 5px; background: var(--signal); margin-top: 16px; }
.accent-dot {
  position: absolute;
  bottom: 6%; left: 4%;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--signal);
}

@media (max-width: 780px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 240px; margin-top: 8px; }
  .browser-card { width: 68%; padding: 14px; }
  .card-hero { height: 48px; }
}

/* ---------- Section basics ---------- */
section { padding: 64px 0; }
.section-title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; max-width: 640px; margin-bottom: 36px; }
.section-divider { border-top: 1px solid var(--linie); }
.eyebrow {
  display: block;
  font-family: 'IBM Plex Sans', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 12px;
}

/* ---------- Services list ---------- */
.services-list { border-top: 1px solid var(--linie); }
.service-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 48px;
  padding: 28px 0;
  border-bottom: 1px solid var(--linie);
}
.service-row h3 {
  flex: 0 0 300px;
  font-size: 21px;
  font-weight: 700;
  transition: color .15s ease;
}
.service-row:hover h3 { color: var(--signal); }
.service-row p { flex: 1 1 260px; font-size: 15px; color: var(--grau); max-width: 460px; }

/* ---------- Badges ---------- */
.badges-intro { font-size: 14px; color: var(--grau); margin-bottom: 18px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  border: 1px solid var(--linie);
  color: var(--grau);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
}
.badge:hover { border-color: var(--tinte); color: var(--tinte); }

/* ---------- Banner ---------- */
.banner-section { padding: 64px 0; }
.banner {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 20px;
  padding: clamp(32px, 5vw, 56px);
  box-shadow: 0 24px 48px -32px rgba(21, 22, 26, 0.18);
}
.banner-inner { max-width: 560px; }
.banner h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; }
.banner p { margin-top: 14px; color: var(--grau); font-size: 17px; }
.banner .btn { margin-top: 26px; }

/* ---------- About / positioning ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px 64px;
  align-items: center;
}
.about-copy { max-width: 480px; }
.about-lede { margin-top: 18px; font-size: 17px; color: var(--grau); }
.diff-grid {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.diff-grid p {
  font-size: 15px;
  font-weight: 600;
  padding-left: 22px;
  position: relative;
}
.diff-grid p::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 2px;
  background: var(--signal);
}
.about-visual { position: relative; }
.about-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.visual-badge {
  position: absolute;
  top: -14px; right: -14px;
  width: 44px; height: 44px;
  box-shadow: 0 8px 20px -8px rgba(21, 22, 26, 0.5);
  border-radius: 50%;
}
.visual-badge svg { width: 100%; height: 100%; display: block; }
.visual-caption {
  position: absolute;
  left: 14px; bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(21, 22, 26, 0.55);
  padding: 6px 10px;
  border-radius: 4px;
}

@media (max-width: 780px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 320px; margin: 0 auto; order: -1; }
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
}
.process-step {
  position: relative;
  min-height: 260px;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.process-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0) 85%);
}
.process-step h3, .process-step p { position: relative; z-index: 1; }
.process-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.process-step p { font-size: 14px; color: #D8D6D0; }

.hiring-card {
  margin-top: 44px;
  background: var(--tinte);
  color: #fff;
  border-radius: 18px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
}
.hiring-card p { font-size: 15px; color: var(--grau-hell); margin: 0; max-width: 520px; }
.hiring-card strong { color: #fff; }
.hiring-card .btn { flex-shrink: 0; }

@media (max-width: 780px) {
  .hiring-card { flex-direction: column; align-items: flex-start; padding: 24px; }
}

/* ---------- FAQ (native <details>, zero JS) ---------- */
.faq-list { max-width: 760px; border-top: 1px solid var(--linie); }
.faq-item { border-bottom: 1px solid var(--linie); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: 'Archivo', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--signal); }
.faq-item .icon { font-size: 20px; color: var(--grau); flex-shrink: 0; }
.faq-item[open] .icon-plus { display: none; }
.faq-item .icon-minus { display: none; }
.faq-item[open] .icon-minus { display: inline; }
.faq-answer { padding: 0 0 22px; font-size: 15px; color: var(--grau); max-width: 620px; }
.faq-answer a { color: var(--signal); font-weight: 600; }

/* ---------- Contact + Footer (single card) ---------- */
.site-footer { padding: 64px 0 80px; }
.footer-card {
  background: var(--footer-bg);
  color: #fff;
  border-radius: 28px;
  padding: clamp(32px, 5vw, 64px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px 64px;
  align-items: start;
}
.contact-intro { max-width: 480px; }
.contact-intro h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
.contact-intro .eyebrow { color: var(--grau-hell); }
.contact-intro .lede { margin-top: 16px; color: var(--grau-hell); font-size: 17px; }
.contact-intro .btn { margin-top: 32px; }
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 4px;
}
.contact-methods .email { font-size: 22px; font-weight: 600; }
.contact-methods .email:hover { color: var(--signal); }
.contact-methods .phone { color: var(--grau-hell); font-size: 17px; }
.contact-methods .phone:hover { color: #fff; }

.footer-columns {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
}
.footer-brand img { filter: invert(1) brightness(2); margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: #A9ACB4; line-height: 1.5; max-width: 220px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5B5E67;
  margin-bottom: 4px;
}
.footer-col .footer-link, .footer-col .footer-text { font-size: 14px; color: #A9ACB4; }
.footer-col .footer-link:hover { color: #fff; }
.social-row { display: flex; gap: 10px; }
.social-icon { width: 32px; height: 32px; color: #A9ACB4; border: 1px solid #33353c; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.social-icon svg { width: 17px; height: 17px; }
.social-icon:hover { color: #fff; border-color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.copyright { font-size: 13px; color: #5B5E67; }
.copyright a { color: #5B5E67; text-decoration: underline; text-underline-offset: 2px; }
.copyright a:hover { color: #fff; }

@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-methods { margin-top: 8px; gap: 18px; }
  .footer-columns { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; margin-top: 32px; }
}

/* ---------- Legal pages ---------- */
.legal { padding: 64px 0 96px; }
.legal-header { max-width: 640px; margin-bottom: 12px; }
.legal-header h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; }
.legal-stand { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grau); margin-top: 14px; display: block; }
.legal-body { max-width: 640px; margin-top: 40px; }
.legal-body h2 { font-size: 19px; font-weight: 700; margin-top: 40px; margin-bottom: 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { font-size: 15px; line-height: 1.65; color: var(--grau); margin-top: 12px; }
.legal-body p:first-of-type { margin-top: 0; }
.legal-body ul { margin: 12px 0 0; padding-left: 20px; }
.legal-body li { font-size: 15px; line-height: 1.65; color: var(--grau); margin-top: 6px; }
.legal-body a { color: var(--tinte); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--signal); }
.legal-body strong { color: var(--tinte); }

/* ---------- 404 ---------- */
.not-found { padding: 110px 0; text-align: left; }
.not-found .code { font-size: 15px; font-weight: 700; color: var(--signal); margin-bottom: 18px; }
.not-found h1 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; max-width: 620px; }
.not-found p { margin-top: 18px; font-size: 17px; color: var(--grau); max-width: 560px; }
.not-found .actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.not-found .btn-secondary {
  border: 1px solid var(--tinte);
  color: var(--tinte);
  padding: 15px 30px;
  border-radius: 6px;
  font-weight: 600;
}
.not-found .btn-secondary:hover { background: var(--tinte); color: #fff; }

/* ---------- Responsive nav ---------- */
@media (max-width: 780px) {
  .nav-toggle-label { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--papier);
    border-bottom: 1px solid var(--linie);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 24px 22px;
    display: none;
  }
  .main-nav .nav-link,
  .main-nav .btn { width: 100%; padding-top: 12px; padding-bottom: 12px; }
  .main-nav .btn { margin-top: 10px; text-align: center; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
}
