/* ================================================
   KristallTurm® Hero Slider  –  slider.css
   ================================================ */

:root {
  --kt-accent:         #00a9ff;
  --kt-accent2:        #9bc441;
  --kt-white:          #ffffff;
  --kt-dark:           #111111;
  --kt-slide-duration: 6000ms;
  --kt-anim-speed:     900ms;
}

/* ── WRAPPER ── */
.kt-slider {
  position: relative;
  width: 100%;
  height: 65vh;
  overflow: hidden;
  font-family: 'Verdana', sans-serif;
}

/* ── SLIDES ── */
.kt-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  z-index: 0;
}
.kt-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* ── BACKGROUND with ZOOM ── */
.kt-slide__bg {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  background-color: #222;        /* Fallback wenn kein Bild */
  transform: scale(1.06);
  transition: transform 0s;
  will-change: transform;
}
.kt-slide.active .kt-slide__bg {
  transform: scale(1.18);
  transition: transform var(--kt-slide-duration) cubic-bezier(0.05, 0, 0.2, 1);
}

/* ── OVERLAY ── */
.kt-slide__overlay {
  position: absolute;
  inset: 0;
}

/* ── CONTENT BOX ── */
.kt-slide__content {
  position: absolute;
  bottom: 20px;
  left: 60px;
  max-width: 580px;
  z-index: 10;
  padding: 32px 36px 36px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

/* ── LABEL ── */
.kt-slide__label {
  display: inline-block;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--kt-accent);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--kt-accent);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--kt-anim-speed) ease 0.1s,
              transform var(--kt-anim-speed) ease 0.1s;
}
.kt-slide.active .kt-slide__label {
  opacity: 1;
  transform: translateY(0);
}

/* ── TITLE ── */
.kt-slide__title {
  font-family: 'Verdana', sans-serif;
  font-weight: 900;
  font-size: 50px;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--kt-white);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--kt-anim-speed) ease 0.25s,
              transform var(--kt-anim-speed) ease 0.25s;
}
.kt-slide.active .kt-slide__title {
  opacity: 1;
  transform: translateY(0);
}

/* ── TEXT ── */
.kt-slide__text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 30px;
  max-width: 480px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--kt-anim-speed) ease 0.42s,
              transform var(--kt-anim-speed) ease 0.42s;
}
.kt-slide.active .kt-slide__text {
  opacity: 1;
  transform: translateY(0);
}

/* ── BUTTONS ── */
.kt-slide__btn {
  display: inline-block;
  text-decoration: none;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--kt-white) !important;
  background: var(--kt-accent);
  padding: 14px 28px;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0;
  transform: translateY(25px);
  transition: opacity var(--kt-anim-speed) ease 0.58s,
              transform var(--kt-anim-speed) ease 0.58s,
              background 0.3s, border-color 0.3s, color 0.3s;
}
.kt-slide__btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  margin-left: 12px;
}
.kt-slide.active .kt-slide__btn {
  opacity: 1;
  transform: translateY(0);
}
.kt-slide__btn:hover {
  background: #0093e0;
  transform: translateY(-2px) !important;
}
.kt-slide__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
}

/* ── PROGRESS BAR ── */
.kt-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--kt-accent);
  width: 0%;
  z-index: 100;
  transition: width 0s linear;
}
.kt-progress-bar.running {
  width: 100%;
  transition: width var(--kt-slide-duration) linear;
}

/* ── ARROWS ── */
.kt-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white !important;
  width: 34px !important;
  height: 34px !important;
  display: flex;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50% !important;
  transition: background 0.3s, border-color 0.3s;
  backdrop-filter: blur(6px);
}
.kt-arrow:hover {
  background: var(--kt-accent);
  border-color: var(--kt-accent);
}
.kt-arrow svg {
  width: 14px;
  height: 14px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}
.kt-arrow--prev { left: 12px; }
.kt-arrow--next { right: 12px; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .kt-slide__content {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 100%;
    padding: 20px;
  }
  .kt-slide__btn--ghost {
    margin-left: 0;
    margin-top: 10px;
  }
}
