/* ==========================================================================
   Website layout: header, closing-soon banner, hero, trust, info sections, footer.
   ========================================================================== */

/* ── Header ──────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo-link img {
  width: 120px;
  height: auto;
  transition: transform 0.3s ease;
}

.logo-link:hover img {
  transform: scale(1.05);
}

.main-nav {
  display: flex;
  gap: 2.5rem;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Language menu: DE | EN, the current language highlighted */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 700;
}

.lang-switch a {
  padding: 0.3rem 0.6rem;
  color: var(--muted);
  text-decoration: none;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  color: var(--primary-dark);
}

.lang-switch a[aria-current='page'] {
  background: var(--primary);
  color: var(--white);
}

.shop-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.shop-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.shop-status[data-state='open'] {
  background: rgba(46, 204, 113, 0.12);
  color: #1e8e4e;
}

.shop-status[data-state='closing'] {
  background: rgba(243, 156, 18, 0.12);
  color: var(--warning-dark);
}

.shop-status[data-state='closed'] {
  background: rgba(230, 57, 70, 0.12);
  color: #c0293a;
}

.cart-button {
  position: relative;
  background: none;
  border: none;
  font-size: 1.5rem;
  transition: transform 0.2s ease;
}

.cart-button:hover {
  transform: scale(1.15);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  border-radius: 11px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-button {
  padding: 0.8rem 1.6rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-button[data-state='closed'] {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.28);
}

/* ── Closing-soon banner (inside the sticky header) ──────────────────────── */

.closing-banner {
  background: linear-gradient(90deg, #fff7ed, #fffbeb);
  border-top: 1px solid #fde7c7;
  border-bottom: 1px solid #f59e0b;
}

.closing-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
  font-weight: 700;
  color: #92400e;
}

.closing-timer {
  min-width: 70px;
  padding: 0.15rem 0.5rem;
  border-radius: 7px;
  background: #f59e0b;
  color: var(--white);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.closing-banner.is-urgent {
  background: linear-gradient(90deg, #fff1f2, #fff7ed);
  border-bottom-color: var(--accent);
}

.closing-banner.is-urgent .closing-banner-inner {
  color: #b42318;
}

.closing-banner.is-urgent .closing-timer {
  background: var(--accent);
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  padding: 1.25rem 2rem;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 500px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-brand,
.hero-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
}

.hero-logo {
  align-self: flex-start; /* a stretched flex item would distort the logo */
  height: 96px;
  width: auto;
}

.hero-title .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-description {
  color: var(--muted);
  line-height: 1.8;
  max-width: 500px;
}

.hero-cta {
  align-self: flex-start;
  text-transform: uppercase;
  padding: 1.2rem 2.5rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.hero-cta[data-state='closed'] {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* ── Carousel ────────────────────────────────────────────────────────────── */

.carousel {
  position: relative;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-slide.is-active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, color 0.2s;
}

.carousel-arrow:hover {
  background: var(--primary);
  color: var(--white);
}

.carousel-arrow.prev {
  left: 15px;
}

.carousel-arrow.next {
  right: 15px;
}

.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transition: transform 0.2s, background 0.2s;
}

.carousel-dot[aria-current='true'] {
  background: var(--white);
  transform: scale(1.3);
}

/* ── Trust cards ─────────────────────────────────────────────────────────── */

.trust {
  background: var(--light);
  padding: 3rem 2rem;
  margin-top: 3rem;
}

.trust-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.trust-card {
  background: var(--white);
  padding: 1.8rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--primary);
}

.trust-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.trust-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.trust-text {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ── Reviews / contact ───────────────────────────────────────────────────── */

.info-section {
  padding: 4rem 2rem;
  text-align: center;
  scroll-margin-top: var(--header-height);
}

.info-section.is-tinted {
  background: var(--light);
}

.info-section p.lead {
  color: #666;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.contact-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  text-align: left;
}

.contact-card dt {
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.contact-card dd {
  color: #555;
  margin-bottom: 1.2rem;
}

.contact-card dd:last-child {
  margin-bottom: 0;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--dark);
  color: #ccc;
  padding: 3rem 2rem 1rem;
  margin-top: 3rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.footer-col h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
}

.footer-col a {
  color: #ccc;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-plz-input {
  width: 100%;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-plz-msg {
  font-size: 0.85rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

.footer-bottom a {
  color: inherit;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .header-inner {
    padding: 0.6rem 0.8rem;
    gap: 0.5rem;
  }

  .logo-link img {
    width: 56px;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    gap: 0.6rem;
  }

  .shop-status {
    font-size: 0.65rem;
    padding: 0.3rem 0.5rem;
  }

  .lang-switch a {
    padding: 0.25rem 0.45rem;
  }

  .cart-button {
    font-size: 1.25rem;
  }

  .order-button {
    padding: 0.5rem 0.7rem;
    font-size: 0.68rem;
  }

  .closing-banner-inner {
    font-size: 0.72rem;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
  }

  .hero {
    padding: 1rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-brand,
  .hero-title {
    font-size: 2rem;
  }

  .hero-logo {
    height: 72px;
  }

  .carousel {
    height: 300px;
  }
}

@media (max-width: 400px) {
  .shop-status {
    display: none;
  }
}

/* Exceptional closure today (holidays …), same look as the closing banner */
.shop-notice .closing-banner-inner {
  color: #1e3a5f;
}

.shop-notice {
  background: #eef6ff;
  border-bottom-color: #93c5fd;
}
