/* 🔁 Reset & Basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bg: #111;
  --surface: #1a1a1a;
  --text: #f7f7f7;
  --muted: #bfc3c9;
  --brand: #000;
  --radius: 12px;
  --fs-300: clamp(0.9rem, 0.3vw+0.8rem, 1rem);
  --fs-400: clamp(1rem, 0.5vw+0.9rem, 1.1rem);
  --fs-700: clamp(2.2rem, 2.6vw+1.2rem, 3.6rem);
}
html,
body {
  font-family: "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
  color: inherit;
}

/* 🔝 Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem clamp(1rem, 3vw, 2rem);
  background: color-mix(in oklab, var(--surface) 85%, black 15%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
}
.main-nav {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-400);
  font-weight: 600;
  opacity: 0.9;
  transition: opacity 0.2s, transform 0.2s;
}
.main-nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.nav-icon-right {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-left: 5px;
  filter: invert(100%);
}
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
}

/* 🏔️ HERO – Logo oben, Button darunter */
.hero {
  position: relative;
  min-height: clamp(70svh, 90svh, 100svh);
  width: 100%;
  overflow: hidden;
  display: grid; /* steuert vertikale Reihenfolge */
  grid-template-rows: 1fr auto auto 1fr; /* oben Platz, dann Logo, dann Text/CTA, unten Platz */
  justify-items: center;
  align-items: center;
  text-align: center;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Logo sitzt höher (Reihe 2) */
.hero-logo {
  grid-row: 2;
  align-self: end;
  z-index: 2;
  width: clamp(180px, 24vw, 420px);
  margin-bottom: clamp(8px, 1.2vw, 14px);
}
.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Text + Button sitzen darunter (Reihe 3) */
.hero-text {
  grid-row: 3;
  align-self: start;
  z-index: 2;
  max-width: min(90%, 760px);
  padding: 0 1rem;
  display: grid;
  gap: clamp(0.5rem, 1vw, 1rem);
}
.hero-text h1 {
  font-size: var(--fs-700);
  text-shadow: 0 2px 10px #000;
}
.hero-text p {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: #e6e6e6;
  text-shadow: 0 2px 10px #000;
}
.btn {
  display: inline-block;
  background: var(--brand);
  font-size: 1.05rem;
  padding: 0.9rem 1.6rem;
  color: #fff;
  border-radius: 10px;
  font-weight: 800;
  transition: filter 0.2s, transform 0.2s;
  cursor: pointer;
  margin-top: clamp(8px, 1.2vw, 16px);
}
.btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* 📦 Produkte-Seite */
.product-overview {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 3vw, 2rem);
  text-align: center;
  min-height: calc(100vh - 100px);
}
.product-title {
  font-size: var(--fs-700);
  margin-bottom: 1.2rem;
}
.overview-grid {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  width: min(1100px, 100%);
}
.overview-card {
  border-radius: 12px;
  overflow: hidden;
  background: #222;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: transform 0.3s;
}
.overview-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.overview-card:hover {
  transform: scale(1.03);
}
.overlay-text {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 0.6rem 0.8rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}

/* 💪 Protein-Seite */
.protein-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 100px);
  padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 3vw, 2rem);
  text-align: center;
}
.protein-page .intro {
  margin-bottom: 1.4rem;
}
.protein-page .intro h1 {
  font-size: var(--fs-700);
}
.protein-page .intro p {
  font-size: var(--fs-300);
  color: #ccc;
}
.flavor-grid {
  display: flex;
  gap: clamp(12px, 2vw, 20px);
  overflow-x: auto;
  padding: 0.5rem 0;
  scroll-snap-type: x mandatory;
}
.flavor-card {
  flex: 0 0 auto;
  scroll-snap-align: center;
  background: #222;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
  width: clamp(240px, 60vw, 420px);
  cursor: pointer;
}
.flavor-card:hover {
  transform: translateY(-6px);
}
.flavor-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}
.flavor-card h3 {
  font-size: 1.1rem;
}

