/* ==========================================================================
   apoBank – Stelleninserat Redesign
   Font: Source Sans 3 (lokal eingebunden, src/assets/source-sans-3-v20-latin)
   Effekte orientiert an Careercenter 1008808
   ========================================================================== */

/* Source Sans 3 – lokale Webfonts (kein Google-Fonts-Request) */
@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 300;
    src: url('../source-sans-3-v20-latin/source-sans-3-v20-latin-300.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400;
    src: url('../source-sans-3-v20-latin/source-sans-3-v20-latin-regular.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 500;
    src: url('../source-sans-3-v20-latin/source-sans-3-v20-latin-500.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 600;
    src: url('../source-sans-3-v20-latin/source-sans-3-v20-latin-600.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 700;
    src: url('../source-sans-3-v20-latin/source-sans-3-v20-latin-700.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: italic;
    font-weight: 400;
    src: url('../source-sans-3-v20-latin/source-sans-3-v20-latin-italic.woff2') format('woff2');
}
@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: italic;
    font-weight: 700;
    src: url('../source-sans-3-v20-latin/source-sans-3-v20-latin-700italic.woff2') format('woff2');
}

:root {
    --apo-blue: #012169;
    --apo-blue-dark: #001a55;
    --apo-blue-darker: #00174A;             /* CC apoBlueDark (Subfooter-Leiste) */
    --apo-green: #AEC44B;                   /* CC apoGreen */
    --apo-light-blue: #41B6E6;
    --apo-violet: #8566C0;
    --apo-grey-bg: #F7F8FA;
    --apo-lavender: #F3F1FF;
    --apo-lavender-card: #FBFAFF;
    --apo-text: #1a1a1a;
    --Linear: linear-gradient(90deg, #012169 1.79%, #41B6E6 99.82%);
    --glow-line: linear-gradient(90deg, #8566c0, #fc8c99, #fa4b5f);
    --shadow-glow: 0 0 15px 0 rgba(14, 164, 233, .9);
    --radius: 26px;
    --radius-xl: 40px;
    /* Inhaltsbreite + Seitenränder 1:1 Careercenter 1008808
       (Container: max-w-[1400px] px-6 md:px-10) → kein Springen beim Seitenwechsel */
    --container: 1400px;
    --gutter: 24px;
    --grid-gap: 64px;                       /* Spaltenabstand 50:50-Raster */
    --header-h: 88px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 768px) {
    :root { --gutter: 40px; }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Source Sans 3', 'Source Sans Pro', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: var(--apo-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul { margin: 0; }
button { font: inherit; cursor: pointer; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* ---------- Typo-Bausteine ---------- */

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--apo-blue);
}
.eyebrow::before {
    content: "";
    flex-shrink: 0;
    width: 48px;
    height: 2px;
    border-radius: 2px;
    background: var(--glow-line);
}
.eyebrow--light { color: #fff; }

.section-title {
    margin-top: 16px;
    font-size: 58px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--apo-blue);
}
.section-title b, .section-title--regular b {
    font-weight: 600;
}
.section-title--regular { font-weight: 600; }

.richtext p + p { margin-top: 1em; }

.richtext ul {
    padding-left: 28px;
}
.richtext li {
    padding-left: 2px;
    line-height: 1.4;
}
.richtext li + li { margin-top: 20px; }
.richtext li::marker { color: var(--apo-text); font-size: .8em; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: box-shadow .25s var(--ease), transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { box-shadow: var(--shadow-glow); }
.btn:focus-visible { outline: 2px solid var(--apo-light-blue); outline-offset: 3px; }
.btn--blue { background: var(--apo-blue); color: #fff; }
.btn--violet { background: var(--apo-violet); color: #fff; }
.btn--outline { border-color: var(--apo-blue); color: var(--apo-blue); background: #fff; }
.btn--outline:hover { background: var(--apo-blue); color: #fff; }
.btn .icon-arrow { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }

/* ---------- Reveal-Animation (wie fade-simple im Careercenter) ---------- */

@keyframes fadeInSimple { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.fade-simple { animation: fadeInSimple .5s ease-in-out; }

/* ==========================================================================
   Header
   ========================================================================== */

/* 1:1 Careercenter 1008808 (src/components/layout/Header.jsx):
   weiss, 1px Linie unten (gray-200), Höhe 88px (< 1024px 72px),
   Logo 54px (< 1024px 44px), Navigation 16px Semibold (< 1200px 15px). */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(1, 33, 105, .35); }

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-h);
}
.site-header__logo {
    flex-shrink: 0;
    border-radius: 6px;
}
.site-header__logo img { height: 54px; width: auto; }
.site-header__logo:focus { outline: none; }
.site-header__logo:focus-visible,
.fav-btn:focus-visible,
.nav-toggle:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--apo-blue); }

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0;
    list-style: none;
}
.main-nav a {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    color: var(--apo-blue);
    text-decoration: none;
}
.main-nav a:focus { outline: none; }
.main-nav a:focus-visible { border-radius: 2px; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--apo-blue); }
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--glow-line);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }

.site-header__actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 16px;
}

.fav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--apo-blue);
    transition: opacity .15s ease;
}
.fav-btn:hover { opacity: .7; }
.fav-btn svg { width: 28px; height: 28px; }
.fav-btn svg { fill: transparent; transition: fill .2s; }
.fav-btn[aria-pressed="true"] svg { fill: currentColor; }
.fav-btn[hidden] { display: none; }

