:root {
    --primaryColor: rgba(0, 107, 110, 1); /* Petrol */
    --lindgreen: rgba(204, 233, 164, 1); /* Lindgreen */
    --lindgreen20: rgba(204, 233, 164, 0.2); /* Lindgreen bright background */
    --upzPink: rgba(240, 223, 235, 1); /* Bulletpoints for Lists */
    --textColor: rgba(44, 44, 44, 1);
    --defaultTextSize: 1.25rem; /* 20px */
    --defaultLineHeight: 160%; /* 32px */
    --contentContainerWidth: 1320px;
    --contentReducedContainerWidth: 827px;
    --contentSidePadding: 20px;
    --h1fontSize: 80px;
    --h1lineHeight: 118.75%;
    --h2fontSize: 40px;
    --h2lineHeight: 100%;
    --contentLargeSpacing: 120px;
    --contentSmallSpacing: 40px;
    --defaultGridGap: 24px;

    --primaryColorDark: rgba(0, 80, 82, 1);
    --primaryColorHover: rgba(0, 92, 95, 1);
    --white: #ffffff;
    --surface: #ffffff;
    --surfaceMuted: var(--lindgreen20);
    --borderColor: rgba(0, 107, 110, 0.18);
    --borderColorSoft: rgba(44, 44, 44, 0.12);
    --headingFont: 'ClashDisplay', 'Helvetica Neue', Arial, sans-serif;
    --bodyFont: 'BRSegma', 'Helvetica Neue', Arial, sans-serif;
    --radius: 20px;
    --radiusSmall: 10px;
    --shadowSoft: 0 10px 30px rgba(0, 107, 110, 0.06);
    --shadowCard: 0 14px 40px rgba(0, 0, 0, 0.08);
    --focusRing: 0 0 0 3px rgba(0, 107, 110, 0.35);
}

/* =========================================================
 * Reset / Base
 * ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--bodyFont);
    font-weight: 400;
    color: var(--textColor);
    font-size: var(--defaultTextSize);
    line-height: var(--defaultLineHeight);
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primaryColor);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primaryColorDark);
    text-decoration: none;
}

/* Sichtbarer Fokus für Tastatur-Navigation (Barrierefreiheit) */
:focus-visible {
    outline: 3px solid var(--primaryColor);
    outline-offset: 2px;
    border-radius: 4px;
}

/* =========================================================
 * Typografie
 * ========================================================= */
h1  {
    font-family: var(--headingFont);
    color: var(--primaryColor);
    margin: 0;
    line-height: 1.1;
    font-weight: 600;
}

h2, h2 b, h3, h3 b, h4, h4 b {
    margin: 0;
    color: var(--primaryColor);
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.page-title {
    font-size: clamp(2.4rem, 5vw, var(--h1fontSize));
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 0;
    max-width: var(--contentReducedContainerWidth);
}

.section-title {
    font-size: var(--h2fontSize);
    margin-bottom: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

p {
    margin: 0 0 1rem;
}

strong, b {
    font-weight: 700;
}

/* =========================================================
 * Buttons
 * ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    font-family: var(--bodyFont);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    padding: 0.9rem 1.75rem;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn span {
    margin-top: 3px;
}

.btn--primary {
    background: var(--primaryColor);
    color: var(--white);
    border-color: var(--primaryColor);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background: var(--primaryColorHover);
    border-color: var(--primaryColorHover);
    color: var(--white);
    text-decoration: none;
    box-shadow: var(--shadowSoft);
}

.btn--secondary {
    background: transparent;
    color: var(--primaryColor);
    border-color: var(--primaryColor);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
    background: var(--primaryColor);
    color: var(--white);
    text-decoration: none;
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-top: 1rem;
}

.link-more::after {
    content: "\2192";
    transition: transform 0.2s ease;
}

.link-more:hover::after {
    transform: translateX(4px);
}

/* =========================================================
 * Hilfsklassen
 * ========================================================= */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: var(--contentContainerWidth);
    margin: 0 auto;
    padding: 0 var(--contentSidePadding);
}

.tighterWidth {
    max-width: var(--contentReducedContainerWidth);
}

.print-only,
.no-show {
    display: none;
}

/* =========================================================
 * Layout-Grundgerüst
 * ========================================================= */
#wrapper {
    width: 100%;
}

