/* ==========================================================
   SUBPAGES � MASTER (CAREERS + EDU + TEAM + LEGAL + FORMS)
   - Scoping �ber Body-Klassen
   - keine eigenen CI-Variablen (nutzt --ix-* aus styles.css)
   ========================================================== */

/* ----------------------------------------------------------
   Shared Layout (Subpages)
---------------------------------------------------------- */
.section-subpage{ padding: 22px 0 40px; }
.mb-40{ margin-bottom: 40px; }
.jobs-grid{ margin-top: 10px; row-gap: 20px; }

/* ----------------------------------------------------------
   Shared Buttons (nur Subpages)
   - Farben und Typografie kommen zentral aus styles.css
---------------------------------------------------------- */
.careers-page .btn-primary,
.edu-page .btn-primary,
.team-page .btn-primary{

  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;

  text-decoration: none !important;
}
.careers-page .btn-primary:hover,
.careers-page .btn-primary:focus,
.careers-page .btn-primary:active,
.edu-page .btn-primary:hover,
.edu-page .btn-primary:focus,
.edu-page .btn-primary:active,
.team-page .btn-primary:hover,
.team-page .btn-primary:focus,
.team-page .btn-primary:active{
  text-decoration: none !important;
  box-shadow: 0 0 0 0.2rem rgba(0,120,191,0.25);
}

/* ----------------------------------------------------------
   Shared Footer Links (Subpages immer wei�)
---------------------------------------------------------- */
.careers-page .site-footer a,
.edu-page .site-footer a,
.team-page .site-footer a,
.legal-page .site-footer a{
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 500;
}
.careers-page .site-footer a:hover,
.edu-page .site-footer a:hover,
.team-page .site-footer a:hover,
.legal-page .site-footer a:hover{
  color: #ffffff !important;
  text-decoration: none !important;
  opacity: 0.9;
}
.careers-page .site-footer .sep,
.edu-page .site-footer .sep,
.team-page .site-footer .sep,
.legal-page .site-footer .sep{
  color: rgba(255,255,255,0.7);
}

/* ==========================================================
   CAREERS PAGE (Stellenangebote)
   body.careers-page
   ========================================================== */

/* Anker-Scroll */
.careers-page [id^="stellenangebote-"]{ scroll-margin-top: 120px; }

/* Links: grunds�tzlich unterstrichen wie alte Jobs-Seite */
.careers-page .content-wrap a{
  color: var(--ix-blue);
  font-weight: 600;
  text-decoration: underline;
}

/* Exceptions: bestimmte Links ohne Unterstrich */
.careers-page .content-wrap a.benefits-link{ text-decoration: none; }
.careers-page .content-wrap a.benefits-link:hover{ text-decoration: underline; }

/* Job Cards */
.careers-page .job-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 180px;
  width: 100%;

  padding: 22px 20px;
  text-align: center;
  gap: 14px;

  border: 1px solid #dee2e6;
  border-radius: 10px;
  background: #fff;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.careers-page .job-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* Titel */
.careers-page .job-title{
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: #777;
}