/* Menü-Button (< 1024px): 40 × 40, Icon 28px wie Careercenter */
.nav-toggle {
    display: none;
    flex-shrink: 0;
    width: 40px; height: 40px;
    padding: 0 10.5px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--apo-blue);
}
.nav-toggle span {
    display: block;
    height: 2.3px;
    margin: 3.5px 0;
    background: currentColor;
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .3s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    background: var(--Linear);
    border-bottom-left-radius: 120px;
    color: #fff;
    overflow: hidden;
}
.hero__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: var(--grid-gap);
    min-height: 627px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 90px var(--gutter);
}
.hero__content { animation: fadeUp .8s var(--ease) both; }
.hero__title {
    margin-top: 12px;
    font-size: 64px;
    font-weight: 600;
    line-height: 1.1;
    overflow-wrap: break-word;
    hyphens:auto;
}
.hero__subtitle { margin-top: 12px; font-size: 20px; }
.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 36px;
    margin-top: 36px;
    padding: 0;
    list-style: none;
    font-size: 20px;
}
.hero__meta li { display: flex; align-items: center; gap: 10px; }
.hero__meta svg { width: 22px; height: 22px; flex-shrink: 0; }
.hero__cta { margin-top: 40px; }
/* Bild füllt die rechte Hälfte bis an den Bildschirmrand. Linke Kante =
   Start der rechten Spalte im 50:50-Raster (Mitte + halber Spaltenabstand) */
.hero__image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: calc(50% - var(--grid-gap) / 2);
    overflow: hidden;
    animation: fadeInSimple 1s ease-in-out both;
}
.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}
.hero__image:hover img { transform: scale(1.03); }


/* ==========================================================================
   Intro + Facts-Box
   ========================================================================== */

.intro {
    padding-top: 46px;
}
/* Gemeinsames 50:50-Raster, damit die Spaltenkanten über alle Sektionen
   hinweg auf denselben Linien liegen. Elemente, die bis an den Rand laufen
   (Facts-Box, Kontaktfoto, Karte), ziehen sich per negativem Margin raus. */
.intro__grid,
.job-details__grid,
.process-contact__grid,
.location-podcast__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--grid-gap);
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.intro__text { padding-top: 22px; }
.intro__text .richtext { margin-top: 36px; }
.intro__facts {
    align-self: start;
    margin-right: calc(-1 * var(--gutter));
    padding: 36px 40px 36px 40px;
    background: var(--apo-grey-bg);
    border-radius: var(--radius) 0 0 var(--radius);
}
.facts-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 0;
    list-style: none;
}
.facts-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--apo-blue);
}
.facts-list svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.facts-list__label { font-weight: 400; }

/* ==========================================================================
   Aufgaben / Profil
   ========================================================================== */

.job-details { padding: 120px 0 110px; }
.job-details .richtext { margin-top: 36px; }
.job-details .richtext ul { padding-left: 28px; }

/* ==========================================================================
   Benefits – "Darauf kannst du dich freuen"
   1:1 aus Careercenter 1008808 (BenefitsModule.jsx + benefits.css),
   Tailwind-Klassen in reines CSS übersetzt. Breakpoints: md 768px, lg 1024px.
   --dir (1 = nach unten, -1 = nach oben) setzt das Skript je nach Wechselrichtung.
   ========================================================================== */

.bnf {
    --bnf-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --dir: 1;
    padding: 4rem 0;
    background: linear-gradient(to right, var(--apo-blue), #2a6db0, var(--apo-light-blue));
}
.bnf__eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: #fff;
}
/* ad_text44 kommt mit <b> aus dem Datenfeld – Dachzeile behält ihr Gewicht */
.bnf__eyebrow b, .bnf__eyebrow strong { font-weight: inherit; }
.bnf__eyebrow span {
    flex-shrink: 0;
    width: 3rem;
    height: 1px;
    background: var(--apo-light-blue);
}
.bnf__heading {
    margin-top: 1.5rem;
    max-width: 760px;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #fff;
}

/* Weisse Karte: links Kategorien, rechts Inhalt */
.bnf__box {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 3rem;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 40px 80px -40px rgba(1, 10, 35, 0.6);
}
.bnf__nav {
    position: relative;
    border-bottom: 1px solid #f3f4f6;
}
.bnf__tablist {
    position: relative;
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1.5rem 1.5rem 1.25rem;
    scrollbar-width: none;
}
.bnf__tablist::-webkit-scrollbar { display: none; }
.bnf__tab {
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: none;
    font: inherit;
    font-size: 16px;
    line-height: 1.3;
    text-align: left;
    white-space: nowrap;
    color: var(--apo-blue);
    cursor: pointer;
    hyphens: auto;
    transition: opacity .15s ease;
}
.bnf__tab:hover { opacity: .75; }
.bnf__tab:focus { outline: none; }
.bnf__tab:focus-visible { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--apo-blue); }
.bnf__tab[aria-selected="true"] { font-weight: 500; }

/* Scroll-Hinweis unter 1024 px: Pfeile am Rand, solange links/rechts weitere Tabs
   liegen (Klasse is-visible per Script) – 1:1 CC BenefitsModule.jsx */
.bnf__arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    width: 56px;
    padding: 0 8px;
    border: 0;
    color: var(--apo-blue);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}
