/* =========================================================
   Veldo GmbH – Karriere-Seite (Demo)
   Design-DNA: Marken-Indigo als dunkler Anker, warm + persoenlich,
   Text nie grau (auf hell #1e2a3d, auf dunkel volles Weiss).
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
[hidden] { display: none !important; } /* schlaegt display-Regeln von .btn etc. */

/* ---------- Variablen ---------- */
:root {
  --indigo:      #312783;   /* Primaerfarbe / dunkler Anker */
  --indigo-deep: #241a63;   /* fuer Verlaeufe */
  --blue:        #0076bf;   /* Sekundaer / Links */
  --red:         #c11924;   /* CTA */
  --red-dark:    #a2141d;   /* CTA hover */
  --bg:          #fbf8ff;   /* warmes Off-White */
  --white:       #ffffff;
  --ink:         #1e2a3d;   /* Fliesstext auf hell */
  --ink-soft:    #2e3b52;   /* Meta/sekundaer auf hell */
  --head:        #1a1550;   /* Headlines (Indigo-naeher, dunkel) */
  --line:        #e7e2f2;   /* zarte Linien/Karten-Rahmen */

  --r-card: 10px;
  --r-img:  10px;
  --r-sm:   8px;
  --r-pill: 999px;

  --shadow:    0 12px 30px rgba(36, 26, 99, 0.08);
  --shadow-lg: 0 22px 55px rgba(36, 26, 99, 0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-head: 'Poppins', 'Roboto', Arial, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ---------- Basis ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--head); line-height: 1.14; font-weight: 700; overflow-wrap: break-word; }
