/* ============================================================
   BKC PAGES — Seitenspezifische Styles
   ============================================================ */


/* -------------------------------------------------------
   HERO SLIDER (Slider Revolution Style)
   3 slides, story nav, staggered text, Ken Burns
   ------------------------------------------------------- */

.bkc-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #000;
}

/* --- Slides --- */

.bkc-hero__slides {
  height: 100%;
}

.bkc-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.2s ease;
}

.bkc-hero__slide--active {
  opacity: 1;
  z-index: 1;
}

/* Background: image with Ken Burns */
.bkc-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

.bkc-hero__slide--active .bkc-hero__bg {
  animation: bkcKenBurns 8s ease forwards;
}

@keyframes bkcKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* Background: self-hosted video */
.bkc-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Background: YouTube embed as fullscreen background */
.bkc-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.bkc-hero__video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100vh;
  min-width: 177.78vh; /* 16:9 */
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

/* Dark overlay */
.bkc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 2;
}

/* --- Content (text layer) --- */

.bkc-hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
  padding-top: var(--bkc-header-height);
}

.bkc-hero__inner {
  max-width: 700px;
}

/* Hero Logo — centered, inverted (white) with subtle glow */
.bkc-hero__logo {
  filter: brightness(0) invert(1)
          drop-shadow(0 0 12px rgba(255, 255, 255, 0.35))
          drop-shadow(0 0 40px rgba(255, 255, 255, 0.15));
  mix-blend-mode: screen;
  width: clamp(336px, 46vw, 624px);
  height: auto;
  margin: 0 auto var(--bkc-space-md);
  display: block;
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: opacity 0.8s ease 0.1s, transform 0.8s ease 0.1s, filter 0.8s ease 0.1s;
}

.bkc-hero__slide--active .bkc-hero__logo {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: logoGlow 4s ease-in-out 1.2s infinite alternate;
}

@keyframes logoGlow {
  0%   { filter: brightness(0) invert(1)
                 drop-shadow(0 0 12px rgba(255, 255, 255, 0.35))
                 drop-shadow(0 0 40px rgba(255, 255, 255, 0.15)); }
  100% { filter: brightness(0) invert(1)
                 drop-shadow(0 0 20px rgba(255, 255, 255, 0.55))
                 drop-shadow(0 0 60px rgba(255, 255, 255, 0.25)); }
}

/* Centered hero content */
.bkc-hero__inner--centered {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

/* Title: bold italic serif (Slider Revolution style) */
.bkc-hero__title {
  font-family: var(--bkc-font-heading);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: var(--bkc-fw-bold);
  font-style: italic;
  line-height: 1.05;
  color: #fff;
  margin-bottom: var(--bkc-space-sm);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* Staggered word reveal */
.bkc-hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.bkc-hero__slide--active .bkc-hero__title .word {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays (set via inline style: --i) */
.bkc-hero__title .word { transition-delay: calc(var(--i, 0) * 0.12s + 0.3s); }

/* Sub text */
.bkc-hero__text {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto var(--bkc-space-md);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.9s, transform 0.6s ease 0.9s;
}

.bkc-hero__slide--active .bkc-hero__text {
  opacity: 1;
  transform: translateY(0);
}

/* CTA button */
.bkc-hero__cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 1.1s, transform 0.6s ease 1.1s;
}

.bkc-hero__slide--active .bkc-hero__cta {
  opacity: 1;
  transform: translateY(0);
}

.bkc-hero__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-family: var(--bkc-font-body);
  font-size: var(--bkc-fs-label);
  font-weight: var(--bkc-fw-bold);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  transition: border-color var(--bkc-transition), background var(--bkc-transition);
}

/* Filled CTA — solid Terrakotta */
.bkc-hero__cta-btn--filled {
  background: var(--bkc-accent);
  border-color: var(--bkc-accent);
  color: #fff;
}

.bkc-hero__cta-btn:hover,
.bkc-hero__cta-btn--filled:hover {
  background: var(--bkc-accent-hover);
  border-color: var(--bkc-accent-hover);
  color: #fff;
}

.bkc-hero__cta-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- Navigation: PREV / NEXT + number --- */

.bkc-hero__nav {
  position: absolute;
  bottom: 7rem;
  right: var(--bkc-gutter);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bkc-hero__nav-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--bkc-font-body);
  font-size: var(--bkc-fs-label);
  font-weight: var(--bkc-fw-bold);
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color var(--bkc-transition);
}

