/* === DESIGN-BRIEF KARRIERESEITE — Builver === */
/* A) DESIGN-TOKENS */
:root {
  --primary:        #1E7A3C;
  --primary-hover:  #176130;
  --primary-soft:   #E8F3EC;
  --text:           #111827;
  --text-muted:     #6B7280;
  --border:         #E5E7EB;
  --surface:        #F7F8FA;
  --bg:             #FFFFFF;
  --font:           "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      16px;
  --container:      760px;
  --space-section:  56px;
}

/* === GLOBAL RESET === */
html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, p, ul, li { margin: 0; padding: 0; }
ul { list-style: none; }

/* === CONTAINER === */
.kb-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* === C) HEADER === */
.kb-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
}
.kb-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}
.kb-header-logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.kb-header-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.kb-header-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.15s;
}
.kb-header-nav a:hover { color: var(--primary); }
.kb-header-cta {
  background: var(--primary);
  color: #fff;
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s;
}
.kb-header-cta:hover { background: var(--primary-hover); color: #fff; text-decoration: none; }
.kb-burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  padding: 0 4px;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  height: 44px;
  line-height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  font-family: var(--font);
}
.btn-primary:hover { background: var(--primary-hover); color: #fff; text-decoration: none; }
.btn-primary:disabled { background: #9ca3af; cursor: not-allowed; }

/* === D) KOPFBEREICH — 1:1 WIE STARTSEITE (heller grüner Verlauf) === */
.kb-hero-light {
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
  padding: 4rem 1.5rem;
}
.kb-hero-light-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.kb-hero-light-text h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #14532d;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}
.kb-slogan {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #1E7A3C;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  text-transform: none;
}
.kb-hero-light-text p {
  font-size: 1.1rem;
  color: #4a5d4a;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  max-width: 600px;
}
.kb-hero-light-btn {
  display: inline-block;
  background: #1E7A3C;
  color: #fff;
  padding: 13px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.15s;
}
.kb-hero-light-btn:hover { background: #22c55e; color: #fff; text-decoration: none; transform: translateY(-1px); }

/* === D) KOPFBEREICH (alte weiß-Version, nicht mehr verwendet) === */
.kb-hero {
  padding: 72px 0 48px;
  background: var(--bg);
}
.kb-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.kb-h1 {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 16px 0;
}
.kb-subline {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 24px 0;
}
.kb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.kb-chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.kb-hero-btn { height: 44px; line-height: 44px; }

/* === E) FAKTEN + INHALT — mit grünem Farbverlauf === */
.kb-facts-content {
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
  padding: 3rem 1.5rem;
}
.kb-facts-content .kb-container { max-width: 760px; margin: 0 auto; }

.kb-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: rgba(255,255,255,0.7);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 2.5rem;
}
.kb-fact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.kb-fact-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

/* Inhalt — 3 Spalten nebeneinander */
.kb-content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.kb-content-block {
  background: rgba(255,255,255,0.6);
  border: 1px solid #d1e7d1;
  border-radius: 12px;
  padding: 20px;
}
.kb-h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: #14532d;
  margin: 0 0 12px 0;
}
.kb-list { list-style: none; padding-left: 0; margin: 0; }
.kb-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}
.kb-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.kb-list li:last-child { margin-bottom: 0; }

/* F2: Gehaltskarten */
.kb-salary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.kb-salary-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--bg);
}
.kb-salary-model {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 8px;
}
.kb-salary-amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.kb-salary-detail {
  font-size: 14px;
  color: var(--text-muted);
}

/* === G) BEWERBUNGSFORMULAR === */
.kb-form-section {
  background: var(--surface);
  padding: 72px 0;
  scroll-margin-top: 80px;
}
.kb-form-card {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.kb-form-h2 {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px 0;
}
.kb-form-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 32px 0;
}

/* Gruppenüberschriften */
.kb-form-group { margin-top: 32px; }
.kb-form-group:first-of-type { margin-top: 0; }
.kb-group-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.kb-group-help {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Feld-Raster */
.kb-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
  row-gap: 20px;
}
.kb-field { display: flex; flex-direction: column; }

/* Labels */
.kb-field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

/* Inputs */
.kb-field input,
.kb-field select {
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 16px;
  color: var(--text);
  width: 100%;
  font-family: var(--font);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.kb-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%236B7280' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.kb-field input:focus,
.kb-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,122,60,0.2);
}
.kb-field input::placeholder { color: #9ca3af; }

/* Hilfetext */
.kb-help {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Handynummer mit Ländervorwahl */
.kb-phone-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 44px;
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.kb-phone-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,122,60,0.2);
}
.kb-phone-cc {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
  background: var(--surface);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
.kb-phone-wrap input {
  flex: 1;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 14px !important;
  height: 44px !important;
  font-size: 16px;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--font);
}
.kb-phone-wrap input:focus {
  outline: none;
  border: none !important;
  box-shadow: none !important;
}

/* Passwort-Feld */
.kb-pw-wrap { position: relative; width: 100%; }
.kb-pw-wrap input { padding-right: 44px !important; }
.kb-pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 4px 8px;
  z-index: 10;
}
.kb-pw-toggle:hover { color: var(--primary); }