main.content {
    display: block;
    outline: none;
}

.section {
    padding: 0 0 var(--contentLargeSpacing) 0;
    scroll-margin-top: calc(var(--contentLargeSpacing) * 2);
}

.section--intro {
    padding-top: calc(var(--contentLargeSpacing) - 16px);
    position: relative;
    overflow: visible;
}

/* Reduzierte Breite nur in Hero / Einleitung */
.intro__inner {
    position: relative;
    z-index: 1;
}

/* Dekorativer grüner Verlauf oben rechts */
.hero-blob {
    display: flex;
    transform: rotate(5.175deg);
    padding: 63.137px 63.903px 54.766px 48.194px;
    align-items: center;
    position: absolute;
    right: 140px;
    top: 50px;
    pointer-events: none;
    z-index: -1;
}

.hero-blob > svg:first-child {
    fill: linear-gradient(180deg, #A5EFE6 0%, rgba(162, 255, 34, 0.80) 100%);
    filter: blur(100px);
    width: 322.379px;
    height: 324.353px;
    transform: rotate(95.85deg);
    position: absolute;
}

.hero-blob > svg:last-child {
    fill: linear-gradient(180deg, rgba(204, 233, 164, 0.80) 0%, #006B6E 100%);
    filter: blur(50px);
    width: 237.258px;
    height: 235.961px;
    transform: rotate(-14.262deg);
    position: absolute;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: var(--defaultTextSize);
    line-height: var(--defaultLineHeight);
    font-weight: 700;
    color: var(--primaryColor);
    margin-top: 30px;
    max-width: var(--contentReducedContainerWidth);
}

.eyebrow span {
    line-height: 170%;
}

.eyebrow svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    flex: 0 0 auto;
    color: var(--primaryColor);
    position: relative;
    top: -2px;
}

/* Meta-Box (volle Breite) + Teilen darunter, rechtsbündig */
.intro__meta {
    display: flex;
    flex-direction: row;
    gap: var(--defaultGridGap);
    justify-content: space-between;
    align-items: flex-end;
    margin-top: var(--contentSmallSpacing);
    margin-bottom: 0;
}

.share {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.25rem;
}

.share__label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primaryColor);
    line-height: 100%;
    margin-top: 2px;
}

.share__icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--primaryColor);
    transition: color 0.2s ease, transform 0.2s ease;
    position: relative;
}

.share-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.share-icon:hover {
    color: var(--primaryColorDark);
    transform: translateY(-1px);
}

.share-icon.is-copied {
    color: #2e7d32;
}

/* Sichtbares Feedback beim Kopieren des Links */
.share-icon__feedback {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 4px);
    background: var(--primaryColor);
    color: #fff;
    font-size: 0.75rem;
    line-height: 1;
    white-space: nowrap;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 10;
}

.share-icon__feedback::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--primaryColor);
}