.bkc-hero__nav-btn:hover {
  color: #fff;
}

.bkc-hero__nav-sep {
  color: var(--bkc-accent);
  font-size: 1.2rem;
}

.bkc-hero__nav-count {
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--bkc-font-body);
  font-size: var(--bkc-fs-label);
  font-weight: var(--bkc-fw-semibold);
  letter-spacing: 1px;
  margin-left: 0.5rem;
}

/* --- Story navigation (bottom bar) --- */

.bkc-hero__story {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

.bkc-hero__story-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--bkc-container-wide);
  margin: 0 auto;
}

.bkc-hero__story-item {
  padding: 1.25rem var(--bkc-gutter);
  cursor: pointer;
  position: relative;
  transition: background var(--bkc-transition);
}

.bkc-hero__story-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.bkc-hero__story-num {
  font-size: var(--bkc-fs-label);
  color: rgba(255, 255, 255, 0.3);
  font-weight: var(--bkc-fw-semibold);
  display: block;
  margin-bottom: 0.25rem;
}

.bkc-hero__story-title {
  font-family: var(--bkc-font-body);
  font-size: var(--bkc-fs-small);
  font-weight: var(--bkc-fw-bold);
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.bkc-hero__story-item--active .bkc-hero__story-title {
  color: #fff;
}

/* Progress bar under active story item */
.bkc-hero__story-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--bkc-accent);
  width: 0;
  transition: none;
}

.bkc-hero__story-item--active .bkc-hero__story-progress {
  animation: bkcStoryProgress 6s linear forwards;
}

@keyframes bkcStoryProgress {
  from { width: 0; }
  to   { width: 100%; }
}

/* --- Reduced motion --- */

@media (prefers-reduced-motion: reduce) {
  .bkc-hero__slide--active .bkc-hero__bg { animation: none; }
  .bkc-hero__logo { opacity: 1; transform: none; transition: none; }
  .bkc-hero__title .word { opacity: 1; transform: none; transition: none; }
  .bkc-hero__slide--active .bkc-hero__text { transition: none; }
  .bkc-hero__slide--active .bkc-hero__cta { transition: none; }
  .bkc-hero__story-item--active .bkc-hero__story-progress { animation: none; width: 100%; }
}

/* --- Sub-page Hero (shorter, for inner pages) --- */

.bkc-hero--sub {
  height: 60vh;
  min-height: 400px;
}

.bkc-hero--sub .bkc-hero__content {
  align-items: center;
  padding-bottom: 0;
}

.bkc-hero--sub .bkc-hero__title .word {
  opacity: 1;
  transform: none;
}

.bkc-hero--sub .bkc-hero__text {
  opacity: 1;
  transform: none;
  transition: none;
}


/* --- Responsive --- */

@media (max-width: 991px) {
  .bkc-hero__content { padding-bottom: 6rem; }
  .bkc-hero__nav { display: none; }
  .bkc-hero--sub { height: 50vh; min-height: 350px; }
}

@media (max-width: 575px) {
  .bkc-hero { min-height: 100svh; }
  .bkc-hero__content { padding-bottom: 5.5rem; }
  .bkc-hero__story-title { font-size: 0.65rem; letter-spacing: 1px; }
  .bkc-hero__story-item { padding: 1rem 0.75rem; }
  .bkc-hero--sub { min-height: 50svh; height: 50svh; }
}


/* -------------------------------------------------------
   KITCHEN SECTION (Die Küche)
   ------------------------------------------------------- */

.bkc-kitchen__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--bkc-space-lg);
  align-items: center;
}

.bkc-kitchen__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bkc-space-xs);
}

.bkc-kitchen__gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.bkc-kitchen__gallery img:first-child {
  grid-column: 1 / -1;
  height: 300px;
}