.bnf__arrow svg { width: 20px; height: 20px; }
.bnf__arrow--prev { left: 0; justify-content: flex-start; background: linear-gradient(to right, #fff 40%, rgba(255, 255, 255, 0)); }
.bnf__arrow--next { right: 0; justify-content: flex-end; background: linear-gradient(to left, #fff 40%, rgba(255, 255, 255, 0)); }
.bnf__arrow.is-visible { opacity: 1; pointer-events: auto; }

/* Aktiv-Linie unter dem Tab (gleitet zum gewählten Tab) */
.bnf__indicator {
    position: absolute;
    left: 0;
    top: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--apo-blue);
    transform-origin: 0 0;
    transition: transform .55s var(--bnf-ease), width .55s var(--bnf-ease);
    pointer-events: none;
}

.bnf__content {
    position: relative;
    overflow: hidden;
    padding: 2rem 1.25rem;
    background: var(--apo-grey-bg);
}

/* Glow-Fleck im Panel, wandert mit dem Tab und wechselt die Farbe */
.bnf__glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 55%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--bnf-accent, #41b6e6);
    filter: blur(90px);
    opacity: .22;
    transition: transform .9s var(--bnf-ease), background-color .9s ease;
    pointer-events: none;
}

.bnf__counter {
    position: relative;
    float: right;
    margin-left: 1.5rem;
    text-align: right;
    line-height: 1.25;
}
.bnf__count {
    display: inline-block;
    font-size: 34px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(90deg, #41b6e6, #8566c0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.bnf__counter-label {
    display: block;
    font-size: 15px;
    color: #111827;
}

.bnf__panels { position: relative; }
.bnf__panel:focus { outline: none; }

.bnf__title {
    padding-top: .5rem;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--apo-blue);
    hyphens: auto;
    overflow-wrap: break-word;
    animation: bnfTitle .7s var(--bnf-ease) both;
}
@keyframes bnfTitle {
    from { clip-path: inset(0 100% 0 0); transform: translateX(-16px); }
    to   { clip-path: inset(0 0 0 0); transform: none; }
}

/* 3 Kacheln → eine Reihe; 4 Kacheln → 2 × 2 */
.bnf__cards {
    clear: both;
    display: grid;
    gap: 1rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    perspective: 1200px;
}
.bnf__card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    transform-origin: 50% calc(50% - var(--dir) * 50%);
    animation: bnfCard .8s var(--bnf-ease) both;
    animation-delay: calc(var(--i, 0) * 90ms + 80ms);
}
@keyframes bnfCard {
    from {
        opacity: 0;
        transform: translateY(calc(var(--dir) * 48px)) rotateX(calc(var(--dir) * -18deg)) scale(.94);
        filter: blur(6px);
    }
    60% { filter: blur(0); }
    to  { opacity: 1; transform: none; filter: none; }
}
.bnf__card-inner {
    height: 100%;
    padding: 1.75rem;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 14px 36px -20px rgba(1, 33, 105, .35);
    transition: transform .4s var(--bnf-ease), box-shadow .4s ease;
}
.bnf__card:hover .bnf__card-inner {
    transform: translateY(-4px);
    box-shadow: 0 26px 50px -24px rgba(1, 33, 105, .45);
}
.bnf-icon {
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
    animation: bnfIcon .7s var(--bnf-ease) both;
    animation-delay: calc(var(--i, 0) * 90ms + 300ms);
}
@keyframes bnfIcon { from { opacity: 0; transform: scale(.85); } }

.bnf__card-title {
    margin-top: 1.5rem;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--apo-blue);
    hyphens: auto;
    overflow-wrap: break-word;
}
.bnf__card-text {
    margin-top: 1rem;
    font-size: 16px;
    line-height: 1.5;
    color: #111827;
    animation: bnfFade .6s ease both;
    animation-delay: calc(var(--i, 0) * 90ms + 380ms);
}
@keyframes bnfFade { from { opacity: 0; transform: translateY(8px); } }

.bnf__footnote {
    position: relative;
    margin-top: 1.5rem;
    max-width: 900px;
    font-size: 12px;
    line-height: 1.5;
    color: #4b5563;
}

@media (min-width: 768px) {
    .bnf { padding: 6rem 0; }
    .bnf__eyebrow { font-size: 13px; }
    .bnf__heading { font-size: 52px; }
    .bnf__box { margin-top: 5rem; border-radius: 40px; }
    .bnf__tab { font-size: 18px; }
    .bnf__content { padding: 3rem 2.5rem; }
    .bnf__count { font-size: 44px; }
    .bnf__counter-label { font-size: 17px; }
    .bnf__title { font-size: 34px; }
    .bnf__cards { gap: 1.5rem; margin-top: 2.5rem; }
    .bnf__cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bnf__card-inner { padding: 2.25rem; }
    .bnf__card-title { margin-top: 2rem; font-size: 21px; }
    .bnf__card-text { margin-top: 1.25rem; font-size: 18px; }
    .bnf__footnote { font-size: 13px; }
}
@media (min-width: 1024px) {
    .bnf { border-bottom-right-radius: 120px; }
    .bnf__heading { font-size: 60px; }
    .bnf__cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Vertikale Tabs erst ab 1280 px (= CC xl, mqLg im JS) – darunter (Tablet quer)
   wäre die Inhaltsspalte neben den Tabs zu schmal → horizontale Tabs mit Scroll-Pfeilen */
@media (min-width: 1280px) {
    .bnf__box { grid-template-columns: minmax(240px, 300px) 1fr; }
    .bnf__nav { border-bottom: 0; }
    .bnf__arrow { display: none; }
    .bnf__tablist { flex-direction: column; gap: 1.75rem; overflow: visible; padding: 3rem 2.25rem; }
    .bnf__tab { white-space: normal; }
}

/* ==========================================================================
   Media-Box (1:1 Careercenter, MediaTextBox.jsx): grauer Kasten, Text links,
   Bild rechts (oder Medium, z. B. kununu-Widget) – genutzt von "Vielfalt
   erleben" (#vielfalt) und Kununu (#kununu)
   ========================================================================== */

.media-box { padding: 40px 0 0; }
.media-box + .media-box { padding-top: 32px; }
/* Nach vollflächigen Sektionen (Benefits-Verlauf, graue Fakten) mehr Luft,
   sonst klebt der graue Kasten am Band (CC-Sektionsabstand pb-16 / md:pb-24) */
.bnf + .media-box,
.facts + .media-box { padding-top: 64px; }
@media (min-width: 768px) {
    .bnf + .media-box,
    .facts + .media-box { padding-top: 96px; }
}
.media-box__box {
    max-width: 1440px;
    margin: 0 auto;
    border-radius: var(--radius);
    background: var(--apo-grey-bg);
}
.media-box__grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 48px;
}
.media-box__title { max-width: 480px; margin-top: 24px; }
.media-box__text {
    max-width: 440px;
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.45;
    color: #111827;
}
.media-box__text p + p { margin-top: 16px; }
.media-box__cta { margin-top: 40px; }
.media-box__image img {
    width: 100%;
    max-width: 572px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
}
/* Statt Bild: eigenes Medium (z. B. kununu-Widget) – einspaltig linksbündig wie
   der Text, ab 1024 px mittig in der rechten Spalte (1:1 CC MediaTextBox.jsx) */
