/* =========================================================
   karriere.css – Styles nur für die Seite karriere.html
   (alles beginnt mit "kr-", damit nichts anderes beeinflusst wird)
   Markenfarben: Blau #009ee0 · Creme #FDF1D2 · Grau #f9f9f9
   ========================================================= */

:root {
  --kr-blue: #009ee0;
  --kr-blue-dark: #007db3;
  --kr-navy: #00364d;
  --kr-cream: #FDF1D2;
  --kr-grey: #f9f9f9;
  --kr-ink: #1f2a30;
  --kr-text: #4a5258;
}

/* ---------- Basis ---------- */
.kr-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
}
.kr-section--grey { background: var(--kr-grey); }

.kr-vcenter:before,
.kr-vcenter:after { display: none; }
@media (min-width: 768px) {
  .kr-vcenter { display: flex; flex-wrap: wrap; align-items: center; }
}

.kr-rule {
  display: block;
  width: 46px;
  height: 3px;
  margin-bottom: 26px;
  background: var(--kr-blue);
}

.kr-h2 {
  margin: 0 0 34px;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 600;
  letter-spacing: 1.5px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--kr-ink);
}

/* ---------- Buttons ---------- */
.kr-btns { margin: 38px 0 0; }
.kr-btn {
  display: inline-block;
  margin: 0 12px 12px 0;
  padding: 15px 38px;
  border: 2px solid var(--kr-blue-dark);
  background: var(--kr-blue-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  line-height: 1.4;
  text-transform: uppercase;
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .35s ease;
}
.kr-btn:hover,
.kr-btn:focus {
  background: #00669a;
  border-color: #00669a;
  color: #fff;
  transform: translateY(-2px);
}
.kr-btn--ghost {
  background: transparent;
  color: var(--kr-blue-dark);
}
.kr-btn--ghost:hover,
.kr-btn--ghost:focus {
  background: var(--kr-blue-dark);
  border-color: var(--kr-blue-dark);
  color: #fff;
}
.kr-btn .fa { margin-right: 8px; font-size: 14px; }

/* ---------- Parallax-Baustein (wird von js/karriere.js bewegt) ---------- */
.kr-parallax {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  overflow: hidden;
  z-index: 0;
}
.kr-parallax__img {
  position: absolute;
  left: 0; right: 0;
  top: -14%; bottom: -14%;
  will-change: transform;
}
.kr-parallax__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kr-parallax__zoom {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
}

/* ---------- Bildrahmen ---------- */
.kr-frame-wrap { position: relative; }
.kr-frame-wrap:before {
  content: "";
  position: absolute;
  left: -22px; bottom: -22px;
  width: 58%; height: 58%;
  background: var(--kr-cream);
}
.kr-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  background: #dff1fa;
}
.kr-frame--landscape { padding-bottom: 75%; }
.kr-frame--portrait  { padding-bottom: 125%; }

/* Bild "zieht sich auf", sobald es sichtbar wird (nur wenn JS läuft) */
html.kr-js .kr-reveal {
  -webkit-clip-path: inset(0 0 100% 0);
          clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s cubic-bezier(.22,.61,.36,1), -webkit-clip-path 1.1s cubic-bezier(.22,.61,.36,1);
}
html.kr-js .kr-reveal.is-in {
  -webkit-clip-path: inset(0 0 0 0);
          clip-path: inset(0 0 0 0);
}

/* ---------- HERO ---------- */
.kr-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  min-height: max(560px, 100vh);
  padding: 140px 0 100px;
  overflow: hidden;
  background: #eaf6fc;
}
.kr-hero .kr-parallax__zoom {
  animation: kr-zoom 28s ease-in-out infinite alternate;
}
@keyframes kr-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}
/* weißer Verlauf: Text und Menü bleiben lesbar – egal welches Foto später drin ist */
.kr-hero__shade {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.9) 0, rgba(255,255,255,0) 170px),
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 36%, rgba(255,255,255,.4) 68%, rgba(255,255,255,0) 100%);
}
.kr-hero .container { position: relative; z-index: 2; }

.kr-eyebrow {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  padding-left: 48px;
  color: var(--kr-blue-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.kr-eyebrow:before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 34px; height: 2px;
  background: var(--kr-blue);
}
.kr-hero h1 {
  margin: 0 0 26px;
  font-size: clamp(46px, 7.4vw, 88px);
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--kr-ink);
}
.kr-lead {
  max-width: 620px;
  margin: 0;
  color: #394148;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.65;
}
.kr-lead strong {
  color: #11181c;
  font-weight: 600;
  background: linear-gradient(transparent 64%, rgba(0,158,224,.24) 64%);
}

.kr-scroll {
  position: absolute;
  left: 50%; bottom: 22px;
  z-index: 3;
  width: 44px; height: 44px;
  margin-left: -22px;
  border: 1px solid rgba(0,158,224,.5);
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  color: var(--kr-blue);
  font-size: 24px;
  line-height: 40px;
  text-align: center;
  animation: kr-bob 2.4s ease-in-out infinite;
}
.kr-scroll:hover, .kr-scroll:focus { color: var(--kr-blue-dark); background: #fff; }
@keyframes kr-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}

/* ---------- Praxis-Satz ---------- */
.kr-statement {
  margin: 0;
  color: var(--kr-ink);
  font-size: clamp(24px, 2.7vw, 34px);
  font-weight: 500;
  line-height: 1.4;
}

