/* Rapid Recruit — landing page styles. Self-contained (no external CDNs) so a
   strict CSP (default-src 'self') needs no exceptions. System font stack. */

:root {
  /* Rapid Recruit brand palette (from the logo): bright blue #38b6ff, cyans
     #0cc0df/#5ce1e6, navy #161d29. Interactive elements use an accessible
     deeper blue derived from the brand blue (white text passes WCAG AA). */
  --brand: #0a6aa1;          /* accessible deep blue — buttons, links, eyebrows */
  --brand-dark: #084f78;     /* hover */
  --brand-bright: #38b6ff;   /* brand blue — logo & decorative accents */
  --brand-tint: #e7f5ff;     /* light blue — icon chips, hero, focus ring */
  --accent: #0cc0df;         /* brand cyan */
  --accent-2: #5ce1e6;       /* brand light cyan */
  --ink: #161d29;            /* brand navy — text & footer */
  --ink-soft: #55636f;
  --line: #e2e8ee;
  --bg: #ffffff;
  --bg-alt: #f2f9fd;         /* very light blue tint */
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(13, 125, 125, .10);
  --shadow-sm: 0 2px 10px rgba(20, 32, 43, .06);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; color: var(--ink-soft); }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff;
  padding: 10px 16px; border-radius: 0 0 var(--radius-sm) 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: 1rem; padding: .8rem 1.4rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .08s ease, background .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--brand-dark); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-tint); }
.btn-sm { padding: .55rem 1rem; font-size: .95rem; }
.btn-block { width: 100%; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700;
  color: var(--brand); margin: 0 0 .6rem;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px;
  background: var(--brand); color: #fff; font-weight: 800; font-size: .95rem; letter-spacing: .02em;
}
.brand-logo { width: 38px; height: 38px; display: block; object-fit: contain; }
.brand-name { font-size: 1.1rem; }
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a { color: var(--ink-soft); font-weight: 500; }
.nav-links a:hover { color: var(--brand-dark); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }

.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  border: 0; background: transparent; padding: .35rem .7rem; font-weight: 700; font-size: .85rem;
  color: var(--ink-soft); cursor: pointer;
}
.lang-switch button.is-active { background: var(--brand); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0; background: linear-gradient(180deg, var(--brand-tint), var(--bg)); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.hero-copy .lead { font-size: 1.15rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.hero-badges { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.hero-badges li { font-weight: 600; color: var(--ink); }
.hero-badges li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: .45rem; }
.hero-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.5rem; display: grid; gap: 1rem;
}
.stat { display: grid; gap: .1rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: var(--bg-alt); }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--brand-dark); line-height: 1; }
.stat-label { color: var(--ink-soft); font-size: .95rem; }

/* Sections */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 62ch; margin: 0 0 2.5rem; }
.section-sub { font-size: 1.1rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon {
  width: 48px; height: 48px; display: grid; place-items: center; font-size: 1.5rem;
  background: var(--brand-tint); border-radius: 12px; margin-bottom: 1rem;
}
.card h3 { margin-bottom: .35rem; }
.card p { margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.step-num {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; margin-bottom: .8rem;
}
.step h3 { margin-bottom: .3rem; }
.step p { margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 3rem; align-items: start; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.values li {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem; display: grid; gap: .15rem;
}
.values strong { color: var(--ink); }
.values span { color: var(--ink-soft); font-size: .95rem; }

/* Branchen tags */
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem .7rem; }
.tags li {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .55rem 1.1rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm);
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }
.contact-list li { display: flex; align-items: center; gap: .6rem; font-weight: 500; color: var(--ink); }
.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 1.8rem; display: grid; gap: 1rem;
}
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea {
  font: inherit; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint);
}
.field input[type="file"] { padding: .5rem; background: var(--bg-alt); }
.hint { color: var(--ink-soft); font-size: .82rem; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.consent input { margin-top: .25rem; }
.form-status { margin: 0; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--brand-dark); }
.form-status.err { color: #c0392b; }

/* Footer */
.site-footer { background: var(--ink); color: #cfd8de; padding: 3rem 0 2rem; }
.site-footer .brand-name { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 2rem; align-items: start; }
.footer-tag { color: #9fb0bb; margin: .8rem 0 0; }
.site-footer nav { display: grid; gap: .5rem; }
.site-footer a { color: #cfd8de; }
.site-footer a:hover { color: #fff; }
.footer-legal { display: grid; gap: .4rem; }
.footer-legal p { color: #8697a2; margin: .4rem 0 0; font-size: .9rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 20px; gap: 1rem;
  }
  .cards, .steps, .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