.media-box__media { display: flex; justify-content: flex-start; }
.kununu-widget {
    position: relative; /* Containing Block für sr-only */
    display: block;
    border-radius: var(--radius);
}
/* Widget (quadratisch) und Siegel (600:791) gleich hoch – mobil kleiner,
   damit beide nebeneinander passen (150 + 114 + 16 px), 1:1 CC */
.kununu-media { align-items: center; gap: 16px; }
.kununu-widget img,
.kununu-badge { display: block; width: auto; height: 150px; }
.kununu-widget:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--apo-grey-bg), 0 0 0 6px var(--apo-blue);
}
@media (min-width: 640px) {
    .kununu-media { gap: 24px; }
    .kununu-widget img,
    .kununu-badge { height: 200px; }
}
@media (min-width: 768px) {
    .media-box__grid { padding-top: 32px; padding-bottom: 32px; }
    .kununu-widget img,
    .kununu-badge { height: 240px; }
}
@media (min-width: 1024px) {
    .media-box__grid { grid-template-columns: 1fr 1fr; }
    .media-box__content { padding: 64px 0; }
    .media-box__image { justify-self: end; }
    .media-box__media { justify-self: center; justify-content: center; }
}
@media (max-width: 640px) {
    .media-box__text { font-size: 17px; }
}

/* ==========================================================================
   FAQ – "Häufige Fragen zur Bewerbung" (1:1 Careercenter, FaqAccordion.jsx)
   ========================================================================== */

.faq { padding: 100px 0; }
.faq__list {
    max-width: 1100px;
    margin-top: 48px;
    padding: 0;
    list-style: none;
    border-top: 1px solid #e5e7eb;
}
.faq__item { border-bottom: 1px solid #e5e7eb; }
.faq__item h3 { margin: 0; font: inherit; }
.faq__toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
    border: 0;
    border-radius: 6px;
    background: none;
    text-align: left;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.375;
    color: var(--apo-blue);
    transition: opacity .2s;
}
.faq__toggle:hover { opacity: .8; }
.faq__toggle:focus-visible { outline: 2px solid var(--apo-blue); outline-offset: 2px; }
.faq__pm {
    position: relative;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--apo-lavender);
}
.faq__pm::before,
.faq__pm::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    margin: -1px 0 0 -9px;
    border-radius: 1px;
    background: var(--apo-blue);
    transition: transform .3s ease-out;
}
.faq__pm::after { transform: rotate(90deg); }
.faq__item.is-open .faq__pm::after { transform: rotate(90deg) scaleX(0); }
.faq__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease-out;
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
/* relative: Containing Block für sr-only-Texte, sonst entkommen sie dem overflow */
.faq__panel > div { position: relative; overflow: hidden; }
.faq__inner > :first-child { margin-top: 0; }
.faq__inner {
    max-width: 880px;
    padding: 0 64px 24px 0;
    font-size: 17px;
    line-height: 1.55;
    color: #111827;
}
.faq__inner p a { color: var(--apo-blue); text-underline-offset: 3px; }
.faq__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 500;
    color: var(--apo-blue);
    text-decoration: underline;
    text-decoration-color: rgba(1, 33, 105, .3);
    text-underline-offset: 4px;
    transition: text-decoration-color .2s;
}
.faq__link:hover { text-decoration-color: var(--apo-blue); }
.faq__link:focus-visible { outline: 2px solid var(--apo-blue); outline-offset: 2px; }
.faq__link .icon-arrow { width: 16px; height: 16px; }
.faq__all { margin-top: 48px; }

/* ==========================================================================
   CTA-Band – "Heute Bewerbung, morgen Berufung."
   ========================================================================== */

