/* Karriere & Über uns – baut auf brand.css / brand-refresh.css auf */
/* Inhalt an der Kopfzeile ausrichten (gleicher Seitenrand wie Logo), Text-Blöcke bleiben lesbar schmal */
.site-page { max-width: none; margin: 0; padding: 130px var(--gutter, 24px) 80px; }
.site-hero, .job-detail, .site-status, .site-empty { max-width: 900px; }
#about-sections, .about-facts, .about-team-block, #about-gallery-block, .about-cta, .job-list, .job-apply { max-width: 1400px; }
.site-hero { margin-bottom: 36px; }
.site-eyebrow { margin: 0 0 10px; color: var(--orange, #f47745); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.site-page h1 { margin: 0 0 16px; font-family: var(--display, inherit); font-size: clamp(2.2rem, 5.5vw, 4.2rem); line-height: 1.02; letter-spacing: -0.04em; }
.site-page h2 { font-family: var(--display, inherit); font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.02em; margin: 0 0 12px; }
.site-lead { max-width: 720px; color: var(--muted, #64746b); font-size: 1.15rem; line-height: 1.55; }
.site-text p, .about-section-text p { line-height: 1.7; margin: 0 0 14px; }
.site-status { padding: 18px 20px; border: 1px solid var(--line, #ddd); border-radius: 14px; background: white; }
.site-status.is-error { border-color: #e4a39a; color: #a12b20; }
.site-small { color: var(--muted, #64746b); font-size: .85rem; }
.site-back { display: inline-block; margin-bottom: 18px; color: var(--ink, #182b25); font-weight: 600; }
.site-button { display: inline-block; margin: 6px 0 12px; padding: 14px 22px; border-radius: 999px; background: var(--ink, #182b25); color: white; font-weight: 700; text-decoration: none; transition: transform .2s ease; }
.site-button:hover { transform: translateY(-2px); }
.site-empty { padding: 32px; border-radius: 22px; background: white; border: 1px solid var(--line, #ddd); }

/* Karriere */
.job-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 480px)); gap: 20px; }
.job-card { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 22px; background: white; border: 1px solid var(--line, #ddd); color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.job-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(24, 43, 37, .1); }
.job-card h2 { margin: 0; font-size: 1.35rem; }
.job-card p { margin: 0; color: var(--muted, #64746b); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.job-card-more { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--orange, #f47745); }
.job-detail { max-width: 860px; }
.job-image { display: block; width: 100%; height: auto; border-radius: 24px; margin-bottom: 26px; }
.job-facts { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 22px; list-style: none; }
.job-facts li { display: flex; flex-direction: column; padding: 10px 16px; border-radius: 14px; background: white; border: 1px solid var(--line, #ddd); }
.job-facts span { color: var(--muted, #64746b); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.job-columns { display: grid; gap: 28px; margin: 28px 0; }
.job-columns ul { margin: 0; padding-left: 20px; line-height: 1.7; }
.job-apply { padding: 28px; border-radius: 24px; background: var(--green, #d7f36a); }

/* Über uns */
.about-hero-image { display: block; width: 100%; max-width: 1400px; height: auto; border-radius: 28px; margin-bottom: 48px; }
.about-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 56px; }
.about-fact { padding: 22px; border-radius: 20px; background: white; border: 1px solid var(--line, #ddd); }
.about-fact strong { display: block; font-family: var(--display, inherit); font-size: 2.2rem; letter-spacing: -0.03em; }
.about-fact span { color: var(--muted, #64746b); }
.about-section { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 64px; }
.about-section.image-right, .about-section.image-left { grid-template-columns: 1fr 1fr; }
.about-section.image-left .about-section-image { order: -1; }
.about-section.text-only { max-width: 760px; }
.about-section-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.about-team-block, #about-gallery-block { margin-bottom: 64px; }
.about-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.about-member { padding: 18px; border-radius: 22px; background: white; border: 1px solid var(--line, #ddd); }
.about-member img, .about-member-initials { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; margin-bottom: 12px; }
.about-member-initials { display: grid; place-items: center; background: var(--green, #d7f36a); font-family: var(--display, inherit); font-size: 2.6rem; font-weight: 700; }
.about-member h3 { margin: 0 0 2px; }
.about-member p { margin: 4px 0 0; color: var(--muted, #64746b); line-height: 1.5; }
.about-member-role { font-weight: 600; color: var(--orange, #f47745) !important; }
.about-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.about-gallery-item { padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: none; }
.about-gallery-item img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s ease; }
.about-gallery-item:hover img { transform: scale(1.04); }
.about-cta { padding: 34px; border-radius: 26px; background: var(--green, #d7f36a); text-align: center; }
.about-cta p { font-size: 1.2rem; font-weight: 600; margin: 0 0 8px; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(10, 18, 15, .88); padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; }
.lightbox-close { position: absolute; top: 18px; right: 22px; border: 0; background: none; color: white; font-size: 2.4rem; cursor: pointer; }

@media (max-width: 760px) {
  .site-page { padding-top: 100px; }
  .about-section.image-right, .about-section.image-left { grid-template-columns: 1fr; }
  .about-section.image-left .about-section-image { order: 0; }
}

/* Bewerbungsformular */
.job-apply { margin-top: 32px; }
.apply-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-top: 16px; }
.apply-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
.apply-form input, .apply-form textarea, .apply-form select { padding: 12px 14px; border: 1px solid rgba(24, 43, 37, .25); border-radius: 12px; background: white; font: inherit; font-weight: 400; color: var(--ink, #182b25); }
.apply-wide { grid-column: 1 / -1; }
.apply-honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.apply-files { display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.apply-files small { display: block; font-weight: 400; color: var(--ink, #182b25); opacity: .75; }
.apply-file-button { align-self: flex-start; padding: 11px 18px !important; border: 2px dashed rgba(24, 43, 37, .45); border-radius: 12px; background: rgba(255, 255, 255, .7); cursor: pointer; flex-direction: row !important; }
.apply-file-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.apply-file-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: white; font-weight: 400; }
.apply-file-list li span { flex: 1; word-break: break-all; }
.apply-file-list select { padding: 6px 8px; }
.apply-file-remove { border: 0; background: none; font-size: 1.4rem; line-height: 1; cursor: pointer; color: #a12b20; }
.apply-check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; line-height: 1.5; }
.apply-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.apply-status { min-height: 1.4em; margin: 6px 0 0; font-weight: 600; }
.apply-status.is-error { color: #a12b20; }
.apply-success { grid-column: 1 / -1; padding: 18px; border-radius: 14px; background: white; font-weight: 600; font-size: 1.05rem; }
.job-card-initiative { border-style: dashed; background: transparent; }
@media (max-width: 760px) { .apply-form { grid-template-columns: 1fr; } }