.share-icon.is-copied .share-icon__feedback {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.section--accent {
    background-color: var(--lindgreen);
}

/* Helles Grün-Band (Über uns, Ähnliche Stellen) */
.section--soft {
    background-color: var(--lindgreen20);
}

/* =========================================================
 * Kopfbereich / Navigation
 * ========================================================= */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: transparent;
    transition:
            transform 0.25s ease,
            box-shadow 0.25s ease,
            background 0.25s ease;
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header.is-scrolled {
    box-shadow: var(--shadowSoft);
    background: var(--white);
}

.site-header__inner {
    max-width: var(--contentContainerWidth);
    margin: 0 auto;
    padding: 40px var(--contentSidePadding) 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-header__logo {
    display: inline-flex;
}

.site-header__logo img {
    height: 76px;
    width: auto;
}

/* Rechte Spalte: Navigation oben, Bewerben-Button darunter */
.site-header__nav-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.site-header__apply {
    padding: 15px 40px;
    font-size: var(--defaultTextSize);
    line-height: 120%;
}

.site-header__apply span {
    margin-top: 2px;
}

.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.primary-nav ul li {
    line-height: 100%;
}

.primary-nav a {
    font-family: var(--bodyFont);
    font-size: 1.05rem;
    line-height: 24px;
    color: var(--primaryColor);
    text-decoration: none;
    padding: 0;
    transition: color 0.2s ease;
}

.primary-nav a.is-active {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: var(--primaryColorDark);
    text-decoration: none;
}

/* Mobiler Navigations-Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.nav-toggle__bar {
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 3px;
    background: var(--primaryColor);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
 * Hero
 * ========================================================= */
.hero {
    width: 100%;
}

.hero__image {
    width: 100%;
    height: clamp(220px, 38vw, 520px);
    object-fit: cover;
}

/* =========================================================
 * Stelleninfos / Intro
 * ========================================================= */
.job-meta {
    display: flex;
    flex-direction: column;
    gap: var(--defaultGridGap);
    margin: 0;
    padding: 20px;
    background: var(--lindgreen);
    border-radius: var(--radiusSmall);
    width: 100%;
    max-width: var(--contentReducedContainerWidth);
}

.job-meta__item {
    display: flex;
    flex-direction: column;
}

.job-meta dt {
    font-family: var(--headingFont);
    font-size: 1rem;
    line-height: 125%;
    color: var(--primaryColor);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -1%;
}

.job-meta dd {
    margin: 0;
    font-size: var(--defaultTextSize);
    line-height: 135%;
    color: var(--primaryColor);
    vertical-align: middle;
}

.lead {
    font-size: var(--defaultTextSize);
    line-height: 170%;
    color: var(--primaryColor);
    font-weight: 700;
    max-width: var(--contentReducedContainerWidth);
    margin-top: var(--contentLargeSpacing);
}

/* =========================================================
 * Rich-Text (Inhalte aus context / rawData)
 * ========================================================= */
.rich-text > *:last-child {
    margin-bottom: 0;
}

.rich-text ul {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.rich-text ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.rich-text ul li:last-child {
    margin-bottom: 0;
}

.rich-text ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--upzPink);
}

.rich-text a {
    text-decoration: underline;
}

/* =========================================================
 * Zwei-Spalten (Aufgaben / Profil)
 * ========================================================= */
.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 4rem);
}

/* =========================================================
 * Benefits
 * ========================================================= */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--defaultGridGap);
    margin-top: 2rem;
}

.benefit-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadowSoft);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--lindgreen);
    flex: 0 0 auto;
}

.benefit-card__text {
    font-size: 1rem;
    line-height: 1.5;
}

.benefit-card__text b,
.benefit-card__text strong {
    display: block;
    color: var(--primaryColor);
    margin-bottom: 0.25rem;
}

/* =========================================================
 * Kontakt
 * ========================================================= */
.noContacts {
    display: none !important;
}
.noLinieImage .contact-card__img, .noHrImage .contact-card__img {
    display: none !important;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--defaultGridGap);
}

.contact-card {
    display: flex;
    flex-direction: column;
    background: var(--lindgreen);
    border-radius: var(--radius);
    overflow: hidden;
}

.contact-card__img {
    width: 100%;
    height: auto;
    aspect-ratio: 411 / 260;
    object-fit: cover;
    object-position: top center;
}

.contact-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--defaultGridGap);
    padding: 1.5rem 1.25rem;
    color: var(--primaryColor);
}

.contact-card__body > *, .contact-card__body > div > * {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-card__body p {
    margin: 0;
}

.contact-card__intro {
    font-weight: 400;
    color: var(--primaryColor);
    line-height: 140%;
}

.contact-card__name {
    font-weight: 600;
    color: var(--primaryColor);
}

.contact-card__body a {
    color: var(--primaryColor);
    display: inline-flex;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-card__body a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* =========================================================
 * About / Über uns
 * ========================================================= */
#about {
    background-color: var(--surfaceMuted);
    padding-top: var(--contentLargeSpacing);
}

#about p {
    margin: 0;
}

.aboutUsButton {
    margin-top: var(--contentSmallSpacing)
}


/* =========================================================
 * Arbeitsort (Video / Karte)
 * ========================================================= */
.media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
}