.cta-band {
    padding: 100px 0;
    color: #fff;
    background: linear-gradient(to right, var(--apo-blue), #2a6db0, var(--apo-light-blue));
}
.cta-band__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.cta-band__title {
    max-width: 900px;
    font-size: 80px;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.01em;
    hyphens: auto;
    overflow-wrap: break-word;
}
.cta-band__btn { margin-top: 40px; }
.btn--white { background: #fff; color: var(--apo-blue); }
.btn--white:focus-visible { outline-color: #fff; }

/* ==========================================================================
   Job-Newsletter (1:1 Careercenter, JobAboBanner.jsx) + Modal
   ========================================================================== */

.jobabo {
    padding: 80px 0;
    color: #fff;
    background: linear-gradient(to right, var(--apo-blue), #2a6db0, var(--apo-light-blue));
}
.jobabo__title {
    max-width: 900px;
    font-size: 80px;
    font-weight: 600;
    line-height: 1.05;
    hyphens: auto;
    overflow-wrap: break-word;
}
.jobabo__text {
    max-width: 760px;
    margin-top: 24px;
    font-size: 20px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .95);
}
.jobabo__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 820px;
    margin-top: 40px;
}
.jobabo__input {
    width: 100%;
    height: 56px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #fff;
    font: inherit;
    font-size: 17px;
    color: #111827;
    box-shadow: 0 6px 24px -10px rgba(0, 0, 0, .35);
}
.jobabo__input::placeholder { color: #1f2937; opacity: 1; }
.jobabo__input:focus { outline: none; box-shadow: 0 0 0 2px #fff; }
.jobabo__btn {
    flex-shrink: 0;
    height: 56px;
    padding: 0 32px;
    border: 0;
    border-radius: 999px;
    background: var(--apo-blue);
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    transition: box-shadow .25s var(--ease);
}
.jobabo__btn:hover { box-shadow: var(--shadow-glow); }
.jobabo__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.jobabo__hint {
    max-width: 760px;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .85);
}
@media (min-width: 640px) {
    .jobabo__form { flex-direction: row; align-items: center; gap: 16px; }
    .jobabo__input { flex: 1; }
}

/* Modal: natives <dialog> (Fokusfalle, Esc, Top-Layer), Optik wie Dialog im CC */
html.modal-open { overflow: hidden; }
.jobabo-modal {
    width: 100%;
    max-width: 900px;
    max-height: 100vh;
    max-height: 100dvh;
    margin: auto;
    padding: 0;
    border: 0;
    background: #fff;
    color: var(--apo-text);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
    overflow-y: auto;
}
.jobabo-modal::backdrop { background: rgba(0, 0, 0, .25); }
.jobabo-modal__panel { position: relative; padding: 24px; }
.jobabo-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--apo-blue);
    transition: background-color .2s;
}
.jobabo-modal__close:hover { background: var(--apo-lavender); }
.jobabo-modal__close:focus-visible { outline: 2px solid var(--apo-light-blue); outline-offset: 2px; }
.jobabo-modal__close svg { width: 16px; height: 16px; }
/* Starthöhe, bis das Job-Abo seine Höhe per postMessage meldet */
.jobabo-modal__frame iframe { display: block; width: 100%; height: 640px; border: 0; }
@media (min-width: 640px) {
    .jobabo-modal { border-radius: 6px; }
}
@media (min-width: 768px) {
    .jobabo-modal__panel { padding: 40px; }
}

@media (max-width: 1024px) {
    .faq { padding: 80px 0; }
    .cta-band { padding: 80px 0; }
    .cta-band__title, .jobabo__title { font-size: 64px; }
}
@media (max-width: 640px) {
    .faq { padding: 64px 0; }
    .faq__toggle { font-size: 18px; }
    .faq__inner { padding-right: 0; }
    .cta-band { padding: 56px 0; }
    .jobabo { padding: 56px 0; }
    .cta-band__title, .jobabo__title { font-size: 40px; }
    .jobabo__text { margin-top: 20px; font-size: 17px; }
    .jobabo__form { margin-top: 32px; }
    .jobabo__hint { font-size: 13px; }
}

/* ==========================================================================
   Bewerbungsprozess + Kontakt
   ========================================================================== */

.process-contact { padding: 100px 0 80px; }
.process-contact .section-title { font-weight: 600; }

/* Accordion-Timeline */
.process { margin-top: 48px; padding: 0; list-style: none; }
.process__step { position: relative; padding-left: 50px; }
.process__step + .process__step { margin-top: 22px; }
.process__step::before {           /* gestrichelte Verbindungslinie */
    content: "";
    position: absolute;
    left: 20px;
    top: 44px;
    bottom: -24px;
    border-left: 3px dotted var(--apo-blue);
}
.process__step:last-child::before { display: none; }
.process__icon {
    position: absolute;
    left: 0;
    top: 2px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--apo-blue);
    background: #fff;
}
.process__icon svg { width: 36px; height: 36px; }
.process__icon--dot::after {
    content: "";
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--apo-blue);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.process__step.is-open .process__icon--dot::after { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(65, 182, 230, .25); }

.process__heading { margin: 0; font: inherit; }
.process__toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--apo-blue);
}
.process__toggle:focus-visible { outline: 2px solid var(--apo-light-blue); outline-offset: 4px; border-radius: 4px; }
.process__pm {
    position: relative;
    width: 16px; height: 16px;
    flex-shrink: 0;
    margin-right: 6px;
}
.process__pm::before,
.process__pm::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 50%;
    height: 2px;
    margin-top: -1px;
    background: currentColor;
    transition: transform .3s var(--ease);
}
.process__pm::after { transform: rotate(90deg); }
.is-open .process__pm::after { transform: rotate(0deg); }

.process__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s var(--ease);
}
.process__panel > div { overflow: hidden; }
.is-open .process__panel { grid-template-rows: 1fr; }
.process__panel p {
    padding: 6px 0 10px 4px;
    font-size: 17px;
    line-height: 1.45;
}

/* Kontaktperson */
.contact__photo {
    margin-top: 48px;
    margin-right: calc(-1 * var(--gutter));
    aspect-ratio: 710 / 432;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    overflow: hidden;
}
.contact__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.contact__photo:hover img { transform: scale(1.03); }
.contact__card {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0 0 26px;
    color: var(--apo-blue);
}
.contact__name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 600;
}
.contact__name a { display: inline-flex; transition: transform .2s var(--ease); }
.contact__name a:hover { transform: translateY(-2px); }
.contact__name svg { width: 26px; height: 26px; }
.contact__position { margin-top: 4px; font-size: 20px; }
.contact__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}
.contact__phone svg { flex-shrink: 0; width: 20px; height: 21px; }
.contact__phone:hover span { text-decoration: underline; }
.contact__text { margin-top: 16px; padding: 0 26px; font-size: 17px; }

