.hkss-wrap {
    width: 100%; }

/* Slick: verhindert "springen" bei fade */
.hkss-slider,
.hkss-slider .slick-list,
.hkss-slider .slick-track { height: 100%; }

.hkss-slide { position: relative; }


.hkss-wrap .slick-slider-dots{
	width: 1331px;
	max-width:1331px;
	margin:0 auto;
}

.hkss-wrap .slick-dots{
    bottom: 60px;
    width: 1331px;
    max-width: 1331px;
    padding-left: 18px;
    text-align: left;
}

/* Fullwidth farbiger Hintergrund */
.hkss-slide-bg {
  /*--hkss-bg: #1e4bd8 !important;*/    /* Hintergrundfarbe */
  --hkss-pad-y: 140px;    /* Luft */

  position: relative;

  /*background: var(--hkss-bg);*/

  /*background: #1e4bd8 !important;*/
  /*background: linear-gradient(136deg,rgba(198, 226, 253, 1) 0%, rgba(225, 238, 249, 1) 35%) !important;*/
  /*background: linear-gradient(136deg,rgba(204, 221, 241, 1) 0%, rgba(210, 234, 236, 1) 50%) !important;*/

  background: linear-gradient(136deg,rgba(113, 183, 250, 0.2) 0%, rgba(113, 183, 250, 0.2) 50%) !important;

  padding: var(--hkss-pad-y) 0;
  color: #333333;
  overflow: hidden;
  min-height: var(--hkss-minh, 600px);
  /* Mindesthöhe gegen "Springen" */
  min-height: 600px;
}

/* ✅ Container-Mitte per JS: padding über --hkss-gutter */
.hkss-inner {
  position: relative;
  z-index: 2;

  width: 1331px !important;
  max-width: 1331px !important;

  /* ✅ per JS berechnet (Fallback 20px) */
  padding-left: var(--hkss-gutter, 20px);
  padding-right: var(--hkss-gutter, 20px);

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 auto
}

