/* ==========================================================
   Lebenszentrum Königsborn – Heroes Theme v02 (CI 2026)
   Farben je Einrichtung: heroes-lkb-colors_v02.css
   ========================================================== */

@font-face {
  font-family: "Alan Sans";
  src: url("/r/z106gehpxaj1s6q/AlanSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

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

html {
  font-size: inherit;
}

/* Reset */

p,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
ul,
li {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.45;
}

body {
  margin: 0;
  padding: 0;
}

.container {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 780px;
  position: relative;
  overflow: hidden;
  hyphens: auto;
  hyphenate-limit-chars: 7 4 5;
  font-family: "Alan Sans", Calibri, Arial, sans-serif;
  font-weight: 400;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Übergreifendes Gestaltungselement: Farbbalken ---------- */

.brand-bar {
  height: 8px;
  width: 75%;              /* 6/8 des Rasters */
  margin-left: 25%;
  background: linear-gradient(90deg,
      #006E00 0 12.5%, #66C84D 12.5% 25%, #7A83FF 25% 37.5%, #E5312E 37.5% 50%,
      #FFDD00 50% 62.5%, #E17800 62.5% 75%, #3C3EA7 75% 87.5%, #9045CE 87.5% 100%);
}

.brand-bar-bottom {
  margin-left: 0;
  /* letzte Farbe (lila) ausgeblendet */
  background: linear-gradient(90deg,
      #006E00 0 12.5%, #66C84D 12.5% 25%, #7A83FF 25% 37.5%, #E5312E 37.5% 50%,
      #FFDD00 50% 62.5%, #E17800 62.5% 75%, #3C3EA7 75% 87.5%, transparent 87.5% 100%);
}

/* nur im Template Lila (8_ad) mit allen Farben */
.brand-bar-bottom.brand-bar-full {
  background: linear-gradient(90deg,
      #006E00 0 12.5%, #66C84D 12.5% 25%, #7A83FF 25% 37.5%, #E5312E 37.5% 50%,
      #FFDD00 50% 62.5%, #E17800 62.5% 75%, #3C3EA7 75% 87.5%, #9045CE 87.5% 100%);
}

/* ---------- Header ---------- */

.header {
  margin: 0;
  margin-bottom: 15px;
  padding: 0;
  position: relative;
}

.logo-bar {
  padding: 22px clamp(20px, 5vw, 35px) 18px;
}

.logo {
  display: block;
  height: 72px;
  width: auto;
  max-width: 100%;
}

.logo-tall {
  height: 106px;
}

.logo-xtall {
  height: 120px;
}

.main-pic {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.main-pic > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.keyvisual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- Content ---------- */

.content {
  padding: 10px clamp(20px, 5vw, 35px) clamp(25px, 5vw, 40px);
  color: var(--C-text);
}

.intro p:first-of-type {
  padding-top: 0;
}

h1 {
  font-size: 2.2em;
  font-weight: 700;
  line-height: 1.15;
  padding-top: 25px;
  color: var(--heading);
  hyphens: manual;
}

h2 {
  font-size: 1.25em;
  font-weight: 500;
  line-height: 1.3;
  padding-top: 8px;
  color: var(--C-text);
}

h3 {
  font-size: 1.2em;
  font-weight: 500;
  line-height: 1.3;
  padding-top: 35px;
  padding-bottom: 10px;
  color: var(--heading);
}

/* h3 b,
h3 strong {
  font-weight: 700;
  color: var(--heading);
} */

p {
  padding-top: 18px;
}

a,
a:active,
a:focus {
  outline: none;
}

a {
  text-decoration: none;
  background-color: transparent;
}

a:focus-visible {
  outline: 3px solid var(--accent-on-blue);
  outline-offset: 3px;
}

ul {
  list-style-type: none;
  padding-top: 10px;
}

li {
  padding-left: 22px;
  position: relative;
  padding-top: 5px;
}

li:before {
  position: absolute;
  top: 11px;
  left: 2px;
  content: "";
  height: 10px;
  width: 10px;
  border-radius: 50%;
  border: 2.5px solid var(--heading);
}

b,
strong {
  font-weight: 700;
}

.wrapp {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 40px;
}

.col {
  width: 50%;
}

.spacer-var p:first-child,
.spacer-var ul:first-child {
  padding-top: 0;
}

/* Angebot als farbige Fläche (Hell-Abstufung) */
.offer {
  width: 100%;
  margin-top: 35px;
  padding: 5px clamp(20px, 4vw, 30px) clamp(20px, 4vw, 30px);
  border-radius: 18px;
  background-color: var(--hell);
}

.offer h3,
.offer h3 b,
.offer h3 strong {
  color: var(--dunkel);
}

.offer h3 {
  padding-top: 22px;
}

.offer li:before {
  border-color: var(--dunkel);
}

/* Salary Badge */

.salary-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 30px;
  padding: 10px 24px;
  border-radius: 50px;
  background-color: var(--C-blue);
  color: #fff;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.salary-badge-label {
  font-weight: 400;
}

.salary-badge-label b {
  color: var(--accent-on-blue);
}

.salary-badge-value {
  font-weight: 700;
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  background-color: var(--C-blue);
  color: #fff;
}

.footer-wave {
  display: block;
  width: 100%;
  height: 70px;
  background-color: #fff;
}

.footer-box {
  padding: 10px clamp(20px, 5vw, 35px) 30px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer h3 {
  padding-top: 0;
  color: #fff;
}

.footer h3 b,
.footer h3 strong,
.footer b,
.footer strong {
  color: var(--accent-on-blue);
}

.footer-box h3 + p {
  padding-top: 10px;
}

.box-1 {
  width: 62%;
}

.box-2 {
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  align-self: center;
}

.box-3,
.box-4 {
  width: calc(50% - 10px);
  border-radius: 14px;
  padding: 16px 18px;
  hyphens: none;
  display: flex;
  flex-wrap: nowrap;
  column-gap: 15px;
  align-items: center;
  background-color: rgba(255, 255, 255, .08);
}

.box-3 p,
.box-4 p {
  padding-top: 0;
}

.icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
}

.claim {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 clamp(20px, 5vw, 35px) 28px;
  font-size: 1.15em;
  font-weight: 500;
  color: #fff;
}

.claim img {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

/* Buttons */

.buttons {
  font-weight: 700;
  line-height: 1.2em;
  width: 100%;
  max-width: 170px;
}

.application,
.whatsapp {
  text-align: center;
  padding: 12px 16px;
  font-size: 18px;
  transition: all .3s ease;
  border-radius: 50px;
}

.application {
  background-color: var(--btn-bg);
}

.application a {
  color: var(--btn-text);
  display: block;
}

.application:hover {
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .25);
}

.whatsapp {
  background-color: rgb(37, 211, 102);
}

.whatsapp a {
  color: #fff;
  display: block;
}

.whatsapp:hover {
  box-shadow: 0 0 0 5px #d9fdd3;
}

/* LDAD */

.ldad {
  display: none;
}

/* ---------- Responsive ---------- */

@media only screen and (max-width: 779.98px) {
  .container {
    border: none !important;
  }
}

@media only screen and (max-width: 750px) {
  .main-pic {
    height: 280px;
  }

  .logo {
    height: 60px;
  }

  .logo-tall {
    height: 88px;
  }

  .logo-xtall {
    height: 100px;
  }

  .wrapp {
    flex-direction: column;
  }

  .col {
    width: 100%;
  }
}

@media only screen and (max-width: 640px) {
  h1 {
    font-size: 1.9em;
  }

  h2 {
    padding-top: 5px;
  }

  .main-pic {
    height: 230px;
  }

  .logo {
    height: 52px;
  }

  .logo-tall {
    height: 76px;
  }

  .logo-xtall {
    height: 86px;
  }

  .box-1,
  .box-3,
  .box-4 {
    width: 100%;
  }

  .buttons {
    max-width: 100%;
  }
}