/* 🧾 Modal */
.product-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  padding: 24px;
}
.modal-content {
  position: relative;
  width: min(900px, 92vw);
  max-height: 90vh;
  overflow: auto;
  background: #1a1a1a;
  padding: clamp(16px, 2vw, 24px);
  border-radius: 12px;
  color: #f7f7f7;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}
.modal-content img {
  width: 100%;
  height: auto;
  max-height: 55vh;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  margin-bottom: 1rem;
}
.modal-content .close {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 28px;
  line-height: 1;
  color: #eee;
  cursor: pointer;
}
.modal-content input {
  width: 100px;
  padding: 0.4rem;
  margin: 1rem 0;
  font-size: 1rem;
  text-align: center;
  background: #333;
  color: #f7f7f7;
  border: none;
  border-radius: 6px;
}
body.modal-open {
  overflow: hidden;
}
.modal-description {
  font-size: 1rem;
  color: #ddd;
  margin: 1rem 0 2rem;
  line-height: 1.6;
}

/* 🧪 Creatin-Seite */
.creatin-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 100px);
  background: #111;
  padding: clamp(1.5rem, 3vw, 2rem) 1rem;
  text-align: center;
}
.creatin-title {
  font-size: var(--fs-700);
  margin-bottom: 1rem;
}
.creatin-card {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  background: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.creatin-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}
.creatin-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
}

/* 🛒 Checkout-Seite */
.checkout-page {
  max-width: 900px;
  margin: clamp(2rem, 5vw, 4rem) auto;
  padding: clamp(1rem, 3vw, 2rem);
  background: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
}
.cart-grid {
  display: grid;
  gap: clamp(12px, 2vw, 20px);
  margin-bottom: 2rem;
}
.cart-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 18px);
  background: #222;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.cart-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}
.cart-item h3 {
  margin-bottom: 0.4rem;
}

/* ⚖️ Legal-Seiten */
.legal-page {
  max-width: 900px;
  margin: clamp(2rem, 5vw, 4rem) auto;
  padding: clamp(1rem, 3vw, 2rem);
  background: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  line-height: 1.8;
  color: #ddd;
}
.legal-page h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
}
.legal-page h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  color: #fff;
}

/* 🍪 Cookie Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  background: #000;
  color: #fff;
}
.cookie-banner button {
  background: #fff;
  color: #111;
  padding: 0.5rem 1.2rem;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

/* 👣 Footer */
.main-footer {
  background: #000;
  padding: 40px 20px 20px;
  font-size: 14px;
  color: #fff;
}
.newsletter-bar {
  background: #fff;
  color: #000;
  padding: 20px;
  text-align: center;
}
.newsletter-form {
  margin-top: 10px;
}
.newsletter-form input {
  padding: 8px;
  width: 250px;
  max-width: 90%;
  margin-right: 8px;
  border: none;
  border-radius: 4px;
}
.newsletter-form button {
  padding: 8px 16px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.footer-columns h4 {
  margin-bottom: 8px;
}
.footer-columns ul {
  list-style: none;
  padding: 0;
}
.footer-columns ul li {
  margin-bottom: 5px;
}
.footer-columns a {
  color: inherit;
}
.footer-socials {
  display: flex;
  align-items: center; /* vertikal mittig mit Text */
  justify-content: center; /* horizontal mittig */
  gap: 20px; /* Abstand zwischen Icons */
  margin-top: 0; /* alten Abstand entfernen */
  height: 100%; /* gleiche Höhe wie Textbereich */
}

.footer-socials img {
  width: 80px; /* etwas kleiner wirkt eleganter */
  height: auto;
  transition: transform 0.2s ease;
}

/* 📱 Breakpoints */
@media (max-width: 1024px) {
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .product-title,
  .creatin-title,
  .protein-page .intro h1 {
    font-size: clamp(1.6rem, 2.4vw, 2rem);
  }
  .modal-content {
    padding: 1rem;
  }
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    background: #1a1a1a;
    padding: 1rem;
    width: 100%;
  }
  .main-nav.show {
    display: flex;
  }
  .hero {
    grid-template-rows: 0.8fr auto auto 1fr;
  }
  .hero-logo {
    width: clamp(150px, 40vw, 280px);
  }
  .cart-item {
    grid-template-columns: 1fr;
  }
  .cart-item img {
    width: 100%;
    height: auto;
    max-height: 220px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 600px) {
  .newsletter-form input {
    width: 100%;
    margin: 0 0 10px;
  }
  .newsletter-form button {
    width: 100%;
  }
  .modal-content input {
    width: 80px;
  }
}

/* ℹ️ About */
.about-us-section {
  background: #000;
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}
.about-us-section h1 {
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
  margin-bottom: 20px;
}
.about-us-section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #ddd;
}
/* === Creatin-Seite im Stil der Protein-Seite === */
.creatin-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 100px);
  padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 3vw, 2rem);
  background: #111;
  text-align: center;
}