.embed {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.embed iframe {
    display: block;
    width: 100%;
    min-height: 280px;
    border: 0;
}

/* Cookie-Hinweis-Overlay für eingebettete externe Medien (z. B. Karte) */
.embed__consent {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem;
    background: var(--surfaceMuted);
    color: var(--textColor);
}

.embed__consent[hidden] {
    display: none;
}

.embed__consent-icon {
    color: var(--primaryColor);
}

.embed__consent-text {
    margin: 0;
    max-width: 32ch;
    font-size: 1rem;
    line-height: 1.5;
}

.embed__consent-btn {
    cursor: pointer;
}

/* =========================================================
 * Arbeitsort
 * ========================================================= */
#location {
    padding-top: var(--contentLargeSpacing);
}
#location .section-title {
    margin: 0;
}

.location-fixtext {
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 34px;
    margin-bottom: 16px;
}

.location-grid {
    display: flex;
    flex-direction: row;
    gap: var(--defaultGridGap);
    align-items: start;
}

.location-grid__text {
    display: flex;
    gap: var(--defaultGridGap);
    flex-direction: column;
    height: stretch;
    justify-content: space-between;
    align-items: flex-start;
    width: 410px;
    padding-right: 80px;
    flex-shrink: 0;
}

.location-address {
    font-style: normal;
    margin: 0;
    line-height: 1.6;
}

.location-address span {
    display: block;
}

.location-address strong {
    color: var(--primaryColor);
}

.location-grid__map .embed iframe {
    width: 100%;
    min-height: 360px;
}

.location-grid__map {
    width: 100%;
}

/* =========================================================
 * Ähnliche Stellen – Similar Jobs
 * ========================================================= */
#morejobs {
    padding-top: var(--contentLargeSpacing);
}

.job-list {
    display: grid;
    gap: var(--defaultGridGap);
    margin-bottom: 2rem;
}

.job-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--defaultGridGap);
    background: var(--lindgreen);
    border-radius: var(--radius);
    padding: 35px;
    text-decoration: none;
    color: var(--textColor);
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
}

.job-row__main {
    display: flex;
    flex-direction: column;
    gap: var(--defaultGridGap);
    width: 100%;
}

.job-row:hover {
    filter: brightness(0.97);
    background: var(--lindgreen);
    text-decoration: none;
}

.job-row__title {
    font-family: var(--headingFont);
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 133.33%;
    text-transform: uppercase;
}

.job-row__hospital {
    color: var(--primaryColor);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: var(--defaultTextSize);
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    margin-bottom: 24px;
}

.job-row__hospital svg {
    flex-shrink: 0;
    position: relative;
    top: 3px;
}

.similarBottom {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: var(--defaultGridGap);
    justify-content: space-between;
    align-items: flex-end;
}

.job-row__pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--defaultGridGap);
    top: -4px;
    position: relative;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px 6px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--primaryColor);
    color: var(--primaryColor);
    font-size: var(--defaultTextSize);
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.job-row__arrow {
    flex-shrink: 0;
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 9999px;
    background-color: var(--primaryColor);
    overflow: hidden;
}

.arrowDefault {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-property: transform;
    transition-duration: 300ms;
    transition-timing-function: ease-in-out;
}

.job-row:hover .arrowDefault {
    transform: translateX(150%);
}

.arrowHover {
    position: absolute;
    inset: 0;
    transform: translateX(-150%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition-property: transform;
    transition-duration: 300ms;
    transition-timing-function: ease-in-out;
}

.job-row:hover .arrowHover {
    transform: translateX(0);
}

/* =========================================================
 * Bewerbungsweg (Steps)
 * ========================================================= */
.steps {
    margin: 1.5rem 0;
}

.steps ul {
    list-style: none;
    counter-reset: step;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.steps ul li {
    counter-increment: step;
    position: relative;
    padding: 1rem 1.25rem 1rem 3.5rem;
    background: var(--white);
    border: 1px solid var(--borderColor);
    border-radius: var(--radiusSmall);
}

.steps ul li::before {
    content: counter(step);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primaryColor);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--headingFont);
}

/* =========================================================
 * Weitere Stellen
 * ========================================================= */
.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--defaultGridGap);
    margin-bottom: 1.5rem;
}

.job-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--borderColorSoft);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--textColor);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadowCard);
    text-decoration: none;
}

.job-card__body {
    padding: 1.5rem;
    flex: 1 1 auto;
}

