#career-page {
  --career-gold: #d7ae55;
  --career-gold-light: #f0d591;
  --career-bg: #08090b;
  --career-panel: #111318;
  --career-border: rgba(215, 174, 85, 0.28);
  min-height: 72vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(215, 174, 85, 0.12), transparent 32rem),
    linear-gradient(180deg, #0b0d10 0%, var(--career-bg) 100%);
  color: #f5f5f3;
  padding: 7.5rem 1.25rem 5rem;
}

.career-shell { max-width: 1040px; margin: 0 auto; }
.career-kicker { color: var(--career-gold); font-size: .82rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.career-title { max-width: 760px; margin: .65rem 0 .8rem; font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.05; }
.career-intro { max-width: 650px; margin: 0; color: #c6c8cd; font-size: 1.05rem; line-height: 1.7; }
.career-heading { margin: 3.5rem 0 1rem; font-size: clamp(1.5rem, 3vw, 2.2rem); }

.career-job,
.career-form-card {
  background: linear-gradient(145deg, rgba(24, 26, 31, .98), rgba(13, 15, 18, .98));
  border: 1px solid var(--career-border);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

.career-job { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; padding: 1.7rem; overflow: hidden; border: 2px solid rgba(215,174,85,.62); background: linear-gradient(135deg, rgba(215,174,85,.22), rgba(24,26,31,.98) 48%, rgba(13,15,18,.98)); box-shadow: 0 24px 70px rgba(0,0,0,.34), 0 0 34px rgba(215,174,85,.1); }
.career-job::before { content: 'Aktuell offen'; position: absolute; top: 0; right: 1.25rem; padding: .42rem .8rem; border-radius: 0 0 9px 9px; background: #d7ae55; color: #111; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.career-job h2 { margin: 0 0 .35rem; padding-right: 6rem; color: #f0d591; font-size: clamp(1.25rem, 3vw, 1.75rem); }
.career-job-subtitle { color: #ddd; margin: 0 0 1rem; }
.career-facts { display: flex; flex-wrap: wrap; gap: .55rem; }
.career-facts span { border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: .48rem .8rem; color: #d5d7dc; font-size: .9rem; }

.career-primary,
.career-secondary {
  min-height: 46px;
  border-radius: 10px;
  padding: .76rem 1.15rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.career-primary { border: 1px solid var(--career-gold); background: var(--career-gold); color: #111; }
.career-primary:hover { background: var(--career-gold-light); border-color: var(--career-gold-light); }
.career-secondary { border: 1px solid rgba(255,255,255,.2); background: transparent; color: #f5f5f3; }
.career-secondary:hover { border-color: var(--career-gold); color: var(--career-gold-light); }

#career-application { scroll-margin-top: 7rem; }
.career-form-card { margin-top: 3.5rem; padding: clamp(1.25rem, 4vw, 2.25rem); }
.career-form-card h2 { margin: 0 0 .35rem; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.career-form-note { color: #adb0b7; margin: 0 0 1.6rem; }
.career-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: .45rem; margin-bottom: 2rem; }
.career-progress-step { color: #888c95; font-size: .78rem; line-height: 1.25; }
.career-progress-step::before { content: ''; display: block; height: 4px; margin-bottom: .55rem; border-radius: 99px; background: #30333a; }
.career-progress-step.is-active { color: var(--career-gold-light); }
.career-progress-step.is-active::before,
.career-progress-step.is-done::before { background: var(--career-gold); }

.career-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.career-step[hidden] { display: none; }
.career-step legend { width: 100%; margin-bottom: 1.4rem; font-size: 1.3rem; font-weight: 700; }
.career-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.career-field { display: grid; gap: .45rem; }
.career-field label,
.career-group-title { color: #dcdde1; font-size: .95rem; font-weight: 600; }
.career-field input,
.career-field select,
.career-field textarea {
  width: 100%;
  border: 1px solid #3a3d44;
  border-radius: 9px;
  background: #0b0d10;
  color: #fff;
  padding: .8rem .9rem;
  font: inherit;
}
.career-field input:focus,
.career-field select:focus,
.career-field textarea:focus { outline: 2px solid rgba(215,174,85,.35); border-color: var(--career-gold); }
.career-field textarea { min-height: 100px; resize: vertical; }
.career-upload-section { display: grid; gap: 1rem; margin-top: 1.25rem; margin-bottom: 1.25rem; border: 1px solid rgba(215,174,85,.25); border-radius: 12px; padding: 1rem; background: rgba(215,174,85,.045); }
.career-upload-section .career-group-title { margin: 0 0 .25rem; color: var(--career-gold-light); font-size: 1.05rem; }
.career-upload-note { margin: 0; color: #adb0b7; font-size: .9rem; line-height: 1.45; }
.career-upload-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.career-upload-field { min-width: 0; }
.career-upload-field input[type="file"] { padding: .65rem; color: #dcdde1; font-size: .88rem; }
.career-upload-field input[type="file"]::file-selector-button { margin-right: .65rem; border: 1px solid var(--career-gold); border-radius: 7px; padding: .5rem .65rem; background: var(--career-gold); color: #111; font: inherit; font-weight: 700; cursor: pointer; }
.career-choice-group { display: grid; gap: .65rem; margin-bottom: 1.15rem; }
.career-choice { display: flex; align-items: flex-start; gap: .65rem; border: 1px solid #34373e; border-radius: 9px; padding: .75rem .85rem; background: rgba(255,255,255,.02); cursor: pointer; }
.career-choice:has(input:checked) { border-color: var(--career-gold); background: rgba(215,174,85,.08); }
.career-choice input { margin-top: .2rem; accent-color: var(--career-gold); }
.career-actions { display: flex; justify-content: space-between; gap: .8rem; margin-top: 1.7rem; }
.career-actions .only-next { margin-left: auto; }
.career-demo-notice { margin-top: 1rem; border: 1px solid var(--career-border); border-radius: 9px; padding: .85rem 1rem; color: var(--career-gold-light); background: rgba(215,174,85,.08); }

.enhancement-section,
.service-detail-page {
  --career-gold: #d7ae55;
  --career-gold-light: #f0d591;
  --career-border: rgba(215, 174, 85, .28);
  background: #090a0d;
  color: #f5f5f3;
  padding: 5rem 1.25rem;
}
.enhancement-section:nth-of-type(even) { background: #0d0f13; }
.enhancement-shell,
.service-detail-shell { width: min(1080px, 100%); margin: 0 auto; }
.enhancement-shell > h2,
.service-process > h2 { margin: .55rem 0 1.8rem; font-size: clamp(1.7rem, 4vw, 2.7rem); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust-grid article { min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--career-border); border-radius: 14px; padding: 1.25rem; background: linear-gradient(145deg, #17191e, #0f1115); }
.trust-grid strong { color: var(--career-gold-light); font-size: 1.35rem; }
.trust-grid span { color: #c8cad0; margin-top: .35rem; line-height: 1.45; }

.faq-shell { max-width: 920px; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: .8rem; }
.faq-list details:last-child:nth-child(odd) { grid-column: 1 / -1; }
.faq-list details { border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: #111318; overflow: hidden; }
.faq-list summary { list-style: none; cursor: pointer; padding: 1rem 3rem 1rem 1.1rem; font-weight: 700; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 1.1rem; color: var(--career-gold); font-size: 1.35rem; top: .72rem; }
.faq-list details[open] summary::after { content: '–'; }
.faq-list p { margin: 0; padding: 0 1.1rem 1.1rem; color: #bdc0c7; line-height: 1.65; }

.service-clickable-card { position: relative; display: flex; flex-direction: column; height: 100%; cursor: pointer; transition: transform .2s ease, border-color .2s ease; }
.service-clickable-card .service-body { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.service-clickable-card:hover,
.service-clickable-card:focus-visible { transform: translateY(-4px); outline: none; border-color: #d7ae55 !important; }
.service-more-link { display: inline-block; align-self: flex-start; margin-top: auto; padding-top: 1.25rem; color: #e5c578 !important; font-weight: 700; text-decoration: none; }

.service-detail-page { min-height: 72vh; padding-top: 8rem; background: radial-gradient(circle at 85% 5%, rgba(215,174,85,.1), transparent 28rem), #090a0d; }
.service-back { display: inline-block; margin-bottom: 2rem; color: #d7ae55; text-decoration: none; }
.service-detail-page h1 { max-width: 800px; margin: .55rem 0 .8rem; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.06; }
.service-detail-intro { max-width: 720px; color: #c3c5cb; font-size: 1.1rem; line-height: 1.7; }
.service-detail-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.service-detail-card { border: 1px solid var(--career-border); border-radius: 16px; padding: 1.5rem; background: linear-gradient(145deg, #17191e, #0f1115); }
.service-detail-card h2 { margin: 0 0 1rem; font-size: 1.35rem; }
.service-detail-card ul { display: grid; gap: .7rem; margin: 0; padding-left: 1.2rem; color: #d0d2d7; }
.service-detail-card li::marker { color: #d7ae55; }
.service-process { margin-top: 4rem; }
.service-process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; }
.service-process-grid article { border-top: 2px solid #d7ae55; padding: 1rem .25rem 0; }
.service-process-grid h3 { margin: 0 0 .55rem; font-size: 1rem; }
.service-process-grid p { margin: 0; color: #aeb1b8; font-size: .93rem; line-height: 1.55; }
.service-detail-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 4rem; border: 1px solid var(--career-border); border-radius: 16px; padding: 1.5rem; background: rgba(215,174,85,.06); }
.service-detail-cta h2 { margin: .35rem 0 0; font-size: clamp(1.3rem, 3vw, 2rem); }
.service-detail-cta .career-primary { text-decoration: none; white-space: nowrap; }

.contact-extra-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1rem; }
.contact-form label > span,
.contact-extra-grid label { color: #fff !important; }
.contact-card .contact-detail strong { color: #fff !important; }
.contact-address-link { color: var(--muted) !important; line-height: 1.75; text-decoration: none; }
.contact-address-link:hover { color: #e5c578 !important; text-decoration: underline; }
.contact-map-link { display: inline-flex; align-items: center; width: fit-content; margin-top: .35rem; font-weight: 700; line-height: 1.45 !important; text-decoration: none; }
.contact-map-link:hover { text-decoration: underline; }
.contact-form input,
.contact-form select,
.contact-form textarea { color: #fff !important; caret-color: #fff; -webkit-text-fill-color: #fff !important; }
.contact-privacy-note { margin: .8rem 0 0; color: #aeb1b8 !important; font-size: .86rem; line-height: 1.55; }
.contact-privacy-note a { color: #f0d591 !important; text-decoration: underline; text-underline-offset: 2px; }
.contact-extra-grid label { display: grid; gap: .45rem; font-weight: 600; }
.contact-extra-grid input { width: 100%; min-width: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; background: rgba(0,0,0,.2); color: inherit; padding: .8rem .9rem; font: inherit; }

header .legal-dropdown { display: none !important; }
.legal-footer-menu { flex: 0 0 100%; width: 100%; margin: 0 0 .25rem; text-align: left; color: #d7ae55; }
.legal-footer-menu summary { display: inline-block; cursor: pointer; list-style: none; font-weight: 700; }
.legal-footer-menu summary::-webkit-details-marker { display: none; }
.legal-footer-menu summary::after { content: ' ▾'; }
.legal-footer-menu[open] summary::after { content: ' ▴'; }
.legal-footer-menu nav { display: flex; justify-content: flex-start; gap: 1rem; margin-top: .7rem; }
.legal-footer-menu nav a { color: inherit; }

.footer-links { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem .9rem !important; }
.footer-links a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.08); text-decoration: none; }
.footer-links a::after { content: '›'; color: #d7ae55; font-size: 1.15rem; }

@media (min-width: 1101px) {
  .nav-wrapper { position: relative; }
  .nav-group-main { position: absolute; left: 50%; transform: translateX(-50%); }
  .nav-group-main .nav-link { padding: 9px 11px; font-size: .95rem !important; }
}

/* Der geöffnete Menümodus muss unabhängig von der gemeldeten Handybreite
   immer wieder in den normalen Dokumentfluss zurückgesetzt werden. */
.site-nav.open .nav-group-main,
.site-nav.open .nav-group-languages {
  position: static !important;
  left: auto !important;
  width: 100% !important;
  transform: none !important;
  justify-self: stretch !important;
  align-items: stretch !important;
}
.site-nav.open > *,
.site-nav.open .nav-link-list,
.site-nav.open .locale-dropdown {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
}
.site-nav.open .nav-group-title { width: 100%; text-align: left !important; }
.site-nav.open .nav-link { width: 100% !important; justify-content: flex-start !important; text-align: left !important; }
.site-nav.open .nav-cta { width: 100% !important; justify-content: center !important; }

@media (max-width: 720px) {
  #career-page { padding: 6.5rem 1rem 3.5rem; }
  .career-job { grid-template-columns: 1fr; }
  .career-job::before { right: 1rem; }
  .career-job h2 { padding-right: 5rem; }
  .career-job .career-primary { width: 100%; }
  .career-grid { grid-template-columns: 1fr; }
  .career-upload-grid { grid-template-columns: 1fr; }
  .career-progress-step { font-size: 0; }
  .career-progress-step::after { content: attr(data-short); font-size: .76rem; }
  .trust-grid,
  .service-detail-columns,
  .contact-extra-grid,
  .faq-list { grid-template-columns: 1fr; }
  .faq-list details:last-child:nth-child(odd) { grid-column: auto; }
  .service-process-grid { grid-template-columns: 1fr; }
  .service-detail-cta { align-items: stretch; flex-direction: column; }
  .service-detail-cta .career-primary { text-align: center; }
  .legal-footer-menu { text-align: left; }
  .legal-footer-menu nav { justify-content: flex-start; flex-direction: column; gap: .5rem; }
  .footer-links { grid-template-columns: 1fr !important; }
  .site-nav { left: auto !important; right: 12px !important; width: min(200px, calc(100vw - 28px)) !important; padding: 16px !important; }
  .site-nav .nav-group,
  .site-nav .nav-group-languages,
  .site-nav .nav-link-list,
  .site-nav .locale-dropdown { width: 100% !important; justify-self: stretch !important; align-items: stretch !important; text-align: left !important; }
  .site-nav .nav-group-title { width: 100%; text-align: left !important; }
  .site-nav .nav-link { justify-content: flex-start !important; text-align: left !important; padding-left: 14px !important; }
  .site-nav .nav-cta { justify-content: center !important; }
  .footer-grid { display: block !important; }
  .footer-company,
  .footer-contact-column,
  .footer-pages-column { width: 100% !important; max-width: none !important; justify-self: stretch !important; text-align: left !important; }
  .footer-contact-column,
  .footer-pages-column { margin-top: 2rem; }
  .footer-pages-column .footer-links { width: 100% !important; margin-left: 0 !important; }
}

@media (min-width: 721px) and (max-width: 1000px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .service-process-grid { grid-template-columns: repeat(3, 1fr); }
}