/* ==========================================================================
   Arbeitsort + Podcast
   ========================================================================== */

.location-podcast { padding: 40px 0 60px; }
/* Direkt nach dem CTA-Band (sonst nach Bewerbungsprozess mit 80px Unterkante) */
.cta-band + .location-podcast { padding-top: 100px; }
@media (max-width: 640px) {
    .cta-band + .location-podcast { padding-top: 64px; }
}
.location-podcast .section-title { font-weight: 600; }
.map {
    position: relative;
    margin-top: 22px;
    margin-left: calc(-1 * var(--gutter));
    height: 512px;
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    overflow: hidden;
    background: var(--apo-grey-bg);
}
.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}
.map.is-active iframe { pointer-events: auto; }
.podcast__embed { margin-top: 22px; }
.podcast__embed:empty { display: none; }
.podcast__embed iframe {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 12px;
}

/* Consent: Embeds (Karte, Podcast) erst nach Zustimmung – Logik in assets/js/consent.js.
   Ohne Zustimmung (oder ohne JS) steht ein Hinweis mit Button statt des iframes. */
.consent-embed { position: relative; }
.consent-embed:not([data-consent="granted"]) iframe { display: none; }
.consent-embed[data-consent="granted"] .consent-embed__notice { display: none; }
.consent-embed__notice {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    padding: 32px var(--gutter);
    color: var(--apo-text);
    font-size: 17px;
    line-height: 1.45;
}
.map .consent-embed__notice { height: 100%; padding-left: calc(2 * var(--gutter)); }
.podcast__embed .consent-embed__notice {
    min-height: 232px;
    padding: 32px;
    border-radius: 12px;
    background: var(--apo-grey-bg);
}

/* ==========================================================================
   Schon gewusst? (1:1 aus Careercenter)
   ========================================================================== */

/* Sektion behält den grauen Inserat-Hintergrund; Raster, Kacheln und Dots 1:1 CC
   (Breakpoints Tailwind: sm 640 / md 768 / lg 1024). Helle Kacheln hier weiss. */