/* Datei-Upload */
.kb-file-hidden {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.kb-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.15s;
  width: 100%;
}
.kb-dropzone:hover { border-color: var(--primary); }
.kb-dropzone-main { font-size: 15px; color: var(--text); }
.kb-dropzone-sub { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Absenden-Button */
.kb-submit-btn {
  width: 100%;
  height: 48px;
  line-height: 48px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 32px;
}

/* Datenschutz */
.kb-datenschutz {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}
.kb-datenschutz a {
  color: var(--primary);
  text-decoration: underline;
}

/* === FOOTER === */
.kb-footer {
  background: #14532d;
  border-top: none;
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}
.kb-footer-links {
  margin-bottom: 1.5rem;
}
.kb-footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin: 0 0.5rem;
  font-size: 14px;
  transition: color 0.15s;
}
.kb-footer-links a:hover { color: #86efac; }
.kb-footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.kb-footer-bottom p { margin: 0; }

/* === STARTSEITE — HERO === */
.bv-page-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bv-page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #14532d 0%, #1E7A3C 100%);
  z-index: -2;
}
.bv-page-hero-img {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  background-image: url('https://images.unsplash.com/photo-1551434678-e076c223a692?w=1600&q=80');
  background-size: cover;
  background-position: center;
}
.bv-page-hero-content {
  max-width: 800px;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
}
.bv-page-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.bv-page-hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 1rem 0;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.bv-page-hero p {
  font-size: 1.15rem;
  color: #CBD5E1;
  margin: 0 auto 2rem auto;
  max-width: 600px;
  line-height: 1.6;
}
.bv-page-hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.bv-page-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #14532d;
  padding: 14px 36px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.2s;
}
.bv-page-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.25); color: #14532d; text-decoration: none; }
.bv-page-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 14px 36px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.2s;
}
.bv-page-btn-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); color: #fff; text-decoration: none; }

/* === STATS === */
.bv-page-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 2.5rem 1.5rem;
  background: #f0fdf4;
  flex-wrap: wrap;
}
.bv-page-stat { text-align: center; }
.bv-page-stat strong { display: block; font-size: 2rem; font-weight: 900; color: #1E7A3C; }
.bv-page-stat span { color: #4a5d4a; font-size: 0.85rem; }

/* === SECTION === */
.bv-page-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.bv-page-section-title { text-align: center; margin-bottom: 2.5rem; }
.bv-page-section-title h2 { font-size: 2rem; font-weight: 800; color: #111827; margin: 0 0 0.5rem 0; }
.bv-page-section-title p { color: #6B7280; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.bv-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.bv-page-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  transition: all 0.3s;
}
.bv-page-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.bv-page-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #1E7A3C;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: #fff;
}
.bv-page-card h3 { font-size: 1.1rem; font-weight: 700; color: #111827; margin: 0 0 0.4rem 0; }
.bv-page-card p { font-size: 0.88rem; color: #6B7280; line-height: 1.5; margin: 0; }

/* === CTA === */
.bv-page-cta {
  background: #14532d;
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.bv-page-cta h2 { font-size: 1.8rem; font-weight: 800; color: #fff; margin: 0 0 0.8rem 0; }
.bv-page-cta p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin: 0 0 1.5rem 0; }
.bv-page-cta .bv-page-btn-primary { background: #fff; color: #14532d; }

/* === MOBIL === */
@media (max-width: 768px) {
  .kb-h1 { font-size: 32px; }
  .kb-container { padding: 0 20px; }
  .kb-hero { padding: 48px 0 32px; }
  .kb-facts-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 16px; margin-bottom: 1.5rem; }
  .kb-content-grid { grid-template-columns: 1fr; gap: 12px; }
  .kb-content-block { padding: 16px; }
  .kb-h3 { font-size: 16px; }
  .kb-list li { font-size: 14px; margin-bottom: 6px; }
  .kb-field-grid { grid-template-columns: 1fr; }
  .kb-form-section { padding: 32px 0; }
  .kb-form-card { padding: 20px; }

  /* Header mobil */
  .kb-header-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .kb-header-nav.open { display: flex; }
  .kb-header-nav a { padding: 0.75rem 0; font-size: 16px; border-bottom: 1px solid #f3f4f6; }
  .kb-burger { display: block; }
  .kb-header-cta { display: none; }

  /* Startseite mobil */
  .bv-page-hero { min-height: 400px; }
  .bv-page-hero h1 { font-size: 1.8rem; }
  .bv-page-hero p { font-size: 1rem; }
  .bv-page-hero-content { padding: 3rem 1.5rem; }
  .bv-page-btn-primary, .bv-page-btn-secondary { padding: 12px 28px; font-size: 0.95rem; }
  .bv-page-stats { gap: 1.5rem; padding: 2rem 1rem; }
  .bv-page-stat strong { font-size: 1.5rem; }
  .bv-page-grid { grid-template-columns: 1fr; }
  .bv-page-section { padding: 2.5rem 1.5rem; }
  .bv-page-cta { padding: 2.5rem 1.5rem; }
  .bv-page-cta h2 { font-size: 1.4rem; }

  /* Bewerbungsseite Hero-Light mobil */
  .kb-hero-light { padding: 2.5rem 1rem; }
  .kb-hero-light-text h1 { font-size: 1.5rem; line-height: 1.25; word-wrap: break-word; overflow-wrap: break-word; }
  .kb-hero-light-text p { font-size: 0.95rem; }
  .kb-hero-light-btn { padding: 11px 24px; font-size: 0.95rem; }
  .kb-slogan { font-size: 0.85rem; }
  .kb-hero-light-inner { max-width: 100%; overflow: hidden; }

  /* Overflow prevention */
  body { overflow-x: hidden; max-width: 100vw; }
  .kb-container { max-width: 100%; padding: 0 16px; box-sizing: border-box; }

  /* Bewerbungsseite Gradient-Hero mobil */
  .kb-hero-gradient { min-height: 380px; }
  .kb-hero-gradient h1 { font-size: 1.6rem; }
  .kb-hero-gradient p { font-size: 0.95rem; }
  .kb-hero-gradient-content { padding: 3rem 1.5rem; }
  .kb-hero-btn-white { padding: 12px 28px; font-size: 0.95rem; }
  .kb-hero-chip { font-size: 12px; height: 28px; padding: 0 10px; }
}
