/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  background: #1a1510;
}

/* ── Slideshow ── */
.slideshow {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* ── Card wrapper ── */
.card-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: clamp(300px, 34vw, 500px);
  display: flex;
  align-items: stretch;
  padding: 28px 0 28px 28px;
  z-index: 10;
}

/* ── Card ── */
.card {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(218, 211, 197, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* ── Card inner layout ── */
.card-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 38px 38px 32px 38px;
}

/* ── Logo inside card ── */
.card-logo {
  text-align: center;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.card-logo img {
  height: clamp(44px, 6vh, 72px);
  width: auto;
}

/* ── Text content ── */
.card-content {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.headline1 {
  font-family: 'Jost', sans-serif;
  text-align: center;
  font-weight: 500;
  font-size: 15px;
  color: #635a3f;
  letter-spacing: 0.05em;
  line-height: 1.5;
}


.card-content p:not(.headline1) {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 13.5px;
  color: #635a3f;
  line-height: 1.75;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.headline2 {
  font-family: 'Jost', sans-serif;
  text-align: center;
  font-weight: 400;
  font-size: 15px;
  color: #635a3f;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin-bottom: 25px;
}

.card-content p:last-child {
  margin-bottom: 0;
}

/* ── Footer ── */
.card-footer {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 16px;
  border-top: 1px solid rgba(99, 90, 63, 0.3);
  margin-top: 16px;
}

.footer-left {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 11px;
  color: #635a3f;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.footer-right {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 11px;
  color: #635a3f;
  line-height: 1.6;
  text-align: right;
  letter-spacing: 0.01em;
}

/* ── Logo bottom center ── */
.logo-bottom {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.logo-bottom img {
  height: clamp(44px, 5.5vh, 72px);
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
}


/* ═══════════════════════════════
   TABLET  768px – 1024px
═══════════════════════════════ */
@media (max-width: 1024px) {
  .card-wrapper {
    width: clamp(260px, 44vw, 400px);
    padding: 20px 0 20px 20px;
  }

  .card-inner {
    padding: 24px 24px 22px 24px;
  }

  .headline {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .card-content p {
    font-size: 12px;
  }

  .slide {
    background-position: 65% center;
  }
}


/* ═══════════════════════════════
   SMALL TABLET  540px – 768px
═══════════════════════════════ */
@media (max-width: 768px) {
  .card-wrapper {
    width: 60vw;
    padding: 16px 0 16px 16px;
  }

  .card-inner {
    padding: 20px 20px 18px 20px;
  }

  .card-logo img {
    height: 48px;
  }

  .headline {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .card-content p {
    font-size: 11px;
    margin-bottom: 9px;
    line-height: 1.65;
  }

  .footer-left,
  .footer-right {
    font-size: 10px;
  }

  .slide {
    background-position: 70% center;
  }

  .logo-bottom img {
    height: 44px;
  }
}


/* ═══════════════════════════════
   MOBILE  ≤ 540px
═══════════════════════════════ */
@media (max-width: 540px) {
  .slide {
    background-position: center top;
  }

  .card-wrapper {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: auto;
    max-height: 65vh;
    padding: 0;
    align-items: flex-end;
  }

  .card {
    width: 100%;
    height: auto;
    background: rgba(218, 211, 197, 0.82);
  }

  .card-inner {
    padding: 18px 20px 72px 20px;
  }

  .card-logo {
    margin-bottom: 12px;
  }

  .card-logo img {
    height: 40px;
  }

  .card-content {
    justify-content: flex-start;
  }

  .card-content p:nth-child(n+4) {
    display: none;
  }

  .headline {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .card-content p {
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 8px;
  }

  .card-footer {
    margin-top: 12px;
    padding-top: 12px;
  }

  .footer-left,
  .footer-right {
    font-size: 10px;
  }

  .logo-bottom {
    bottom: 16px;
  }

  .logo-bottom img {
    height: 38px;
  }
}