/* ✅ Linker Textbereich (Avada-like) */
.hkss-left {
  width: 40%;
  flex: 0 0 40%;

  /* dein „Column spacing“ bleibt */
  padding-left: 1.8%;
  padding-right: 3.84%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

/* Bild rechts: full-bleed bis zum rechten Rand */
.hkss-right-bleed {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  height: 100%;

  /* Bildbereich breit, bündig rechts */
  width: clamp(52%, 56vw, 68%);
}

/* Bild füllt den rechten Bereich */
.hkss-image {
  height: 100%;
  width: 100%;
  min-height: 500px;

  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;

  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;

  /*box-shadow: 0 18px 45px rgba(0,0,0,0.20);*/
}

/* Falls kein Bild gesetzt ist */
.hkss-image--empty {
  background: rgba(255,255,255,0.10);
}

/* Typo */
.hkss-headline {
  margin: 0 0 14px;
  /*font-size: clamp(36px, 3.8vw, 68px);*/
  font-size: 2em !important;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #0000B4 !important;
  font-weight: 800;
  /*text-shadow: 0 2px 14px rgba(0,0,0,0.22);*/
}

.hkss-subheadline {
  margin: 0 0 18px;
  font-size: clamp(16px, 1.55vw, 22px);
  opacity: 0.95;
  /*text-shadow: 0 2px 12px rgba(0,0,0,0.18);*/
}

.hkss-text {
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.6;
  /*text-shadow: 0 2px 12px rgba(0,0,0,0.18);*/
}
.hkss-text p { margin: 0 0 14px; }

/* Animation Basis */
.hkss-left > * {
  opacity: 0;
  transform: translateY(18px);
}

/* Aktiv-Animationen */
.hkss-slide.is-active .animate-hl { animation: hkssFadeUp 1.2s ease forwards; }
.hkss-slide.is-active .animate-sh { animation: hkssFadeUp 1.2s ease forwards; animation-delay: 0.35s; }
.hkss-slide.is-active .animate-text { animation: hkssFadeUp 1.2s ease forwards; animation-delay: 0.7s; }
.hkss-slide.is-active .animate-btn { animation: hkssFadeUp 1.2s ease forwards; animation-delay: 1.15s; }

@keyframes hkssFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Button */
.hkss-button {
    margin-top: 22px;
    display: inline-flex;
    width: auto;
    max-width: 100%;
    align-self: flex-start;
    white-space: nowrap;
    padding: 6px 24px;
    border-radius: 999px;
    background: #0000B4;

    /*border: 1px solid #0000B4;*/
    color: #C6E2FD;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.85em;
}

.hkss-button:hover {
    background: #4dd0e1;
    /*border: 1px solid #C6E2FD;*/
    background-image: linear-gradient(136deg,#5bb9c9 60%, #98d2de 100%);
    color: #FFFFFF;
    transition: background-color 0.5s ease;
}

/* Mobile */
@media (max-width: 991px) {
  /* Avada: small = 100% */
  .hkss-left {
    width: 100%;
    flex: 0 0 100%;
    padding-left: 1.92%;
    padding-right: 1.92%;
  }

  .hkss-right-bleed {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 18px;
  }

  .hkss-image {
    min-height: 260px;
    border-top-left-radius: 22px;
    border-bottom-left-radius: 22px;
  }

  .hkss-slide-bg {
    min-height: 0;
  }
}


/* --- Slick Arrows (Chevrons) --- */
.hkss-slider { position: relative; }

.hkss-arrow {
  position: absolute;
  top: 50px;
  transform: translateY(-50%);
  z-index: 20;

  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 0px solid rgba(100,100,100,0.35);
  /*background: rgba(0,0,0,0.18);*/
  background-color: #c6e2fd;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s;
}

.hkss-prev { right: 52px; }
.hkss-next { right: 18px; }

.hkss-arrow:hover {
  background: #0000B4;
  background: linear-gradient(136deg,rgba(0, 0, 180, 1) 50%, rgba(0, 0, 180, 1) 100%);
}

.hkss-arrow svg {
  width: 18px;
  height: 18px;
  fill: #666666;
  opacity: 0.95;
  margin-top: 3px;
}

.hkss-arrow:hover svg{
    fill: #FFFFFF;
}

.hkss-arrow:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.25);
}

/* Dots unten etwas Abstand */
.hkss-slider .slick-dots { bottom: 0px; }


.slick-dots li button{
    background-color: #71b7fa;
    border-radius: 10px;
    width: 10px;
    height: 10px;

    -webkit-transition: width 1s ease-in-out;
    -moz-transition: width 1s ease-in-out;
    -o-transition: width 1s ease-in-out;
    transition: width 1s ease-in-out;

}

.slick-dots li.slick-active button{
    background-color: #0000B4;
    width: 50px;

    -webkit-transition: width 1s ease-in-out;
    -moz-transition: width 1s ease-in-out;
    -o-transition: width 1s ease-in-out;
    transition: width 1s ease-in-out;

    /* Firefox */
    -moz-transition: all 8s ease-in;
    /* WebKit */
    -webkit-transition: all 8s ease-in;
    /* Opera */
    -o-transition: all 8s ease-in;
    /* Standard */
    transition: all 8s ease-in;
}

.slick-dots li {
    width: auto;
    margin: 0 3px;
}

.slick-dots li button::before {
    width: 0;
    content: none !important;
}

.hkss-slider .image-overlay{
    left: -1px;
    top: 0;
    bottom: -1px;
    width: 100%;
    position: absolute;
    background-image: url("../images/Overlay.svg");
    background-repeat: no-repeat;
}

.hkss-slider .image-overlay svg{
    fill: #0a7aff;
}

/* Mobile: Pfeile etwas kleiner */
@media (max-width: 991px) {
  .hkss-prev { left: 10px; }
  .hkss-next { right: 10px; }

  .hkss-arrow { width: 38px; height: 38px; }
  .hkss-arrow svg { width: 20px; height: 20px; }
}