.job-card__title {
    font-size: 1.25rem;
    line-height: 1.25;
    hyphens: auto;
    margin-bottom: 0.5rem;
}

.job-card__pensum {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primaryColor);
}

.job-card__intro {
    margin: 0.75rem 0 0;
    font-size: 0.95rem;
    color: var(--textColor);
}

.job-card__footer {
    border-top: 1px solid var(--borderColorSoft);
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.job-card__hospital {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--textColor);
}

.job-card__location {
    font-size: 0.9rem;
    color: var(--primaryColor);
    font-weight: 600;
}

/* Nach oben */
.to-top {
    display: block;
    width: 48px;
    height: 48px;
    margin: 2.5rem auto 0;
    border: 2px solid var(--primaryColor);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s ease;
}

.to-top::before {
    content: "";
    position: absolute;
    top: 55%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-left: 3px solid var(--primaryColor);
    border-top: 3px solid var(--primaryColor);
    transform: translate(-50%, -50%) rotate(45deg);
}

.to-top:hover {
    background: var(--lindgreen);
}

/* =========================================================
 * Footer
 * ========================================================= */
.site-footer {
    background: var(--primaryColor);
    color: var(--white);
    padding: 80px 0;
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--contentSmallSpacing);
}

.site-footer__social {
    display: flex;
    gap: 30px;
}

.footer-social {
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease-in-out;
    line-height: 0;
}

.footer-social:hover {
    color: var(--lindgreen);
}

/* Sichtbarer Tastatur-Fokus auf dunklem Footer-Hintergrund */
.footer-social:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 4px;
    color: var(--lindgreen);
}

.site-footer__legal {
    display: flex;
    gap: 30px;
}

.site-footer__legal a {
    color: var(--white);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
}

.site-footer__legal a:hover {
    transition: 0.2s ease-in-out;
    color: var(--lindgreen);
    text-underline-offset: 2px;
}

.site-footer__legal a:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 3px;
    color: var(--lindgreen);
}

/* Social / Teilen */
.social-icons {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-icons__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--textColor);
    font-family: var(--bodyFont);
    font-size: 1rem;
    padding: 0.25rem;
}

.social-icons__trigger svg {
    width: 20px;
    height: 20px;
    fill: var(--primaryColor);
    transition: fill 0.2s ease;
}

.social-icons__trigger:hover {
    color: var(--primaryColor);
}

.tooltip-content {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 0;
    display: flex;
    gap: 0.75rem;
    background: var(--white);
    box-shadow: var(--shadowCard);
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 10;
}

.tooltip-content.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--surfaceMuted);
    border: 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.icon-link svg {
    width: 18px;
    height: 18px;
    fill: var(--primaryColor);
}

.icon-link:hover {
    background: var(--lindgreen);
}

/* =========================================================
 * Modals (Semantic-UI frei)
 * ========================================================= */
body.modal-open {
    overflow: hidden;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal.is-open {
    display: flex;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.modal__dialog {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    width: 100%;
    max-width: 930px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-shadow: var(--shadowCard);
}

.modal__close {
    /* sticky so the close button stays visible while the dialog scrolls */
    position: sticky;
    top: 12px;
    left: calc(100% - 52px);
    width: 40px;
    height: 40px;
    margin-bottom: -40px; /* don't reserve space, sits over content */
    border-radius: 50%;
    border: 0;
    background: var(--surfaceMuted);
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__close::before {
    content: "\00d7";
    font-size: 26px;
    line-height: 1;
    color: var(--primaryColor);
}

.modal__close:hover {
    background: var(--lindgreen);
}

.modal iframe {
    width: 100%;
    min-height: 620px;
    border: 0;
    display: block;
}

/* =========================================================
 * Cookie Banner (Funktion erhalten, CI/CD angepasst)
 * ========================================================= */
.page-blocker {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    transition: background-color 250ms linear;
}

#cookieBanner {
    z-index: 999999;
    position: fixed;
    background-color: transparent;
    width: 100%;
    bottom: 0;
    transition: opacity 1s ease, bottom 1s ease, transform 1s ease;
    perspective: 1000px;
}

#cookieBanner.hidden {
    opacity: 0;
    bottom: -120px;
}

#cookieBanner.visible {
    opacity: 1;
    bottom: 0;
}