/* Actions (ersetzt <br>) */
.careers-page .job-actions{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* PDF-Link in Jobcards � ohne Unterstrich */
.careers-page .content-wrap a.job-pdf-link{
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
}
.careers-page .content-wrap a.job-pdf-link:hover{ text-decoration: none; }

/* Standort-Headlines */
.careers-page h4{
  color: var(--ix-blue);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Job Kategorien */
.careers-page .job-category{
  margin-top: 32px;
  margin-bottom: 14px;
  padding-top: 14px;

  font-size: 0.95rem;
  font-weight: 600;
  color: #777;

  border-top: 1px solid #e6e6e6;
}


/* USA Highlight Job */
.careers-page .job-title-usa{
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #777;
}
.careers-page .usa-line{
  font-weight: 700;
  font-size: 0.9rem;
}
.careers-page .usa-blue{
  color: var(--ix-blue);
  margin-right: 6px;
}
.careers-page .usa-red{ color: #DC0005; }
.careers-page .usa-role{
  font-weight: 600;
  font-size: 0.85rem;
  color: #333;
}

/* Vacancies kompakter machen (optional, bleibt scoped) */
.section-vacancies .job-card{
  padding: 16px 18px;
  min-height: auto;
}
.section-vacancies .job-title{
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #777;
}
.section-vacancies .job-actions{ margin-top: 6px; }
.section-vacancies .job-actions .btn{
  font-size: 13px;
  padding: 5px 12px;
}

.careers-page .job-actions .btn-primary{
  background-color: var(--ix-blue) !important;
  border-color: var(--ix-blue) !important;
  color: #ffffff !important;
}

.careers-page .job-actions .btn-primary:hover,
.careers-page .job-actions .btn-primary:focus,
.careers-page .job-actions .btn-primary:active{
  background-color: var(--ix-blue-dark) !important;
  border-color: var(--ix-blue-dark) !important;
  color: #ffffff !important;
}

/* ==========================================================
   EDU PAGE (Ausbildung/Studium)
   body.edu-page
   ========================================================== */

/* Headlines in Blau */
.edu-page h4{
  color: var(--ix-blue);
  font-weight: 600;
}

/* Blue-Bold Labels */
.edu-page .blue-bold{
  color: var(--ix-blue);
  font-weight: 600;
}

/* Links: keine Unterstreichung */
.edu-page .content-wrap a{
  color: var(--ix-blue);
  font-weight: 600;
  text-decoration: none;
}
.edu-page .content-wrap a:hover{ text-decoration: none; }

/* EDU Cards mit Bild */
.edu-page .edu-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  width: 100%;
  min-height: 360px;

  padding: 18px;
  text-align: center;
  gap: 12px;

  border: 1px solid #dee2e6;
  border-radius: 10px;
  background: #fff;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.edu-page .edu-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.edu-page .edu-title{
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: #777;
}

.edu-page .edu-img{
  width: 100%;
  height: auto;
  max-height: 170px;
  object-fit: cover;
  border-radius: 8px;
}

.edu-page .edu-actions{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* PDF-Link: klein, ohne Unterstreichung */
.edu-page .edu-pdf-link{
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}
.edu-page .edu-pdf-link:hover{ text-decoration: none; }

.edu-page .edu-contact{ margin-top: 18px; }

.edu-subtitle{
  min-height: 24px;   /* reserviert exakt eine Zeile */
  margin: 0 0 10px;
  color: #777;
}

/* ==========================================================
   TEAM PAGE
   body.team-page
   ========================================================== */
.team-page .content-wrap a{
  color: var(--ix-blue);
  font-weight: 600;
  text-decoration: none;
}
.team-page .content-wrap a:hover{ text-decoration: none; }

.team-page h2{
  color: var(--ix-blue);
  font-weight: 600;
}

.team-page h4{
  font-size: 1.2rem;
  color: var(--ix-blue);
  font-weight: 600;
  margin-top: 26px;
  margin-bottom: 12px;
}

.team-page .team-grid{ row-gap: 20px; }

.team-page .team-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;

  padding: 18px;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  background: #fff;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.team-page .team-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.team-page .team-img{
  width: 100%;
  max-width: 264px;
  height: auto;
  border-radius: 10px;
  display: block;
}

.team-page .team-meta{
  font-size: 0.9rem;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-page .contact-card{
  padding: 16px;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  background: #fff;
}

/* Team Lightbox */
#teamLightbox{ padding-top: 110px; }
#teamLightbox .modal-content{
  border: 0;
  border-radius: 12px;
  overflow: hidden;
}
#teamLightbox .modal-footer{ background: #fff; }
#teamLightbox .modal-dialog{ max-width: 900px; }
#teamLightboxImg{
  max-height: 62vh;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}


/* ==========================================================
   LEGAL PAGE (AGB / Impressum / Datenschutz / Hinweisgeber)
   body.legal-page
   ========================================================== */
.legal-page .content-wrap a{
  color: var(--ix-blue);
  font-weight: 600;
  text-decoration: none;
}
.legal-page .content-wrap a:hover{ text-decoration: none; }

.legal-page .content-wrap h2{
  color: var(--ix-blue);
  font-weight: 600;
}

/* Privacy Content (Datenschutz) */
.privacy-content h3{
  margin-top: 30px;
  font-size: 18px;
  font-family: "DINOT-bold", sans-serif;
}
.privacy-content p{ margin-bottom: 14px; }
.privacy-content ul{ margin-bottom: 14px; }

/* Checkbox-Blocks (nur legal/form) */
.legal-page .form-check-block,
#feedback-form-new .form-check-block{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.legal-page .form-check-block label,
#feedback-form-new .form-check-block label{
  cursor: pointer;
}

/* ==========================================================
   Hinweisgeber � neues Formular
   (#feedback-form-new)
   ========================================================== */
#feedback-form-new{
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 26px 28px 22px;

  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;

  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;

  display: block;
}

/* Inputs/Textarea */
#feedback-form-new .new-input{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;

  padding: 11px 14px;
  margin-bottom: 12px;

  font-size: 15px;
  line-height: 1.4;

  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
}
#feedback-form-new .new-input:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 120, 191, 0.15);
}

#feedback-form-new textarea.new-input{
  min-height: 160px;
  resize: vertical;
  font-family: inherit;
}

/* Submit */
#feedback-form-new .submit_form_new{
  min-width: 260px;
  height: 50px;
  line-height: 50px;

  padding: 0 34px;
  border-radius: 10px;
  background-color: var(--ix-blue);
  border: none;
  color: #fff;

  font-size: 16px;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;

  display: inline-block;
  margin-left: auto; /* rechts ausrichten */
  float: none;
}
#feedback-form-new .submit_form_new:hover{
  background-color: var(--ix-blue-dark);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

/* Mobile */
@media (max-width: 767px){
  #feedback-form-new{ padding: 20px 16px 18px; }
  #feedback-form-new .submit_form_new{
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }
}

/* ==========================================================
   EDU - Express Bewerbung Modal
   ========================================================== */
.edu-apply-modal .modal-content{
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.edu-apply-modal .modal-header{
  background: var(--ix-blue-3);
  color: #fff;
  border: 0;
}

.edu-apply-modal .modal-title{ color: #fff; }

.edu-apply-modal .btn-close{
  filter: invert(1);
  opacity: 1;
}

.edu-page .edu-apply-btn{
  margin-top: 6px;
}

/* Honeypot in Modal */
#modalExpressApply .hp-field{ display:none; }

/* Abstand der Trennlinien auf der Stellenangebote-Seite */
.careers-page .jobs-grid + .section-divider {
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
}

/* Kategorien nach einer Job-Gruppe etwas luftiger setzen */
.careers-page .jobs-grid + .job-category {
  margin-top: 3rem;
}