.facts { padding: 120px 0; background: var(--apo-grey-bg); }
.facts__grid { display: grid; gap: 40px; }
.facts .section-title { margin-top: 24px; font-size: 38px; }
.facts__intro p { margin-top: 24px; font-size: 17px; line-height: 1.45; color: #111827; }

.facts__stage { display: grid; }
.facts__page { grid-area: 1 / 1; display: grid; gap: 24px; }
.facts__page--ghost { visibility: hidden; }
.facts__big { min-height: 420px; }
.facts__col { display: flex; flex-direction: column; gap: 24px; }
.facts__cell--grow { flex: 1 1 0%; }
.facts__cell--grow > * { min-height: 240px; }
.facts__cell--none { flex: none; }

.fact {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    transition: color .7s cubic-bezier(.4, 0, .2, 1), background-color .7s cubic-bezier(.4, 0, .2, 1);
    animation: fadeInSimple .5s ease-in-out;
}
.fact--purple { background: var(--apo-violet); color: #fff; }
.fact--navy { background: var(--apo-blue); color: #fff; }
.fact--light { background: #fff; color: var(--apo-blue); }

.fact__img { position: relative; flex: 1 1 0%; min-height: 140px; }
.fact__img--lg { min-height: 200px; }
.fact__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.fact__content { display: flex; flex-direction: column; padding: 28px; }
.fact--lg .fact__content { padding: 32px; }
.fact__content:not(.fact__content--img) { flex: 1 1 0%; justify-content: flex-end; }
.fact__content--img { padding-top: 20px !important; }
.fact--lg .fact__content--img { padding-top: 28px !important; }
.fact__icon { flex-shrink: 0; width: 44px; height: 44px; margin-bottom: auto; }
.fact--lg .fact__icon { width: 56px; height: 56px; }
.fact__icon-pad { padding-top: 24px; }

.fact__h { font-size: 34px; font-weight: 600; line-height: 1.1; }
.fact__h--lg { font-size: 36px; }
.fact__h--title { hyphens: manual; }
.fact__lead { display: block; }
.fact__nowrap { white-space: nowrap; }
.fact__line { display: block; width: 48px; height: 2px; margin-top: 12px; background: currentColor; }
.fact--lg .fact__line { margin-top: 16px; }
.fact__sub { margin-top: 12px; font-size: 17px; font-weight: 500; line-height: 1.5; }
.fact--lg .fact__sub { margin-top: 16px; font-size: 18px; }
.fact__body { margin-top: 8px; font-size: 15px; line-height: 1.5; opacity: .95; }
.fact--lg .fact__body { margin-top: 20px; font-size: 16px; }
.fact__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    border-radius: 2px;
}
.fact__link:hover { text-decoration-thickness: 2px; }
.fact__link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.fact__link svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .15s cubic-bezier(.4, 0, .2, 1); }
.fact__link:hover svg { transform: translateX(2px); }
.fact__source { margin-top: 16px; font-size: 12px; line-height: 1.4; opacity: .8; }
.fact__source a { text-decoration: underline; text-underline-offset: 2px; border-radius: 2px; }
.fact__source a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.facts__dots { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.facts__dot {
    width: 14px;
    height: 14px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d1d5db;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
}
.facts__dot:hover { background: #9ca3af; }
.facts__dot[aria-current="true"] { width: 40px; background: var(--apo-blue); }
.facts__dot:focus-visible { outline: 2px solid var(--apo-blue); outline-offset: 2px; }
/* Mobil 1 Fakt pro Folie → viele Dots: kleiner, damit alle in eine Zeile passen */
@media (max-width: 639px) {
    .facts__dots { flex-wrap: wrap; gap: 6px; }
    .facts__dot { width: 8px; height: 8px; }
    .facts__dot[aria-current="true"] { width: 24px; }
}

@media (min-width: 640px) {
    .facts__page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts__page--right .facts__big { order: 2; }
    .fact__img { min-height: 88px; }
    .fact__img--lg { min-height: 160px; }
}
@media (min-width: 768px) {
    .facts .section-title { font-size: 48px; }
    .facts__intro p { font-size: 18px; }
    .fact__content { padding: 32px; }
    .fact--lg .fact__content { padding: 40px; }
    .fact__content--img { padding-top: 24px !important; }
    .fact--lg .fact__content--img { padding-top: 32px !important; }
    .fact__h { font-size: 40px; }
    .fact__h--lg { font-size: 46px; }
    .fact__sub { font-size: 18px; }
    .fact--lg .fact__sub { font-size: 19px; }
    .fact--lg .fact__body { font-size: 17px; }
    .fact__link { font-size: 16px; }
    .fact__source { font-size: 13px; }
}
@media (min-width: 1024px) {
    .facts__page { min-height: 600px; }
}
/* Erst ab 1300 px Titel/Text links neben dem Slider; darunter Slider in voller Breite darunter */
@media (min-width: 1300px) {
    .facts__grid { grid-template-columns: minmax(0, 420px) 1fr; gap: 64px; }
}

/* ==========================================================================
   Weitere spannende Stellen
   ========================================================================== */

.more-jobs { padding: 110px 0 60px; }
.more-jobs__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 56px;
    padding: 24px;
    list-style: none;
    background: var(--apo-lavender);
    border-radius: var(--radius-xl);
}
.job-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 24px;
    background: var(--apo-lavender-card);
    border-radius: var(--radius);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.job-card:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 12px 30px -18px rgba(1, 33, 105, .45); }
.job-card__main { flex: 1; min-width: 0; max-width: 640px; }
.job-card__title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.17;
    color: var(--apo-blue);
}
.job-card__title a { text-decoration: none; }
.job-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* ganze Karte klickbar */
.job-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 32px;
    margin-top: 10px;
    font-size: 17px;
}
.job-card__loc { display: inline-flex; align-items: center; gap: 8px; }
.job-card__loc svg { width: 14px; height: 16px; color: var(--apo-violet); flex-shrink: 0; }
.job-card__tag {
    padding: 1px 14px;
    border: 1.5px solid var(--apo-violet);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: var(--apo-violet);
}
.job-card__actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 34px;
    margin-left: auto;
}
.job-card .fav-btn { color: var(--apo-violet); }
.job-card .fav-btn svg { width: 24px; height: 24px; }
.job-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #EFEBFA;
    color: var(--apo-violet);
    transition: background-color .25s, color .25s;
}
.job-card__arrow svg { width: 22px; height: 22px; transition: transform .25s var(--ease); }
.job-card:hover .job-card__arrow { background: var(--apo-violet); color: #fff; }
.job-card:hover .job-card__arrow svg { transform: translateX(3px); }

.more-jobs__cta { display: flex; justify-content: flex-end; margin-top: 32px; }

/* ==========================================================================
   Immer noch neugierig? + Footer
   ========================================================================== */

/* Optik 1:1 Careercenter 1008808 (src/components/layout/Footer.jsx):
   apoBlue-Fläche mit weisser Trennlinie oben (Abgrenzung zum blauen
   Job-Newsletter-Verlauf), Subfooter-Leiste apoBlueDark. */
.curious {
    padding: 56px 0;
    border-top: 1px solid #fff;
    background: var(--apo-blue);
    color: #fff;
}
.curious .section-title { font-weight: 500; font-size: 48px; line-height: 1.25; color: #fff; }
.curious__lead { margin-top: 16px; font-size: 18px; font-weight: 300; }
.curious__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.curious .btn { padding: 10px 16px; }
.curious .btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--apo-blue), 0 0 0 4px #fff; }
.btn--green { background: var(--apo-green); color: var(--apo-blue); }
.btn--green:hover { box-shadow: none; filter: brightness(.95); }
.btn--outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn--outline-light:hover { box-shadow: none; background: rgba(255, 255, 255, .1); }

.footer-links {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px 32px;
    margin-top: 56px;
    color: #fff;
}
@media (max-width: 1023px) {
    .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.footer-links h3 { font-size: 20px; font-weight: 500; color: #fff; }
.footer-links address { margin-top: 16px; font-style: normal; font-size: 16px; font-weight: 300; line-height: 28px; }
.footer-links address a { text-decoration: none; transition: opacity .2s; }
.footer-links address a:hover { opacity: .7; }
.footer-links ul { margin-top: 16px; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 12px; }
.footer-links a:focus-visible,
.footer-links__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 2px; }
/* Button (öffnet das Job-Newsletter-Modal) sieht aus wie die Footer-Links */
.footer-links__btn {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}
.footer-links ul a,
.footer-links__btn {
    font-size: 16px;
    font-weight: 300;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity .2s;
}
.footer-links ul a:hover,
.footer-links__btn:hover { opacity: .7; }
.footer-social { margin-top: 32px; }
.footer-social ul { display: flex; align-items: center; gap: 16px; }
.footer-social li + li { margin-top: 0; }
.footer-social a { display: inline-flex; color: #fff; transition: opacity .2s; }
.footer-social a:hover { opacity: .7; }
.footer-social svg { height: 24px; width: auto; }

/* Subfooter-Leiste 1:1 CC: apoBlueDark, py-5, 16px Light; Inhalt (Drucken/Teilen + Rechtliches) bleibt */
.bottom-bar { background: var(--apo-blue-darker); color: #fff; }
.bottom-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 16px;
    font-weight: 300;
}
.bottom-bar__tools { position: relative; display: flex; gap: 24px; }
.bottom-bar__tools button {
    display: inline-flex;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    transition: opacity .2s, transform .2s var(--ease);
}
.bottom-bar__tools button:hover { opacity: .7; }
.bottom-bar__tools button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }
.bottom-bar__tools svg { width: 24px; height: 24px; }
.bottom-bar__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.bottom-bar__legal a { text-decoration: none; transition: opacity .2s; }
.bottom-bar__legal a:hover { opacity: .7; }
.bottom-bar__legal a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }
/* „Cookie-Einstellungen“ ist eine Aktion → <button>, optisch wie die Links daneben. */
.bottom-bar__consent {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}
.bottom-bar__consent:hover { text-decoration: underline; }
.bottom-bar__consent:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.share-menu {
    position: absolute;
    left: 40px;
    bottom: calc(100% + 16px);
    display: flex;
    gap: 8px;
    padding: 10px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4);
}
.share-menu[hidden] { display: none; }
.share-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--apo-grey-bg);
    color: var(--apo-blue);
    transition: background-color .2s, color .2s;
}
.share-menu a:hover { background: var(--apo-blue); color: #fff; }
.share-menu svg { width: 20px; height: 20px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1400px) {
    .main-nav ul { gap: 14px; }
    .main-nav a { font-size: 15px; }
    .hero__title { font-size: 54px; hyphens:auto;}
}

/* Burger-Menü schon bis 1180px: 7 Menüpunkte + "Jetzt bewerben" + Merk-Herz
   brauchen gemessen ~1135px Fensterbreite, darunter läuft der Header über. */
@media (max-width: 1180px) {
    :root { --header-h: 72px; }
    .nav-toggle { display: block; }
    .site-header__inner { gap: 16px; }
    .site-header__logo { margin-right: auto; }
    .site-header__logo img { height: 44px; }
    /* Mobil-Menü 1:1 Careercenter: Panel unter dem Header, Einträge 17px Medium, aktiv/hover #F3F1FF */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: #fff;
        box-shadow: 0 12px 30px -16px rgba(1, 33, 105, .35);
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s var(--ease);
    }
    .nav-open .main-nav { max-height: 640px; border-bottom: 1px solid #e5e7eb; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; max-width: var(--container); margin: 0 auto; padding: 12px 16px; }
    .main-nav a { display: block; padding: 12px; border-radius: 12px; font-size: 17px; font-weight: 500; }
    .main-nav a:hover,
    .main-nav a.is-active { background: #F3F1FF; }
    .main-nav a::after { display: none; }
}

@media (max-width: 1024px) {

    .hero { border-bottom-left-radius: 64px; }
    .hero__grid { grid-template-columns: 1fr; min-height: 0; padding: 56px 0 0 0; gap: 40px; }
    .hero__content { padding: 0 var(--gutter); }
    .hero__image { position: static; width: auto; aspect-ratio: 16 / 9; }

    .intro__grid,
    .process-contact__grid,
    .location-podcast__grid { grid-template-columns: 1fr; gap: 48px; }
    .intro__text { padding-top: 0; }
    .contact__card { padding-left: 0; }
    .contact__text { padding-left: 0; padding-right: 0; }
    .map { height: 380px; }

    .job-details { padding: 80px 0; }
    .job-details__grid { grid-template-columns: 1fr; gap: 72px; }

    .facts { padding: 80px 0; }

    .section-title { font-size: 46px; }
}

@media (max-width: 640px) {
    body { font-size: 17px; }
    /* "Jetzt bewerben" klein im Header, erst nach dem Hero (JS: .is-past-hero).
       visibility statt display: Platz bleibt reserviert (kein Springen), unsichtbar
       ist der Link weder fokussierbar noch für Screenreader da. */
    .site-header__inner { gap: 12px; }
    .site-header__logo img { height: 40px; }
    .site-header__actions { gap: 10px; }
    .site-header__apply {
        min-height: 32px;
        padding: 6px 12px;
        font-size: 14px;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-4px);
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
    }
    .is-past-hero .site-header__apply {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s;
    }
    .hero__title { font-size: 40px; hyphens: auto; }
    .hero__meta, .eyebrow { font-size: 18px; }
    .section-title,
    .curious .section-title { font-size: 38px; }
    .intro__facts { padding: 28px 24px; }
    .process__step { padding-left: 46px; }
    .process__toggle { font-size: 24px; }
    .contact__card { flex-direction: column; }
    .map { height: 300px; }


    .more-jobs__list { padding: 12px; border-radius: var(--radius); }
    .job-card { flex-direction: column; align-items: flex-start; padding: 20px; }
    .job-card__title { font-size: 20px; }
    .job-card__actions { margin-left: 0; gap: 20px; }

    .footer-links { grid-template-columns: 1fr; margin-top: 56px; }
    .bottom-bar__legal { gap: 16px; font-size: 16px; }
}

/* Sehr schmale Geräte (z. B. 320px): Logo + Button noch etwas kleiner, damit
   Logo, Button und Burger in eine Zeile passen */
@media (max-width: 374px) {
    .site-header__inner { gap: 10px; }
    .site-header__logo img { height: 34px; }
    .site-header__apply { padding: 5px 10px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Print
   ========================================================================== */

/* Druckansicht: eigenes Stylesheet apobank-print.css (media="print") */