#cookieBanner.flipOut {
    opacity: 0;
}

.front,
.back {
    width: 100%;
    backface-visibility: hidden;
}

.front {
    background-color: var(--white);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--primaryColor);
}

.cookieBannerInner {
    max-width: var(--contentContainerWidth);
    margin: 0 auto;
    padding: 1.75rem var(--contentSidePadding);
}

.cookieBannerInner:first-of-type .cookieBox {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.cookieText {
    flex: 1 1 360px;
}

#cookieBanner h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

#cookieBanner h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

#cookieBanner p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--textColor);
    margin-bottom: 0.75rem;
}

.cookies-checkboxes {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primaryColor);
    cursor: pointer;
}

#cookieBanner label {
    font-size: 0.95rem;
    cursor: pointer;
}

.cookieButtons {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 280px;
}

.cookieButton {
    width: 100%;
    min-width: 280px;
    padding: 0 1.25rem;
    height: 44px;
    font-size: 0.95rem;
    font-family: var(--bodyFont);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primaryColor);
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cookieButton.acceptAll {
    background-color: var(--primaryColor);
    color: var(--white);
}

.cookieButton.acceptAll:hover {
    background-color: var(--primaryColorHover);
    color: var(--white);
}

.cookieButton.saveSettings,
.cookieButton.onlyMandatory {
    background-color: var(--white);
    color: var(--primaryColor);
}

.cookieButton.saveSettings:hover,
.cookieButton.onlyMandatory:hover {
    background-color: var(--lindgreen20);
}

.link-button {
    background: transparent;
    border: 0;
    padding: 0;
    font-family: var(--bodyFont);
    font-size: 0.85rem;
    color: var(--primaryColor);
    cursor: pointer;
    text-decoration: underline;
}

.openSettings {
    text-align: center;
}

.external-links {
    margin-top: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(44, 44, 44, 0.6);
}

.external-links a {
    font-size: 0.8rem;
    color: var(--primaryColor);
}

/* Cookie Einstellungen (Detail-Panel) */
#cookieSettings h2 {
    font-size: 1.4rem;
}

.cookieSettings {
    margin-top: 1rem;
    display: grid;
    gap: 0.75rem;
}

.cookieSetting {
    background-color: var(--surfaceMuted);
    border-radius: var(--radiusSmall);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.cookieSetting h3 {
    font-size: 1.1rem;
    margin: 0 0 0.25rem;
}

.cookieSetting p {
    margin: 0;
}

.settingText {
    flex: 1 1 auto;
}

.cookieSettingsButtons {
    margin: 1.25rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.cookieSettingsButtons .cookieButton {
    width: auto;
    min-width: 0;
}

/* Toggle Switch */
.input-checkbox-wrapper {
    position: relative;
}

.toggle-switch {
    position: absolute;
    opacity: 0;
    width: 60px;
    height: 29px;
    margin: 0;
    cursor: pointer;
}

.toggle-switch-bar {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 29px;
}

.toggle-switch-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background-color: #cccccc;
    transition: background-color 0.2s ease;
}

.toggle-switch-bar::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background-color: var(--white);
    transition: left 0.2s ease;
}

.toggle-switch:checked ~ .toggle-switch-bar::before {
    background-color: var(--primaryColor);
}

.toggle-switch:checked ~ .toggle-switch-bar::after {
    left: 34px;
}

.toggle-switch:disabled ~ .toggle-switch-bar {
    opacity: 0.5;
    cursor: not-allowed;
}

.toggle-switch:focus-visible ~ .toggle-switch-bar::before {
    box-shadow: var(--focusRing);
}

.toggle-switch-handle {
    display: none;
}

/* Transitions Cookie-Panels */
.transitioning {
    transition: max-height 0.5s ease-in-out;
    overflow: hidden;
}

.hidden-panel {
    max-height: 0 !important;
}

.showing {
    max-height: 600px;
}

/* =========================================================
 * Expired Page
 * ========================================================= */
.expired-text {
    max-width: var(--contentReducedContainerWidth);
}

.expired .eyebrow {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 64px;
}

.jobaboInner {
    max-width: 600px;
}

.jobaboInner p {
    margin: 0;
}

.jobaboInner button {
    margin-top: 50px;
}

