/**
 * EEB Karriere – Modernes Stylesheet
 * Full-Width Header & Bildintegration nach Kundenwunsch
 */

:root {
  --eeb-primary: #009ee0;
  --eeb-primary-hover: #0087be;
  --eeb-primary-light: #e6f6fc;
  --eeb-green: #7abc64;
  --eeb-dark: #212934;
  --eeb-gray-dark: #4a4e57;
  --eeb-gray-light: #f4f6f8;
  --eeb-gray-border: #e2e5e9;
  --eeb-white: #ffffff;
  --eeb-radius: 12px;
  --eeb-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --eeb-shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --eeb-shadow-lg: 0 16px 36px rgba(0,158,224,0.12);
  --eeb-font: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.eebk-wrapper {
  font-family: var(--eeb-font);
  color: var(--eeb-dark);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.eebk-wrapper * {
  box-sizing: border-box;
}

/* 1. FULL WIDTH HERO */
.eebk-hero-fullwidth {
  background: linear-gradient(135deg, #0c202e 0%, #13344b 45%, #18425f 100%);
  color: var(--eeb-white);
  padding: 135px 20px 45px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.eebk-hero-fullwidth::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 158, 224, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.eebk-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.eebk-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 45px;
}

.eebk-hero-text-col {
  padding-right: 15px;
}

.eebk-badge {
  display: inline-block;
  background: rgba(0, 158, 224, 0.25);
  border: 1px solid rgba(0, 158, 224, 0.5);
  color: #58c8f5;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.eebk-badge-light {
  background: var(--eeb-primary-light);
  border: 1px solid #bce4f7;
  color: var(--eeb-primary);
}

.eebk-hero-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 18px;
  color: #ffffff !important;
}

.eebk-hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #d1dde6;
  margin: 0 0 25px;
}

.eebk-hero-lead strong {
  color: #ffffff;
}

/* HERO CHECKMARKS (VORBILD DB / VORTEILE) */
.eebk-hero-checkmarks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.eebk-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  color: #edf3f8;
  font-weight: 600;
}

.eebk-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--eeb-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.eebk-hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* HERO MEDIA (BILD RECHTS) */
.eebk-hero-media-col {
  display: flex;
  justify-content: center;
}

.eebk-hero-image-wrap {
  width: 100%;
  max-width: 480px;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.eebk-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eebk-image-floating-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(14, 34, 50, 0.88);
  backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 13px;
  line-height: 1.3;
}

.eebk-image-floating-badge strong {
  display: block;
  font-size: 14px;
  color: #58c8f5;
}

.eebk-badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 6px #2ecc71;
}

/* STATS BAR */
.eebk-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 20px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
}

.eebk-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.eebk-stat-icon {
  font-size: 24px;
  background: rgba(255, 255, 255, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eebk-stat-text strong {
  display: block;
  font-size: 14.5px;
  color: #ffffff;
}

.eebk-stat-text span {
  font-size: 12px;
  color: #9cb5c7;
}

/* CONTENT CONTAINER */
.eebk-content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 15px 80px;
}

/* BUTTONS */
.eebk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1.2;
}

.eebk-btn-primary {
  background: var(--eeb-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 158, 224, 0.4);
}

.eebk-btn-primary:hover {
  background: var(--eeb-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 158, 224, 0.5);
  color: #ffffff !important;
}

.eebk-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.eebk-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.eebk-btn-apply-fast {
  background: var(--eeb-primary);
  color: #ffffff !important;
  padding: 11px 20px;
  font-size: 14px;
}

.eebk-btn-apply-fast:hover {
  background: var(--eeb-primary-hover);
  transform: translateY(-2px);
  color: #ffffff !important;
}

/* 2. SECTION COMMON */
.eebk-section {
  margin-bottom: 70px;
}

.eebk-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.eebk-section-tag {
  display: inline-block;
  color: var(--eeb-primary);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.eebk-section-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--eeb-dark);
  margin: 0 0 12px;
}

.eebk-section-desc {
  font-size: 16px;
  color: var(--eeb-gray-dark);
  margin: 0;
}