@media (max-width: 991px) {
  .bkc-kitchen__grid { grid-template-columns: 1fr; }
  .bkc-kitchen__gallery img:first-child { height: 240px; }
  .bkc-kitchen__gallery img { height: 180px; }
}


/* -------------------------------------------------------
   ABOUT PREVIEW (Startseite)
   ------------------------------------------------------- */

.bkc-about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bkc-space-2xl);
  align-items: center;
}

.bkc-about-preview__img-wrap {
  position: relative;
}

.bkc-about-preview__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.bkc-about-preview__badge {
  position: absolute;
  bottom: 2rem;
  right: -1rem;
  background: var(--bkc-accent);
  color: #fff;
  padding: 1.25rem 1.5rem;
  text-align: center;
  min-width: 120px;
}

.bkc-about-preview__badge-number {
  display: block;
  font-family: var(--bkc-font-heading);
  font-size: 2.5rem;
  font-weight: var(--bkc-fw-bold);
  line-height: 1;
}

.bkc-about-preview__badge-text {
  font-size: var(--bkc-fs-label);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

@media (max-width: 991px) {
  .bkc-about-preview {
    grid-template-columns: 1fr;
    gap: var(--bkc-space-xl);
  }

  .bkc-about-preview__img {
    height: 360px;
  }

  .bkc-about-preview__badge {
    right: 1rem;
  }
}


/* -------------------------------------------------------
   LEISTUNGEN (Detail-Seite)
   ------------------------------------------------------- */

.bkc-service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bkc-space-2xl);
  align-items: center;
}

.bkc-service-detail--reversed {
  direction: rtl;
}

.bkc-service-detail--reversed > * {
  direction: ltr;
}

.bkc-service-detail__img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.bkc-service-detail__icon {
  width: 68px;
  height: 68px;
  background: rgba(196, 98, 45, 0.12);
  border-radius: var(--bkc-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--bkc-space-md);
}

.bkc-service-detail__icon svg {
  width: 28px;
  height: 28px;
  fill: var(--bkc-accent);
}

/* Included features list */
.bkc-included-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--bkc-border);
  color: var(--bkc-text);
  font-size: var(--bkc-fs-small);
}

.bkc-included-list li svg {
  width: 14px;
  height: 14px;
  fill: var(--bkc-accent);
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .bkc-service-detail {
    grid-template-columns: 1fr;
    gap: var(--bkc-space-xl);
  }

  .bkc-service-detail--reversed {
    direction: ltr;
  }

  .bkc-service-detail__img {
    height: 320px;
  }
}


/* -------------------------------------------------------
   GENUSSPRODUKTE
   ------------------------------------------------------- */

.bkc-product-teaser {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.bkc-product-teaser__img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto var(--bkc-space-xl);
  border-radius: var(--bkc-radius-md);
}


/* -------------------------------------------------------
   CONTACT SPLIT LAYOUT (Lezzatos-inspired)
   ------------------------------------------------------- */

.bkc-contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--bkc-space-2xl);
}

.bkc-contact-split__form {
  background: var(--bkc-bg-secondary);
  padding: var(--bkc-space-xl);
}

@media (max-width: 991px) {
  .bkc-contact-split {
    grid-template-columns: 1fr;
  }
}


/* -------------------------------------------------------
   ÜBER UNS (Story section)
   ------------------------------------------------------- */

.bkc-story {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--bkc-space-2xl);
  align-items: center;
}

.bkc-story__img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.bkc-story__text p {
  color: var(--bkc-text-muted);
  margin-bottom: var(--bkc-space-md);
}

.bkc-story__pullquote {
  font-family: var(--bkc-font-heading);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  color: var(--bkc-accent);
  line-height: 1.5;
  margin: var(--bkc-space-lg) 0;
  border-left: 3px solid var(--bkc-accent);
  padding-left: var(--bkc-space-md);
}

@media (max-width: 991px) {
  .bkc-story {
    grid-template-columns: 1fr;
  }

  .bkc-story__img {
    height: 360px;
  }
}