#jobabo-section .section-title {
    margin-bottom: var(--contentSmallSpacing);
}

/* =========================================================
 * Druck / non-printable
 * ========================================================= */
@media print {
    .non-printable {
        display: none !important;
    }
    .print-only {
        display: block;
    }
}

/* =========================================================
 * Responsive
 * ========================================================= */
@media screen and (max-width: 1580px) {
    .section--intro {
        overflow: hidden;
    }
}

@media screen and (max-width: 900px) {
    .two-col,
    .media-grid,
    .location-grid {
        flex-direction: column;
    }
    .location-grid__text {
        padding-right: 0;
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --defaultTextSize: 1rem; /* 16px */
        --defaultLineHeight: 160%;
        --contentContainerWidth: 1320px;
        --contentReducedContainerWidth: 827px;
        --contentSidePadding: 20px;
        --h1fontSize: 80px;
        --h1lineHeight: 118.75%;
        --h2fontSize: 28px;
        --h2lineHeight: 100%;
        --contentLargeSpacing: 60px;
        --contentSmallSpacing: 30px;
        --defaultGridGap: 24px;
        --radius: 12px;
        --radiusSmall: 6px;
    }
    .site-header__logo svg {
        width: 140px;
        height: 40px;
    }
    .nav-toggle {
        display: inline-flex;
        order: 3;
    }

    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadowSoft);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .primary-nav.is-open {
        max-height: 70vh;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
    }

    .primary-nav li {
        border-bottom: 1px solid var(--borderColorSoft);
    }

    .primary-nav li:last-child {
        border-bottom: 0;
    }

    .primary-nav a {
        display: block;
        padding: 0.9rem var(--contentSidePadding);
        border-bottom: 0;
    }

    .site-header__inner {
        position: relative;
        align-items: center;
        padding: 16px var(--contentSidePadding) 16px
    }

    .site-header__apply {
        padding: 8px 24px;
    }

    .site-header__nav-wrap {
        order: 2;
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }

    .section--intro {
        padding-top: var(--contentSmallSpacing);
    }

    .hero-blob {
        right: 120px;
    }

    .hero-blob > svg:first-child {
        width: 162.379px;
        height: 164.353px;
        filter: blur(50px);
    }
    .hero-blob > svg:last-child {
        width: 117.258px;
        height: 115.961px;
        filter: blur(25px);
    }

    .intro__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .share {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid h2 {
        margin-bottom: 6px;
        grid-column: 1 / 3;
    }

    .job-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 1.25rem;
    }

    .job-row__title {
        font-size: 1.25rem;
    }

    .job-row__hospital {
        margin-bottom: 0;
    }

    .job-row__pills {
        gap: 8px;
        width: 100%;
        min-width: 0;
    }

    .pill {
        font-size: 0.75rem;
        padding: 6px 12px 6px;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        line-height: 120%;
    }

    .job-row__arrow {
        align-self: flex-start;
    }

    .similarBottom {
        flex-direction: column;
    }

    .cookieBannerInner:first-of-type .cookieBox {
        flex-direction: column;
        gap: 1.5rem;
    }

    .cookieButtons {
        min-width: 0;
        width: 100%;
    }

    .cookieButton {
        min-width: 0;
    }

    .modal iframe {
        min-height: 75vh;
    }
    .site-footer {
        padding: 40px 0;
    }

    .site-footer__legal {
        flex-wrap: wrap;
    }

    .site-footer__legal a {
        font-size: 0.875rem;
    }
}

@media screen and (max-width: 600px) {
    .contact-card {
        grid-column: 1 / 3;
    }
}

@media screen and (max-width: 480px) {
    .job-meta {
        flex-direction: column;
        gap: 1rem;
    }
    .cookieSetting {
        flex-direction: column;
        align-items: flex-start;
    }
    .site-header__inner {
        gap: 1rem;
    }
    .site-header__logo svg {
        width: 120px;
        height: 32px;
    }
    .site-header__apply {
        font-size: 0.75rem;
        padding: 6px 16px;
    }
}

/* =========================================================
 * Reduzierte Bewegung (Barrierefreiheit)
 * ========================================================= */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

.grecaptcha-badge {
    display: none !important;
}