strong { font-weight: 700; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: linear-gradient(180deg, #ffffff 0%, #f4f0fd 100%); }

.kicker {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.kicker-light { color: #b9b2ff; }

.section-h { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 14px; }
.section-lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 620px; margin-bottom: 42px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 15px 28px; border-radius: var(--r-pill); border: 2px solid transparent;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
  text-align: center; line-height: 1;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(193, 25, 36, 0.28); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(193, 25, 36, 0.34); }
.btn-ghost { background: transparent; border-color: var(--indigo); color: var(--indigo); }
.btn-ghost:hover { background: var(--indigo); color: #fff; }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--indigo); border-color: #fff; }
.btn-text { background: transparent; color: var(--blue); padding: 12px 6px; border: 0; }
.btn-text:hover { color: var(--indigo); text-decoration: underline; }
.btn-sm { padding: 11px 20px; font-size: 0.94rem; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-family: var(--font-head); font-weight: 500; font-size: 0.98rem; color: var(--ink); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--blue); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.burger span { width: 26px; height: 2.5px; background: var(--indigo); border-radius: 2px; transition: transform .3s var(--ease), opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--indigo-deep); }
.hero-media {
  position: absolute; inset: 0;
  background: url('../assets/img/hero-fahrzeuge.webp') center right / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(102deg, rgba(36,26,99,0.96) 0%, rgba(41,30,110,0.88) 44%, rgba(41,30,110,0.55) 100%),
    linear-gradient(0deg, rgba(20,14,58,0.55) 0%, rgba(20,14,58,0) 45%);
}
.hero-inner { position: relative; z-index: 2; padding: clamp(64px, 11vw, 130px) 0 clamp(56px, 9vw, 110px); max-width: 730px; }
.hero h1 { color: #fff; font-size: clamp(2.15rem, 5.4vw, 3.5rem); margin-bottom: 20px; }
.hero h1 .accent { color: #ffc7cb; }
.hero-sub { color: #ece9fb; font-size: clamp(1.05rem, 2.1vw, 1.25rem); line-height: 1.6; max-width: 600px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.hero-trust li {
  font-family: var(--font-head); font-weight: 500; font-size: 0.86rem; color: #fff;
  padding: 7px 15px; border: 1px solid rgba(255,255,255,0.32); border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06);
}

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 30px 28px; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit-ico {
  display: inline-flex; width: 52px; height: 52px; border-radius: 12px;
  align-items: center; justify-content: center; margin-bottom: 18px;
  background: #eef4fb; color: var(--blue);
}
.benefit-ico svg { width: 27px; height: 27px; }
.benefit h3 { font-size: 1.22rem; margin-bottom: 8px; }
.benefit p { color: var(--ink-soft); font-size: 1rem; }
.benefit.b-wide { border-top: 3px solid var(--red); }
.benefit.b-wide .benefit-ico { background: #fdeceD; color: var(--red); }
.benefit.b-accent { background: var(--indigo); border-color: var(--indigo); box-shadow: var(--shadow-lg); }
.benefit.b-accent h3 { color: #fff; }
.benefit.b-accent p { color: #ece9fb; }
.benefit.b-accent .benefit-ico { background: rgba(255,255,255,0.14); color: #fff; }

/* ---------- Jobs ---------- */
.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.job {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 34px 32px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.job-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.job-head > div { min-width: 0; }
.job-head h3 { hyphens: auto; }
.job-tag {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 0.76rem;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue);
  background: #eef4fb; padding: 6px 12px; border-radius: var(--r-pill); margin-bottom: 12px;
}
.job-head h3 { font-size: 1.5rem; color: var(--head); }
.job-head h3 .mwd { font-weight: 500; color: var(--ink-soft); font-size: 1rem; }
.job-emblem {
  flex: 0 0 auto; width: 54px; height: 54px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--indigo); color: #fff;
}
.job-emblem svg { width: 28px; height: 28px; }
.job-intro { color: var(--ink); font-size: 1.05rem; margin-bottom: 18px; }
.job-list { margin-bottom: 6px; }
.job-list li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink); }
.job-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px;
  background: var(--red); border-radius: 3px; clip-path: polygon(41% 72%, 12% 46%, 0 58%, 41% 96%, 100% 22%, 87% 10%);
}

.job-more { margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.job-more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.job-more h4 { font-size: 1.02rem; color: var(--indigo); margin-bottom: 10px; }
.mini-list li { position: relative; padding-left: 20px; margin-bottom: 8px; color: var(--ink-soft); font-size: 0.97rem; }
.mini-list li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

.job-actions { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.team-text p { color: var(--ink); margin-bottom: 16px; font-size: 1.06rem; }
.team-facts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.team-facts li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 14px 18px; box-shadow: var(--shadow); min-width: 130px;
}
.team-facts strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--indigo); }
.team-facts span { font-size: 0.9rem; color: var(--ink-soft); }
.team-photo img { width: 100%; border-radius: var(--r-img); box-shadow: var(--shadow-lg); object-fit: cover; }

/* ---------- Zitat / Ansprechpartner ---------- */
.section-quote { background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 100%); }
.quote-inner { display: flex; align-items: center; gap: clamp(24px, 5vw, 56px); }
.quote-photo { flex: 0 0 auto; width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255,255,255,0.25); }
.quote-body blockquote { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.3rem, 3vw, 1.9rem); color: #fff; line-height: 1.4; margin-bottom: 18px; }
.quote-name strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.05rem; }
.quote-name span { color: #d7d2fb; font-size: 0.95rem; }

/* ---------- Bewerbungsformular ---------- */
.section-apply { background: linear-gradient(180deg, #f4f0fd 0%, #fbf8ff 100%); }
.apply-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.apply-head .section-lead { margin-left: auto; margin-right: auto; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: clamp(26px, 4vw, 44px); max-width: 720px; margin: 0 auto;
}
.progress { height: 6px; background: #ece7f8; border-radius: var(--r-pill); overflow: hidden; margin-bottom: 12px; }
.progress-bar { height: 100%; width: 25%; background: linear-gradient(90deg, var(--blue), var(--indigo)); border-radius: var(--r-pill); transition: width .35s var(--ease); }
.step-count { font-family: var(--font-head); font-weight: 500; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 26px; }

.step { border: 0; display: none; }
.step.is-active { display: block; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step legend { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.25rem, 2.6vw, 1.55rem); color: var(--head); margin-bottom: 22px; }

/* Auswahl-Karten (Stelle) */
.choice-cards { display: grid; gap: 14px; }
.choice-card { position: relative; display: block; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; inset: 0; }
.choice-inner {
  display: block; border: 2px solid var(--line); border-radius: var(--r-card);
  padding: 20px 22px; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.choice-card:hover .choice-inner { border-color: var(--blue); }
.choice-card input:checked + .choice-inner { border-color: var(--indigo); background: #f4f2fd; box-shadow: 0 0 0 3px rgba(49,39,131,0.12); }
.choice-card input:focus-visible + .choice-inner { outline: 3px solid var(--blue); outline-offset: 2px; }
.choice-title { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.14rem; color: var(--head); margin-bottom: 4px; }
.choice-desc { display: block; color: var(--ink-soft); font-size: 0.98rem; }

/* Chips */
.q-label { font-family: var(--font-head); font-weight: 500; font-size: 1rem; color: var(--ink); margin: 22px 0 12px; }
.q-label:first-of-type { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-body); font-size: 0.98rem; color: var(--ink);
  background: #fff; border: 2px solid var(--line); border-radius: var(--r-pill);
  padding: 10px 18px; transition: all .18s var(--ease);
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-selected { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.chips-lg .chip { padding: 13px 22px; font-size: 1.02rem; }

/* Felder */
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; color: var(--ink); margin-bottom: 7px; }
.field .opt { font-family: var(--font-body); font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 2px solid var(--line); border-radius: var(--r-sm);
  background: #fff; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field input::placeholder, .field textarea::placeholder { color: #8a93a6; }
.field-file input { padding: 11px 13px; background: #faf9fe; }
.privacy-note { font-size: 0.86rem; color: var(--ink-soft); margin-top: 10px; }

.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; }
.form-nav .btn-primary { margin-left: auto; }

.field.err input { border-color: var(--red); }
.field-err { display: none; color: var(--red); font-size: 0.85rem; margin-top: 6px; font-family: var(--font-head); }

/* Erfolg */
.success { text-align: center; padding: 24px 10px 14px; animation: fade .4s var(--ease); }
.success-ico {
  display: inline-flex; width: 72px; height: 72px; border-radius: 50%;
  align-items: center; justify-content: center; background: #e8f6ee; color: #1e9e5a; margin-bottom: 20px;
}
.success-ico svg { width: 38px; height: 38px; }
.success h3 { font-size: 1.6rem; margin-bottom: 12px; }
.success p { color: var(--ink-soft); font-size: 1.08rem; max-width: 460px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo-deep); color: #fff; padding: 56px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: #d7d2fb; max-width: 320px; font-size: 0.98rem; }
.footer-contact h4, .footer-links h4 { font-size: 1.02rem; color: #fff; margin-bottom: 14px; }
.footer-contact p, .footer-links p { color: #d7d2fb; font-size: 0.97rem; margin-bottom: 12px; line-height: 1.7; }
.footer-contact a:hover, .footer-links a:hover { color: #fff; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .jobs { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-photo { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav {
    position: fixed; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px; box-shadow: var(--shadow-lg);
    transform: translateY(-140%); transition: transform .32s var(--ease); visibility: hidden;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 10px; }
  .burger { display: flex; }
  .benefits { grid-template-columns: 1fr; }
  .job-more-grid { grid-template-columns: 1fr; gap: 18px; }
  .quote-inner { flex-direction: column; text-align: center; }
  .field-row { grid-template-columns: 1fr; }
  .job { padding: 28px 22px; }
  .form-nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