/* 3. BENEFITS GRID */
.eebk-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.eebk-benefit-card {
  background: var(--eeb-white);
  border: 1px solid var(--eeb-gray-border);
  border-radius: var(--eeb-radius);
  padding: 30px;
  box-shadow: var(--eeb-shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}

.eebk-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--eeb-shadow-md);
  border-color: #bce4f7;
}

.eebk-benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--eeb-primary-light);
  color: var(--eeb-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.eebk-benefit-icon svg {
  width: 26px;
  height: 26px;
}

.eebk-benefit-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--eeb-dark);
}

.eebk-benefit-card p {
  font-size: 14.5px;
  color: var(--eeb-gray-dark);
  margin: 0;
  line-height: 1.6;
}

/* 4. JOBS LIST MIT BILDERINTEGRATION */
.eebk-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.eebk-job-card {
  background: var(--eeb-white);
  border: 1px solid var(--eeb-gray-border);
  border-radius: var(--eeb-radius);
  padding: 26px 28px;
  box-shadow: var(--eeb-shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.eebk-job-card:hover {
  box-shadow: var(--eeb-shadow-md);
  border-color: #bce4f7;
}

.eebk-job-card.eebk-job-featured {
  border-left: 5px solid var(--eeb-primary);
}

/* JOB CARD 2-SPALTIG (TEXT + BILD) */
.eebk-job-card-main-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 28px;
  align-items: center;
}

.eebk-job-card-content {
  min-width: 0;
}

.eebk-job-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.eebk-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--eeb-gray-light);
  color: var(--eeb-gray-dark);
}

.eebk-tag-blue {
  background: var(--eeb-primary-light);
  color: var(--eeb-primary);
}

.eebk-tag-green {
  background: #eaf6e7;
  color: #3b8a22;
}

.eebk-job-title {
  font-size: 23px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--eeb-dark);
}

.eebk-job-sub {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.eebk-job-teaser {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--eeb-gray-dark);
}

.eebk-job-card-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* BILD IN DER JOB-CARD */
.eebk-job-card-media {
  width: 240px;
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--eeb-gray-border);
  flex-shrink: 0;
}

.eebk-job-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.eebk-job-card:hover .eebk-job-thumb {
  transform: scale(1.04);
}

/* TOGGLE BUTTON */
.eebk-toggle-btn {
  background: none;
  border: none;
  color: var(--eeb-primary);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
}

.eebk-toggle-btn:hover {
  color: var(--eeb-primary-hover);
}

.eebk-icon-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.eebk-toggle-btn.is-active .eebk-icon-arrow {
  transform: rotate(180deg);
}

/* DETAILS BODY */
.eebk-job-body {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--eeb-gray-border);
}

.eebk-job-grid-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 25px;
}

.eebk-detail-block h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--eeb-dark);
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--eeb-primary-light);
}

.eebk-detail-block ul {
  padding-left: 20px;
  margin: 0;
  font-size: 14px;
  color: var(--eeb-gray-dark);
}

.eebk-detail-block li {
  margin-bottom: 8px;
}

.eebk-job-footer-apply {
  background: var(--eeb-gray-light);
  padding: 16px 20px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* 5. PROCESS STEPS */
.eebk-process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  position: relative;
}

.eebk-step-card {
  background: var(--eeb-white);
  border: 1px solid var(--eeb-gray-border);
  border-radius: var(--eeb-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--eeb-shadow-sm);
  position: relative;
}

.eebk-step-number {
  width: 46px;
  height: 46px;
  background: var(--eeb-primary);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 10px rgba(0, 158, 224, 0.3);
}

.eebk-step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.eebk-step-card p {
  font-size: 14px;
  color: var(--eeb-gray-dark);
  margin: 0;
}

/* 6. FORMULAR */
.eebk-form-section {
  scroll-margin-top: 100px;
}

.eebk-form-card {
  background: #ffffff;
  border: 1px solid var(--eeb-gray-border);
  border-radius: var(--eeb-radius);
  padding: 45px 35px;
  box-shadow: var(--eeb-shadow-lg);
  max-width: 820px;
  margin: 0 auto;
}

