/*
 * Jobs & Karriere (/jobs-karriere/) – Maße aus referenz-html/karriere.html.
 * Nur Regeln mit .rh-seite .rh-karriere-… (Datei wird auf allen neuen Seiten geladen).
 */

/* Knöpfe (Shortcode-Buttons und Links) */
.rh-seite .rh-abschnitt .rh-karriere-knopf { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: var(--rh-bordeaux); color: var(--rh-paper); min-height: 48px; padding: 0 22px !important; display: inline-flex; align-items: center; cursor: pointer; font-family: var(--rh-display) !important; font-weight: 800; font-size: 18px !important; line-height: normal !important; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.rh-seite .rh-abschnitt .rh-karriere-knopf::after { display: none !important; }
.rh-seite .rh-abschnitt .rh-karriere-knopf--gross { min-height: 54px; padding: 0 26px !important; }
.rh-seite .rh-abschnitt .rh-karriere-knopf--hell { background: var(--rh-paper); color: var(--rh-bordeaux); }
.rh-seite .rh-abschnitt .rh-karriere-knopf--azubi { min-height: 52px; font-size: 17px !important; white-space: normal; text-align: left; }
.rh-seite .rh-abschnitt a.rh-karriere-anrufen { padding: 0 22px; }

/* Einstieg mit Stellen */
.rh-seite .rh-karriere-einstieg > .et_pb_row { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); gap: 40px 64px; }
.rh-seite .rh-karriere-zitat { font-style: italic; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; margin-bottom: 20px !important; text-wrap: pretty; }
.rh-seite .rh-karriere-stellen { display: flex; flex-direction: column; gap: 16px; }
.rh-seite .rh-karriere-stelle { border-top: 2px solid var(--rh-ink); padding: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.rh-seite .rh-karriere-stelle__titel { font-family: var(--rh-display); font-weight: 800; font-size: 30px; line-height: 1.1; color: var(--rh-bordeaux); }
.rh-seite .rh-karriere-stelle__teaser { font-size: 16px; line-height: 1.55; }
.rh-seite .rh-karriere-stelle__knoepfe { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.rh-seite .rh-abschnitt .rh-karriere-stelle__mehr { min-height: 48px; padding: 0 4px !important; display: flex; align-items: center; gap: 10px; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: none; cursor: pointer; font-family: var(--rh-text) !important; font-weight: 600; font-size: 17px !important; line-height: normal !important; letter-spacing: normal; color: var(--rh-bordeaux); }
.rh-seite .rh-abschnitt .rh-karriere-stelle__mehr::after { display: none !important; }
.rh-seite .rh-karriere-stelle__zeichen { width: 26px; height: 26px; border: 1.5px solid var(--rh-bordeaux); display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; }
.rh-seite .rh-abschnitt a.rh-karriere-stelle__link { min-height: 48px; padding: 0 4px; display: flex; align-items: center; font-weight: 600; font-size: 17px; color: var(--rh-bordeaux); border-bottom: 1px solid var(--rh-bordeaux); }

/* Details (F11) */
.rh-seite .rh-karriere-details { margin-top: 8px; padding: 24px; background: var(--rh-cream); border: 1px solid var(--rh-line); display: flex; flex-direction: column; gap: 24px; }
.rh-seite .rh-karriere-details[hidden] { display: none; }
.rh-seite .rh-karriere-details__fakten { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--rh-muted); }
.rh-seite .rh-karriere-details__fakten strong { color: var(--rh-ink); font-weight: 700; }
.rh-seite .rh-karriere-details__einleitung { display: flex; flex-direction: column; gap: 4px; font-style: italic; font-size: 19px; line-height: 1.4; }
.rh-seite .rh-karriere-details__leitsatz { font-style: normal; font-size: 16px; line-height: 1.6; margin-top: 10px; }
.rh-seite .rh-karriere-details__titel { font-family: var(--rh-display); font-weight: 800; font-size: 22px; color: var(--rh-bordeaux); margin-bottom: 12px; }
.rh-seite .rh-karriere-details__liste { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rh-seite .rh-karriere-details__liste li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 12px; font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.rh-seite .rh-karriere-details__punkt { width: 7px; height: 7px; background: var(--rh-bordeaux); margin-top: 9px; }
.rh-seite .rh-karriere-details__fuss { border-top: 1px solid var(--rh-line); padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.rh-seite .rh-karriere-details__kontakt { font-size: 16px; line-height: 1.5; }
.rh-seite .rh-karriere-details__kontakt > span { color: var(--rh-muted); }
.rh-seite .rh-karriere-details__kontakt strong { font-weight: 700; }
.rh-seite .rh-abschnitt .rh-karriere-details__kontakt a { border-bottom: 1px solid; }

/* Unser Team */
.rh-seite .rh-karriere-teamfotos > .et_pb_row { padding-bottom: clamp(48px, 7vw, 88px); }
.rh-seite .rh-karriere-teamfotos h2 { margin-bottom: clamp(20px, 3vw, 32px); }
.rh-seite .rh-karriere-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(8px, 1.5vw, 16px); }
.rh-seite .rh-karriere-team img { width: 100%; height: 100%; min-height: 0; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.rh-seite .rh-karriere-team img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 7; object-position: center 40%; }
.rh-seite .rh-karriere-team img:nth-child(4) { object-position: center; }
.rh-seite .rh-karriere-team img:nth-child(5) { object-position: 60% center; }

/* Worauf du dich freuen darfst */
.rh-seite .et_pb_section.rh-karriere-freuen { background: var(--rh-bordeaux) !important; color: var(--rh-paper); }
.rh-seite .rh-karriere-freuen > .et_pb_row { --rh-min: 420px; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.rh-seite .rh-karriere-freuen .et_pb_column:first-child { position: sticky; top: 24px; }
.rh-seite .rh-karriere-freuen .rh-ueberzeile { color: var(--rh-gold); }
.rh-seite .rh-karriere-freuen h2 { margin: 12px 0 28px; color: var(--rh-paper); }
.rh-seite .rh-karriere-polaroid figure { background: var(--rh-paper); padding: 14px 14px 18px; box-shadow: 0 18px 40px -22px rgba(27, 20, 17, .55); transform: rotate(-1.2deg); }
.rh-seite .rh-karriere-polaroid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.rh-seite .rh-karriere-polaroid figcaption { font-style: italic; font-size: 17px; color: var(--rh-muted); margin-top: 12px; text-align: center; }
.rh-seite .rh-karriere-vorteile { list-style: none; padding: 0 0 0 32px; display: flex; flex-direction: column; gap: clamp(22px, 2.6vw, 32px); border-left: 2px solid var(--rh-gold); }
.rh-seite .rh-karriere-vorteile li { position: relative; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.45; max-width: 40ch; text-wrap: pretty; }
.rh-seite .rh-karriere-vorteile li::before { content: ""; position: absolute; left: -42px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--rh-bordeaux); border: 3px solid var(--rh-gold); }
.rh-seite .rh-karriere-lernen { margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid rgba(244, 239, 230, .3); }
.rh-seite .rh-karriere-lernen h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin: 14px 0 16px; }
.rh-seite .rh-karriere-lernen__text { font-size: 16px; line-height: 1.65; margin-bottom: 24px !important; color: #E9DDD3; }
.rh-seite .rh-karriere-lernen img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.rh-seite .rh-karriere-aufruf { display: flex; gap: 16px 24px; flex-wrap: wrap; align-items: center; margin-top: 32px; font-size: 19px; }
.rh-seite .rh-karriere-aufruf--linie { margin-top: clamp(32px, 4vw, 48px); padding-top: 28px; border-top: 1px solid var(--rh-line); max-width: 860px; }
.rh-seite .rh-karriere-aufruf--linie > span { font-family: var(--rh-display); font-weight: 800; font-size: clamp(24px, 2.4vw, 30px); }

/* Mitarbeiterstimmen (F20) */
.rh-seite .rh-karriere-stimmen > .et_pb_row { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.rh-seite .rh-karriere-stimmen h2,
.rh-seite .rh-karriere-wertebox h2 { margin: 12px 0 clamp(28px, 4vw, 48px); }
.rh-seite .rh-karriere-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px clamp(24px, 4vw, 56px); max-width: 860px; }
.rh-seite .rh-karriere-videos figure { display: flex; flex-direction: column; gap: 14px; }
.rh-seite .rh-karriere-videos video { width: 100%; aspect-ratio: 9 / 16; max-height: 640px; object-fit: cover; background: var(--rh-ink); display: block; }
.rh-seite .rh-karriere-videos strong { display: block; font-family: var(--rh-display); font-weight: 800; font-size: 28px; line-height: 1.1; }
.rh-seite .rh-karriere-videos figcaption span { display: block; font-size: 17px; line-height: 1.55; margin-top: 6px; max-width: 40ch; color: #3B2E27; }

/* Kurzbewerbung (WPForms, Formularklasse rh-wf--bewerbung; Grundgestaltung formulare.css) */
.rh-seite .rh-abschnitt .et_pb_row.rh-karriere-schmal { max-width: 820px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) clamp(20px, 3vw, 32px); }
.rh-seite .rh-karriere-bewerbung h2 { margin: 16px 0 28px; }
.rh-seite #bewerbung, .rh-seite #ausbildung { scroll-margin-top: 100px; }
/* rh-wf sitzt am .wpforms-container selbst; die :has()-Regel in formulare.css greift dort nicht (WPForms setzt 24px Abstand unten) */
.rh-seite .wpforms-container.rh-wf--bewerbung { margin: 0 !important; max-width: none !important; }
.rh-seite .rh-wf--bewerbung { --rh-feld-bg: var(--rh-cream); }
.rh-seite .rh-wf--bewerbung .wpforms-field-container { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.rh-seite .rh-wf--bewerbung .wpforms-required-label { display: none !important; }
.rh-seite .rh-wf--bewerbung .wpforms-submit-container { margin-top: 18px !important; }
/* Häkchen wie in der Vorlage: Browser-Häkchen 13px (WPForms „modern“ zeichnet sonst ein eigenes 16px-Kästchen mit Einzug) */
.rh-seite .rh-abschnitt .rh-wf--bewerbung .wpforms-field-checkbox li input[type=checkbox] { appearance: auto !important; -webkit-appearance: checkbox !important; width: 13px !important; height: 13px !important; min-width: 0 !important; }
.rh-seite .rh-abschnitt .rh-wf--bewerbung .wpforms-field-checkbox li label { padding-left: 0 !important; }
/* Bestätigung (F17, zustaende/karriere-bewerbung-gesendet.html) */
.rh-seite .rh-karriere-bewerbung .rh-wf-bestaetigung { background: var(--rh-cream); border: 1px solid var(--rh-line); padding: 32px; font-size: 17px; line-height: 1.6; color: var(--rh-ink); }
.rh-seite .rh-karriere-bewerbung .rh-wf-bestaetigung p:not(.rh-wf-bestaetigung__titel) { color: inherit; }
.rh-seite .rh-karriere-bewerbung .rh-wf-bestaetigung .rh-wf-bestaetigung__titel { font-size: 32px; line-height: normal; margin: 0 0 8px; }

/* Leitbild */
.rh-seite .et_pb_section.rh-karriere-leitbild { background: var(--rh-bordeaux) !important; color: var(--rh-paper); }
.rh-seite .rh-karriere-leitbild > .et_pb_row { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.rh-seite .rh-karriere-leitbild .rh-ueberzeile { color: var(--rh-gold); }
.rh-seite .rh-karriere-leitbild blockquote { margin: clamp(20px, 3vw, 32px) 0 0; padding: 0; border: 0; font-family: var(--rh-text); font-style: italic; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.2; max-width: 24ch; text-wrap: balance; color: var(--rh-paper); }
.rh-seite .rh-karriere-leitbild__strich { width: 64px; height: 3px; background: var(--rh-gold); margin: clamp(32px, 4vw, 48px) 0; }
.rh-seite .rh-karriere-leitbild__saetze { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px clamp(24px, 4vw, 56px); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: #F0E6DC; }
.rh-seite .rh-karriere-leitbild__saetze p { text-wrap: pretty; padding-bottom: 0; }

/* Unsere Werte */
.rh-seite .rh-karriere-wertebox > .et_pb_row { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.rh-seite .rh-karriere-werte { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.rh-seite .rh-karriere-werte > div { background: var(--rh-cream); border: 1px solid var(--rh-line); border-top: 4px solid var(--rh-bordeaux); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.rh-seite .rh-karriere-werte__nr { font-family: var(--rh-display); font-weight: 800; font-size: clamp(56px, 6vw, 88px); line-height: .8; color: var(--rh-gold); }
.rh-seite .rh-karriere-werte__titel { font-family: var(--rh-display); font-weight: 800; font-size: clamp(32px, 3.2vw, 44px); line-height: 1; color: var(--rh-bordeaux); }
.rh-seite .rh-karriere-werte p { font-size: 18px; line-height: 1.65; color: #3B2E27; text-wrap: pretty; padding-bottom: 0; }

/* Ausbildung (F12, F14) */
.rh-seite .et_pb_section.rh-karriere-ausbildung { background: var(--rh-cream) !important; border-top: 1px solid var(--rh-line); border-bottom: 1px solid var(--rh-line); }
.rh-seite .rh-karriere-ausbildung > .et_pb_row { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); gap: 40px clamp(40px, 6vw, 80px); align-items: center; }
.rh-seite .rh-karriere-ausbildung .et_pb_column { display: flex; flex-direction: column; gap: 14px; }
.rh-seite .rh-karriere-ausbildung h2 { margin: 20px 0; }
.rh-seite .rh-karriere-azubi { list-style: none; display: flex; flex-direction: column; border-top: 2px solid var(--rh-ink); }
.rh-seite .rh-karriere-azubi li { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rh-line); }
.rh-seite .rh-karriere-azubi span { font-family: var(--rh-display); font-weight: 800; font-size: 26px; line-height: 1.1; }
.rh-seite .rh-karriere-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--rh-ink); }
.rh-seite .rh-abschnitt .rh-karriere-video__knopf { position: absolute; inset: 0; width: 100%; height: 100%; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; cursor: pointer; background-color: var(--rh-ink); background-position: center; background-size: cover; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--rh-paper); font-family: Arial, sans-serif !important; font-size: 13.3333px !important; line-height: normal !important; } /* wie Referenz: Standardschrift des Buttons */
.rh-seite .rh-abschnitt .rh-karriere-video__knopf::after { display: none !important; }
.rh-seite .rh-karriere-video__knopf > span { position: relative; }
.rh-seite .rh-karriere-video__knopf > .rh-karriere-video__schleier { position: absolute; inset: 0; background: rgba(27, 20, 17, .55); }
.rh-seite .rh-karriere-video__play { width: 76px; height: 76px; border-radius: 50%; background: var(--rh-bordeaux); display: flex; align-items: center; justify-content: center; font-size: 28px; padding-left: 6px; }
.rh-seite .rh-karriere-video__titel { font-family: var(--rh-display); font-weight: 800; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; }
.rh-seite .rh-karriere-video__hinweis { font-size: 13px; max-width: 34ch; text-align: center; line-height: 1.4; padding: 0 16px; }
.rh-seite .rh-karriere-ausbildung__bild img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* Bewerben-Leiste mobil (F13) */
.rh-seite .rh-karriere-leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--rh-cream); border-top: 1px solid var(--rh-line); box-shadow: 0 -12px 30px -18px rgba(27, 20, 17, .45); }
.rh-seite .rh-karriere-leiste[hidden] { display: none; }
.rh-seite .rh-abschnitt .rh-karriere-leiste .rh-karriere-knopf { flex: 1; justify-content: center; min-height: 50px; padding: 0 26px !important; font-size: 17px !important; }
.rh-seite .rh-abschnitt a.rh-karriere-leiste__tel { flex: none; min-height: 50px; padding: 0 18px; display: flex; align-items: center; border: 2px solid var(--rh-ink); font-weight: 600; font-size: 16px; color: var(--rh-ink); }
@media (min-width: 1080px) { .rh-seite .rh-karriere-leiste { display: none !important; } }
