/*
Theme Name: ProteinKurier Slider
Theme URI: https://example.com
Author: Dein Name
Description: Landing-Page-Theme mit Produktslider ohne externe Ressourcen
Version: 1.0.0
Text Domain: proteinkurier-slider
*/

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f5f6f8;
  color: #0f172a;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.pk-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.pk-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.pk-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.pk-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.pk-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pk-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #3b82f6, #053df5);
}

.pk-site-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.pk-header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
}

.pk-header-nav a:hover {
  color: #053df5;
}

.pk-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  background-color: #053df5;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
}

.pk-header-cta:hover {
  background-color: #1d4ed8;
}

.pk-main {
  flex: 1 0 auto;
}

.pk-hero {
  position: relative;
  background-color: #0f1423;
  color: #ffffff;
  overflow: hidden;
}

.pk-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  padding: 4rem 1.5rem 3rem;
}

.pk-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #1f2937;
  background-color: rgba(17, 24, 39, 0.7);
  font-size: 0.7rem;
  color: #e5e7eb;
}

.pk-hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: #053df5;
}

.pk-hero-title {
  margin-top: 1.5rem;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.pk-hero-title span {
  color: #053df5;
}

.pk-hero-text {
  margin-top: 1rem;
  max-width: 32rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #d1d5db;
}

.pk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pk-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  background-color: #053df5;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
}

.pk-btn-primary:hover {
  background-color: #2563eb;
}

.pk-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  background-color: transparent;
  border: 1px solid rgba(249, 250, 251, 0.25);
  color: #f9fafb;
  font-weight: 700;
  font-size: 0.95rem;
}

.pk-btn-ghost:hover {
  background-color: rgba(249, 250, 251, 0.08);
}

.pk-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1f2937;
}

.pk-hero-meta-item-label {
  font-size: 0.75rem;
  color: #9ca3af;
}

.pk-hero-meta-item-value {
  font-size: 0.9rem;
  font-weight: 600;
}

.pk-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pk-hero-visual-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(5, 61, 245, 0.3), transparent 55%);
  filter: blur(40px);
}

.pk-slider-shell {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: 2rem;
  background: radial-gradient(circle at 30% 0, #111827, #020617);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.pk-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.pk-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  opacity: 0;
  transform: translateX(30px) scale(0.96);
  transition: opacity 260ms ease, transform 260ms ease;
}

.pk-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.pk-slide-label {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background-color: #053df5;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pk-slide-image-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pk-slide-image {
  max-width: 80%;
  max-height: 80%;
}

.pk-slide-meta {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1rem;
}

.pk-slide-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.pk-slide-subtitle {
  font-size: 0.8rem;
  color: #9ca3af;
}

.pk-slide-footer {
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pk-slide-price {
  font-size: 1.25rem;
  font-weight: 800;
}

.pk-slide-cta {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background-color: #f9fafb;
  color: #111827;
  font-size: 0.8rem;
  font-weight: 700;
}

.pk-slide-cta:hover {
  background-color: #e5e7eb;
}

.pk-slider-controls {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pk-slider-arrow {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  border: 1px solid #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pk-slider-arrow:hover {
  background-color: rgba(15, 23, 42, 1);
}

.pk-slider-dots {
  display: flex;
  gap: 0.4rem;
}

.pk-slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background-color: #4b5563;
  cursor: pointer;
}

.pk-slider-dot.is-active {
  width: 16px;
  background-color: #053df5;
}

.pk-footer {
  background-color: #020617;
  color: #9ca3af;
  padding: 2.5rem 1.5rem 2rem;
}

.pk-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pk-footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.pk-footer-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f9fafb;
}

.pk-footer-slider-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pk-footer-product-name {
  font-size: 0.9rem;
  font-weight: 500;
}

.pk-footer-arrows {
  display: flex;
  gap: 0.5rem;
}

.pk-footer-arrow {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #1f2937;
  background-color: #020617;
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pk-footer-arrow:hover {
  background-color: #111827;
}

.pk-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  border-top: 1px solid #111827;
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .pk-header-inner {
    padding-inline: 1rem;
  }

  .pk-header-nav {
    display: none;
  }

  .pk-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 3rem;
  }

  .pk-hero-visual {
    order: -1;
  }

  .pk-hero-meta {
    gap: 1rem;
  }

  .pk-slider-shell {
    max-width: 360px;
  }
}