.eebk-form-header {
  text-align: center;
  margin-bottom: 30px;
}

.eebk-form-header h2 {
  font-size: 30px;
  font-weight: 800;
  margin: 8px 0;
  color: var(--eeb-dark);
}

.eebk-form-header p {
  color: var(--eeb-gray-dark);
  font-size: 16px;
  margin: 0;
}

.eebk-form-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.eebk-col-12 {
  flex: 1 1 100%;
}

.eebk-col-6 {
  flex: 1 1 calc(50% - 9px);
  min-width: 250px;
}

.eebk-form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--eeb-dark);
}

.eebk-form-group label .req {
  color: #e74c3c;
}

.eebk-input,
.eebk-select,
.eebk-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--eeb-gray-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  color: var(--eeb-dark);
  background: #fafbfc;
  transition: all 0.2s ease;
}

.eebk-input:focus,
.eebk-select:focus,
.eebk-textarea:focus {
  outline: none;
  border-color: var(--eeb-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 158, 224, 0.15);
}

/* FILE UPLOAD */
.eebk-file-upload-box {
  position: relative;
}

.eebk-file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.eebk-file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 2px dashed #bce4f7;
  border-radius: 8px;
  background: #f7fbfe;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.eebk-file-input:hover + .eebk-file-label,
.eebk-file-input:focus + .eebk-file-label {
  border-color: var(--eeb-primary);
  background: var(--eeb-primary-light);
}

.eebk-file-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.eebk-file-text {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--eeb-primary);
}

.eebk-file-hint {
  font-size: 11px;
  color: #7d8b99;
}

.eebk-file-label.has-file {
  border-color: #27ae60;
  background: #f1fbf4;
}

.eebk-file-label.has-file .eebk-file-text {
  color: #27ae60;
}

/* CHECKBOX */
.eebk-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--eeb-gray-dark);
  cursor: pointer;
}

.eebk-checkbox-label input {
  margin-top: 3px;
  accent-color: var(--eeb-primary);
}

/* SUBMIT */
.eebk-form-submit {
  text-align: center;
  margin-top: 25px;
}

.eebk-btn-submit {
  background: var(--eeb-primary);
  color: #fff !important;
  font-size: 16px;
  padding: 15px 36px;
  border-radius: 8px;
  width: 100%;
  max-width: 380px;
}

.eebk-btn-submit:hover {
  background: var(--eeb-primary-hover);
  transform: translateY(-2px);
}

.eebk-privacy-note {
  font-size: 12px;
  color: #8c97a4;
  margin-top: 10px;
}

/* SPINNER */
.eebk-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: eebkSpin 0.7s infinite linear;
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes eebkSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* FEEDBACK MESSAGES */
.eebk-feedback {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 14.5px;
  text-align: center;
  font-weight: 600;
}

.eebk-feedback.is-success {
  background: #eaf8ee;
  border: 1px solid #c2ebd0;
  color: #1b7e3b;
}

.eebk-feedback.is-error {
  background: #fdf2f2;
  border: 1px solid #f8c9c9;
  color: #c02b2b;
}

/* 7. KONTAKT */
.eebk-contact-card {
  background: var(--eeb-gray-light);
  border: 1px solid var(--eeb-gray-border);
  border-radius: var(--eeb-radius);
  padding: 35px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.eebk-contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}

.eebk-contact-info p {
  font-size: 15px;
  color: var(--eeb-gray-dark);
  margin-bottom: 15px;
}

.eebk-contact-details p {
  margin: 4px 0;
  font-size: 14.5px;
}

.eebk-contact-details a {
  color: var(--eeb-primary);
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .eebk-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .eebk-hero-text-col {
    padding-right: 0;
  }
  .eebk-hero-actions {
    justify-content: center;
  }
  .eebk-hero-checkmarks {
    align-items: flex-start;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  .eebk-job-card-main-layout {
    grid-template-columns: 1fr;
  }
  .eebk-job-card-media {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .eebk-hero-fullwidth {
    padding: 110px 15px 35px;
  }
  .eebk-form-card {
    padding: 25px 18px;
  }
  .eebk-col-6 {
    flex: 1 1 100%;
  }
}