.creatin-title {
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  margin-bottom: 1.4rem;
  color: #fff;
}

/* Dein bestehendes Markup: .creatin-container mit <img> drin
   → wir stylen es wie das horizontale Card-Carousel der Protein-Seite */
.creatin-container {
  display: flex;
  gap: clamp(12px, 2vw, 20px);
  overflow-x: auto;
  padding: 0.5rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: pointer; /* weil du onclick nutzt */
}

.creatin-container > img {
  flex: 0 0 auto;
  width: clamp(240px, 60vw, 420px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  scroll-snap-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.creatin-container > img:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

/* Mobile Feinschliff */
@media (max-width: 600px) {
  .creatin-title {
    font-size: 2rem;
  }
  .creatin-container {
    padding: 0.25rem 0;
  }
  .creatin-container > img {
    width: 88vw;
  }
}

/* Optional: Falls du später mehrere Creatin-Karten willst,
   kannst du .creatin-grid/.creatin-card verwenden – gleiche Regeln wie Protein */
.creatin-grid {
  display: flex;
  gap: clamp(12px, 2vw, 20px);
  overflow-x: auto;
  padding: 0.5rem 0;
  scroll-snap-type: x mandatory;
}
.creatin-card {
  flex: 0 0 auto;
  scroll-snap-align: center;
  background: #222;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  width: clamp(240px, 60vw, 420px);
  cursor: pointer;
}
.creatin-card:hover {
  transform: translateY(-6px);
}
.creatin-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}
/* Produktseite clean layout */
.product-page {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

.product-img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  margin: 0 auto 24px;
  display: block;
}

.product-page h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.product-desc {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 20px;
}

.price {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 20px 0;
}

.buy-form {
  margin-top: 20px;
}

.buy-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.buy-form input[type="number"] {
  width: 90px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #333;
  background: #111;
  color: #f7f7f7;
  text-align: center;
  margin-bottom: 16px;
}
/* ---------- Ghost-Link "Mehr lesen" ---------- */
.link-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  color: #f7f7f7;
  opacity: 0.9;
  border-bottom: 1px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.link-ghost .arrow {
  transform: translateX(0);
  transition: transform 0.2s ease;
}
.link-ghost:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.25);
}
.link-ghost:hover .arrow {
  transform: translateX(4px);
}

/* Platz nach dem About-Text auf der Startseite */
.about-us-section .link-ghost {
  margin-top: 10px;
}

/* ---------- Über-uns Seite ---------- */
.about-hero {
  position: relative;
  background: linear-gradient(180deg, #121212, #0e0e0e);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 20px;
  text-align: center;
}
.about-hero-inner h1 {
  font-size: 2rem;
  margin: 0 0 8px;
}
.about-hero-inner p {
  color: #cfcfcf;
  margin: 0;
}

.about-page {
  max-width: 1000px;
  margin: 32px auto 60px;
  padding: 0 20px;
}

.about-block {
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 18px;
}

.about-block h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.about-block h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.about-block p {
  color: #d6d6d6;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-cta {
  margin-top: 12px;
  text-align: left;
}

/* Responsive */
@media (max-width: 800px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
.about-us-section h1 {
  font-size: 1.5rem; /* Titel kleiner */
}

.about-us-section h2 {
  font-size: 1rem; /* Text kleiner */
  font-weight: 400;
  line-height: 1.6;
}
.coming-soon-text {
  position: absolute;
  top: 81%; /* etwas weiter nach unten */
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
}

.coming-soon-text h1 {
  font-size: 3.2rem; /* leicht grösser */
  font-family: Impact, "Arial Black", sans-serif;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.5); /* dezente Transparenz */
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.7); /* schöner weicher Schatten */
  letter-spacing: 2px; /* etwas breiterer Look */
}
