/* Badge auf dem Bild */
.luk-fs .fs-hero-image {
  position: relative;
}

.luk-fs .kk-badge {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--fs-glass);
  color: var(--fs-title);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(16, 41, 31, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.luk-fs .kk-badge svg {
  width: 16px;
  height: 16px;
  color: var(--fs-warm-text);
}

/* Orts-Chip als Button */
.luk-fs button.fs-place {
  border: 0;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

/* Kästen im Raster */
.luk-fs .kk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.luk-fs .kk-grid .fs-box {
  margin-top: 0;
}

.luk-fs .fs-box.is-main {
  background: var(--fs-loc-bg);
  border-color: var(--fs-loc-bd);
}

/* Live-Status */
.luk-fs .kk-status {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 26px 18px;
  border-radius: 24px;
  background: var(--fs-loc-bg);
  color: var(--fs-title);
  box-shadow: 0 14px 32px rgba(16, 41, 31, 0.14);
  transition: background 0.4s ease;
}

.luk-fs .kk-status::before {
  content: "";
  position: absolute;
  top: -90px;
  inset-inline-end: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  pointer-events: none;
}

.luk-fs .kk-status > * {
  position: relative;
}

.luk-fs .kk-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.luk-fs .kk-clock {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(16, 41, 31, 0.08);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.luk-fs .kk-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #9aa9a2;
}

.luk-fs .kk-title {
  display: block;
  color: inherit;
  font-size: clamp(26px, 4.5vw, 36px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.luk-fs .kk-next {
  display: block;
  color: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  opacity: 0.95;
}

.luk-fs .kk-count {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(16, 41, 31, 0.08);
  color: inherit;
  font-size: 15px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.luk-fs .kk-next:empty,
.luk-fs .kk-count:empty {
  display: none;
}

.luk-fs .kk-progress {
  width: min(320px, 100%);
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.luk-fs .kk-progress[hidden] {
  display: none;
}

.luk-fs .kk-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #ffffff;
  transition: width 0.6s ease;
}

.luk-fs .kk-status:is(.is-open, .is-closed, .is-holiday) {
  color: #ffffff;
}

.luk-fs .kk-status.is-open {
  background: linear-gradient(135deg, #16a06a, #0f7a50);
}

.luk-fs .kk-status.is-closed {
  background: linear-gradient(135deg, #d63b46, #a8212c);
}

.luk-fs .kk-status.is-holiday {
  background: linear-gradient(135deg, #f0962e, #c9670f);
}

.luk-fs .kk-status:is(.is-open, .is-closed, .is-holiday) :is(.kk-clock, .kk-count) {
  background: rgba(255, 255, 255, 0.2);
}

.luk-fs .kk-status:is(.is-open, .is-closed, .is-holiday) .kk-dot {
  background: #ffffff;
  opacity: 0.85;
}

.luk-fs .kk-status.is-open .kk-dot {
  opacity: 1;
  animation: kk-pulse 1.6s ease-out infinite;
}

@keyframes kk-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.75); }
  100% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}

/* Wochenleiste */
.luk-fs .kk-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.luk-fs .kk-week > li {
  list-style: none;
}

.luk-fs .kk-week > li::marker {
  content: "";
}

.luk-fs .kk-wd {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 100px;
  margin: 0;
  padding: 16px 6px 12px;
  border: 1px solid var(--fs-tile-bd);
  border-radius: 16px;
  background: var(--fs-tile);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.luk-fs .kk-wd-name {
  color: var(--fs-title);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.luk-fs .kk-wd-time {
  color: var(--fs-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  opacity: 0.8;
}

.luk-fs .kk-wd.is-open-day {
  border-color: transparent;
  background: linear-gradient(135deg, #16a06a, #0f7a50);
  box-shadow: 0 10px 24px rgba(22, 160, 106, 0.3);
}

.luk-fs .kk-wd.is-open-day :is(.kk-wd-name, .kk-wd-time) {
  color: #ffffff;
  opacity: 1;
}

.luk-fs .kk-wd.is-open-day .kk-wd-time {
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.luk-fs .kk-wd.is-today {
  box-shadow: 0 0 0 3px var(--fs-warm-text);
  transform: translateY(-2px);
}

.luk-fs .kk-wd.is-open-day.is-today {
  box-shadow: 0 0 0 3px var(--fs-warm-text), 0 10px 24px rgba(22, 160, 106, 0.3);
}

.luk-fs .kk-today {
  position: absolute;
  top: -10px;
  left: 50%;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--fs-warm-text);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

html.luk-dark .luk-fs .kk-today {
  color: #3d2d19;
}

.luk-fs .kk-today[hidden] {
  display: none;
}

/* Smartphone */
@media (max-width: 640px) {
  .luk-fs .fs-nav.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .luk-fs .fs-nav.is-three .fs-nav-link {
    flex-direction: column;
    gap: 4px;
    min-height: 62px;
    font-size: 11px;
  }

  .luk-fs .kk-badge {
    bottom: 10px;
    inset-inline-start: 10px;
    font-size: 12px;
  }

  .luk-fs .kk-status {
    padding: 22px 14px;
  }

  .luk-fs .kk-week {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .luk-fs .kk-wd {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    min-height: 0;
    padding: 12px 14px;
  }

  .luk-fs .kk-wd-name {
    margin-inline-end: auto;
    font-size: 15px;
  }

  .luk-fs .kk-wd-time {
    font-size: 14px;
  }

  .luk-fs .kk-wd.is-open-day .kk-wd-time {
    font-size: 15px;
  }

  .luk-fs .kk-wd.is-today {
    transform: none;
  }

  .luk-fs .kk-today {
    position: static;
    transform: none;
  }
}

/* Weniger Bewegung */
@media (prefers-reduced-motion: reduce) {
  .luk-fs .kk-status,
  .luk-fs .kk-wd,
  .luk-fs .kk-progress span {
    transition: none;
  }

  .luk-fs .kk-dot {
    animation: none !important;
  }

  .luk-fs .kk-wd.is-today {
    transform: none;
  }
}
