/* ============================================
   FASSÖL – Hauptstylesheet
   Dark Premium Design
   Schwarz · Weiß · Pink (Akzent) · Rapsgelb · Sonnenblumenorange
   ============================================ */

:root {
  --black:          #000000;
  --black-soft:     #0D0D0D;
  --black-card:     #141414;
  --black-border:   #222222;
  --white:          #FFFFFF;
  --white-muted:    rgba(255,255,255,0.65);
  --white-faint:    rgba(255,255,255,0.08);

  /* Primäre Akzentfarbe – für alle allgemeinen Buttons, Links, Highlights */
  --pink:           #E8007A;
  --pink-dark:      #B8005F;
  --pink-glow:      rgba(232,0,122,0.15);

  /* Nur für Rapsöl */
  --raps:           #B7D600;
  --raps-dark:      #8FA300;

  /* Nur für Sonnenblumenöl */
  --sonnen:         #F5AE00;
  --sonnen-dark:    #C48A00;

  --header-h:       110px;
  --radius:         4px;
  --radius-lg:      10px;
  --transition:     0.25s ease;
  --shadow:         0 8px 40px rgba(0,0,0,0.6);
  --shadow-sm:      0 2px 12px rgba(0,0,0,0.4);

  --font-display:   'Handlee', cursive;
  --font-body:      'Source Sans 3', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--bg { background: var(--black-soft); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--white);
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--pink);
  margin: 14px auto 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.btn-primary { background: var(--pink); color: var(--white); border-color: var(--pink); }
.btn-primary:hover { background: var(--pink-dark); border-color: var(--pink-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-outline:hover { border-color: var(--white); background: var(--white-faint); }
.btn-secondary { background: transparent; color: var(--white-muted); border-color: var(--black-border); }
.btn-secondary:hover { color: var(--white); border-color: rgba(255,255,255,0.25); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(0,0,0,0.96);
  box-shadow: 0 1px 0 var(--black-border);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo img { height: 96px; width: auto; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  display: none;
}
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--white-muted);
  border-radius: var(--radius);
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--white); }
.nav-shop {
  background: var(--pink) !important;
  color: var(--white) !important;
  margin-left: 8px;
}
.nav-shop:hover { background: var(--pink-dark) !important; }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--black-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all var(--transition);
  border: 1px solid var(--black-border);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.dropdown li a { color: var(--white-muted) !important; font-size: 0.88rem; padding: 10px 20px; }
.dropdown li a:hover { color: var(--pink) !important; background: var(--white-faint); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block; width: 26px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero-image-wrap { position: absolute; inset: 0; overflow: hidden; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.06);
  animation: heroZoom 14s ease-out forwards;
  filter: brightness(0.38);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 70%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 640px;
  animation: heroFade 1s ease 0.4s both;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--sonnen); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--white-muted);
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 0.04em;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================
   PRODUKTE
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2px;
  background: var(--black-border);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product-card {
  background: var(--black-card);
  overflow: hidden;
  position: relative;
  transition: background var(--transition);
}
.product-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.product-card:first-child::after { background: var(--raps); }
.product-card:last-child::after  { background: var(--sonnen); }
.product-card:hover { background: var(--black-soft); }
.product-card:hover::after { transform: scaleX(1); }

.product-img-wrap { aspect-ratio: 3/2; overflow: hidden; background: #0a0a0a; }
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.8) saturate(0.9);
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); filter: brightness(1) saturate(1); }
.product-img-wrap.img-placeholder { display: flex; align-items: center; justify-content: center; }
.product-img-wrap.img-placeholder::after { content: '🫙'; font-size: 4rem; }