/* ---------- Profil / Aufgaben ---------- */
.kr-check { margin: 0; padding: 0; list-style: none; }
.kr-check li {
  position: relative;
  padding: 24px 0 24px 66px;
  border-bottom: 1px solid #e3e3e3;
  color: #2f363b;
  font-size: 17px;
  line-height: 1.55;
}
.kr-check li:first-child { border-top: 1px solid #e3e3e3; }
.kr-check li .fa {
  position: absolute;
  left: 0; top: 50%;
  width: 42px; height: 42px;
  margin-top: -21px;
  border-radius: 50%;
  background: var(--kr-blue);
  color: #fff;
  font-size: 16px;
  line-height: 42px;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease;
}
.kr-check li:hover .fa {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,158,224,.35);
}

/* ---------- Bildband (Parallax) ---------- */
.kr-band {
  position: relative;
  height: clamp(240px, 36vw, 480px);
  overflow: hidden;
  background: #8fcbe6;
}

/* ---------- Wir bieten ---------- */
.kr-tiles { display: flex; flex-wrap: wrap; margin-top: 4px; }
.kr-tiles:before, .kr-tiles:after { display: none; }
.kr-tiles > [class*="col-"] { display: flex; margin-bottom: 30px; }

.kr-tile {
  position: relative;
  flex: 1;
  padding: 34px 30px 32px;
  border: 1px solid #e8e8e8;
  background: #fff;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.kr-tile:before {
  content: "";
  position: absolute;
  left: -1px; top: -1px;
  width: 0; height: 3px;
  background: var(--kr-blue);
  transition: width .45s ease;
}
.kr-tile:hover {
  transform: translateY(-6px);
  border-color: #cfe9f6;
  box-shadow: 0 16px 36px rgba(0,100,150,.13);
}
.kr-tile:hover:before { width: calc(100% + 2px); }

.kr-tile__icon {
  display: block;
  width: 58px; height: 58px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #e6f6fd;
  color: var(--kr-blue);
  font-size: 24px;
  line-height: 58px;
  text-align: center;
  transition: background .35s ease, color .35s ease;
}
.kr-tile:hover .kr-tile__icon { background: var(--kr-blue); color: #fff; }
.kr-tile__title {
  display: block;
  color: var(--kr-ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
.kr-tile__sub {
  display: block;
  margin-top: 6px;
  color: #6b7378;
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- Bewerbung (CTA) ---------- */
.kr-cta {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: linear-gradient(135deg, var(--kr-navy) 0%, #005f87 55%, #0084b8 100%);
  color: #fff;
  text-align: center;
}
/* zwei große Halbkreise, angelehnt an den blauen Bogen im Logo */
.kr-cta:before, .kr-cta:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.kr-cta:before {
  right: -150px; top: -150px;
  width: 430px; height: 430px;
  border: 46px solid rgba(255,255,255,.06);
}
.kr-cta:after {
  left: -110px; bottom: -170px;
  width: 380px; height: 380px;
  border: 38px solid rgba(255,255,255,.05);
}
.kr-cta .container { position: relative; z-index: 1; }
.kr-cta .kr-rule { margin-left: auto; margin-right: auto; background: #fff; }
.kr-cta .kr-h2 { color: #fff; }
.kr-cta p { color: rgba(255,255,255,.88); font-size: 18px; line-height: 1.6; }
.kr-cta__small { margin-top: 30px; font-size: 14px !important; color: rgba(255,255,255,.7) !important; }
.kr-cta .kr-btns { margin-top: 34px; }
.kr-btn--white { background: #fff; border-color: #fff; color: #005f87; }
.kr-btn--white:hover, .kr-btn--white:focus { background: transparent; border-color: #fff; color: #fff; }
.kr-btn--line { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.kr-btn--line:hover, .kr-btn--line:focus { background: #fff; border-color: #fff; color: #005f87; }

/* ---------- Tablet / Handy ---------- */
@media (max-width: 991px) {
  .kr-section { padding: 90px 0; }
}
@media (max-width: 767px) {
  .kr-section { padding: 64px 0; }
  .kr-hero { padding: 120px 0 90px; }
  .kr-hero__shade {
    background:
      linear-gradient(180deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.82) 100%);
  }
  .kr-scroll { display: none; }
  .kr-frame-wrap { margin-bottom: 44px; }
  .kr-frame-wrap:before { left: -10px; bottom: -14px; }
  .kr-frame--portrait { margin-top: 40px; padding-bottom: 100%; }
  .kr-check li { padding: 20px 0 20px 58px; font-size: 16px; }
  .kr-tile { padding: 28px 24px; }
  .kr-cta { padding: 76px 0; }
  .kr-cta p { font-size: 16px; }
  .kr-btn { padding: 14px 28px; }
}

/* ---------- Wer Animationen nicht mag, bekommt keine ---------- */
@media (prefers-reduced-motion: reduce) {
  .kr-hero .kr-parallax__zoom,
  .kr-scroll { animation: none; }
  html.kr-js .kr-reveal,
  html.kr-js .kr-reveal.is-in {
    -webkit-clip-path: none;
            clip-path: none;
    transition: none;
  }
  .kr-tile, .kr-tile:before, .kr-tile__icon, .kr-btn, .kr-check li .fa { transition: none; }
}