.product-card-body { padding: 32px; }
.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 12px;
}
.product-card:first-child .product-card-body h3 { color: var(--raps); }
.product-card:last-child  .product-card-body h3 { color: var(--sonnen); }
.product-card-body p { font-size: 0.95rem; color: var(--white-muted); margin-bottom: 24px; line-height: 1.7; }
.product-card-footer { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================
   USPs
   ============================================ */
.usps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--black-border);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.usp-item {
  text-align: center;
  padding: 40px 28px;
  background: var(--black-card);
  transition: background var(--transition);
}
.usp-item:hover { background: var(--black-soft); }
.usp-icon { font-size: 2rem; margin-bottom: 16px; }
.usp-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--pink);
  margin-bottom: 10px;
}
.usp-item p { font-size: 0.88rem; color: var(--white-muted); line-height: 1.65; }

/* ============================================
   INFO SECTION
   ============================================ */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.info-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 20px;
}
.info-text h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--sonnen);
  margin: 32px 0 16px;
}
.info-text p { color: var(--white-muted); line-height: 1.8; margin-bottom: 12px; font-size: 0.97rem; }
.styled-list li {
  position: relative;
  padding-left: 20px;
  color: var(--white-muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.styled-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  background: var(--pink);
  border-radius: 50%;
}
.info-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--black-card);
  border: 1px solid var(--black-border);
}
.info-image img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.88); }
.info-image.img-placeholder { display: flex; align-items: center; justify-content: center; font-size: 5rem; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--black-soft);
  border-top: 1px solid var(--black-border);
  padding: 64px 0 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--black-border);
  flex-wrap: wrap;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--pink);
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.88rem; color: var(--white-muted); line-height: 1.7; }
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 0.85rem; color: var(--white-muted); transition: color var(--transition); }
.footer-nav a:hover { color: var(--pink); }
.footer-copy { padding: 20px 0; }
.footer-copy p { font-size: 0.78rem; color: rgba(255,255,255,0.2); text-align: center; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .info-grid { grid-template-columns: 1fr; gap: 40px; }
  .info-image { aspect-ratio: 16/9; }
}

@media (max-width: 768px) {
  /* ---- Mobile Header ---- */
  :root { --header-h: 60px; }

  .site-header { background: rgba(0,0,0,0.96) !important; box-shadow: 0 1px 0 var(--black-border); }

  /* Logo auf Mobile: nur Text, kein Bild */
  .logo img { display: block !important; height: 44px !important; width: auto; }
  .logo-text { display: none !important; }

  /* Nav Mobile Overlay */
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.98);
    padding: 32px 24px;
    border-top: 1px solid var(--black-border);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
    z-index: 999;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); pointer-events: all; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .main-nav > ul > li { width: 100%; border-bottom: 1px solid var(--black-border); }
  .main-nav a {
    font-size: 1.1rem;
    padding: 16px 8px;
    width: 100%;
    color: var(--white);
    letter-spacing: 0.06em;
  }
  .main-nav a:hover { color: var(--raps); background: transparent; }
  .nav-shop {
    background: transparent !important;
    color: var(--pink) !important;
    margin-left: 0;
  }
  .dropdown {
    position: static; opacity: 1; pointer-events: all;
    transform: none; box-shadow: none; background: transparent;
    border: none; padding: 0 0 8px 16px; border-radius: 0;
  }
  .dropdown li { border-bottom: none !important; }
  .dropdown li a { font-size: 0.95rem !important; padding: 10px 8px !important; color: var(--white-muted) !important; }

  /* Burger sichtbar */
  .burger { display: flex; }

  /* Allgemein Mobile */
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }

  .product-grid { grid-template-columns: 1fr; }
  .usps-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-nav ul { flex-direction: row; flex-wrap: wrap; gap: 8px 24px; }
}

@media (max-width: 480px) {
  .usps-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .product-card-body { padding: 20px; }
  .hero h1 { font-size: 1.9rem; }
}

/* ---- Scroll-to-Top Button ---- */
#scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease, border-color 0.2s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
#scroll-top:hover {
  color: var(--pink);
  border-color: var(--pink);
}
