* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #325f28;
  --green-dark: #1f3c18;
  --green-light: #4d8a40;

  --gold: #e3bb25;
  --gold-dark: #c79f10;
  --gold-light: #f4d45c;

  --cream: #f7f1df;
  --soil: #5f4729;

  --text: #1f1f1f;
  --gray: #666;

  --tv-green: #3a6324;
  --tv-gold: #efb100;
}

body{
  font-family: Arial, Helvetica, sans-serif;

  background:
      radial-gradient(
        circle at top left,
        #3a6324,
        transparent 100%
      ),

      linear-gradient(
        90deg,
        #efb100 10%,
        #3a6324 100%
      );

  overflow-x: hidden;
}

/* HEADER */

header {
  width: 100%;
  padding: 22px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  background:
    linear-gradient(
      90deg,
      rgba(50,95,40,0.96),
      rgba(31,60,24,0.95)
    );

  box-shadow:
    0 8px 30px rgba(0,0,0,0.12);

  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter:
    drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}
.logo img[alt="Logo_Schrift"] {
    width: 300px;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
  font-size: larger;
  transition: 0.3s ease;
}

nav a:hover {
  color: var(--gold);
}

/* HERO */

.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 8%;
  gap: 60px;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.05;
  margin-bottom: 25px;
  color: white;
}

.hero-content p {
  color: white;
  line-height: 1.9;
  font-size: 1.08rem;
  max-width: 580px;
  margin-bottom: 38px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 17px 38px;
  border-radius: 50px;
  background:
    linear-gradient(
      135deg,
      var(--gold),
      var(--gold-dark)
    );

  color: var(--green-dark);
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: 0.35s ease;
  box-shadow:
    0 15px 35px rgba(227,187,37,0.4);
}

.hero-btn:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow:
    0 20px 45px rgba(227,187,37,0.45);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;

  background:
    radial-gradient(
      circle,
      rgba(227,187,37,0.4),
      rgba(50,95,40,0.22),
      transparent 72%
    );

  filter: blur(40px);
  z-index: -1;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  transition: 0.4s ease;
}

.hero-image img:hover {
  transform: scale(1.03);
}

/* BANNER */
.soil-banner {
  margin: 0 8% 100px;
  height: 380px;
  border-radius: 32px;
  background:
    linear-gradient(
      rgba(36,61,31,0.55),
      rgba(36,61,31,0.55)
    ),

    url("https://images.unsplash.com/photo-1466692476868-aef1dfb1e735?q=80&w=1400&auto=format&fit=crop");

  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  box-shadow:
    0 20px 50px rgba(0,0,0,0.18);
}

.soil-overlay {
  text-align: center;
  color: white;
  max-width: 700px;
  padding: 40px;
}

.soil-overlay h2 {
  font-size: 4rem;
  margin-bottom: 20px;
}

.soil-overlay p {
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  font-size: larger;
}

/* SUBPAGES */

.subpage {
  padding: 100px 8%;
  background: white;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.subpage h2 {
  font-size: 2.5rem;
  color: var(--green);
  margin-bottom: 25px;
}

.subpage p {
  color: var(--gray);
  line-height: 1.8;
  max-width: 850px;
}

/* DETAILS */

.details-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.detail-box {
  padding: 35px;
  border-radius: 26px;
  background:
    linear-gradient(
      145deg,
      rgba(50,95,40,0.12),
      rgba(227,187,37,0.16)
    );

  border:
    1px solid rgba(50,95,40,0.08);

  transition: 0.35s ease;
  backdrop-filter: blur(10px);
}

.detail-box:hover {
  transform: translateY(-8px);
  box-shadow:
    0 18px 40px rgba(50,95,40,0.16);
}

.detail-box h3 {
  margin-bottom: 15px;
}

/* FOOTER */

footer {
  background:
    linear-gradient(
      90deg,
      var(--green-dark),
      var(--green)
    );

  color: white;
  text-align: center;
  padding: 35px;
}

/* APPLICATION */

.application-boxes {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 25px;
}

.application-card h3{
  margin-bottom: 15px;
}

.application-card ul{
    padding-left: 20px;
}
 
.application-card li {
    margin-bottom: 10px;
    line-height: 1.5;
  }

/* INGREDIENTS */

.ingredients-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 30px;
}

.ingredients-card {
  padding: 35px;
  border-radius: 28px;
  background:
    linear-gradient(
      145deg,
      rgba(50,95,40,0.12),
      rgba(227,187,37,0.15)
    );

  border:
    1px solid rgba(50,95,40,0.08);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.05);
}

.ingredients-card h3 {
  color: var(--green-dark);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.ingredients-card ul {
  list-style: none;
}

.ingredients-card li {
  padding: 14px 0;
  border-bottom:
    1px solid rgba(50,95,40,0.08);

  color: var(--soil);
  font-weight: 500;
}

.ingredients-text {
  margin-top: 40px;
  max-width: 850px;
}

.application-card,
.ingredients-card,
.detail-box {
  padding: 35px;
  border-radius: 28px;
  background:
    linear-gradient(
      145deg,
      rgba(50,95,40,0.10),
      rgba(227,187,37,0.14)
    );

  border:
    1px solid rgba(50,95,40,0.08);

  box-shadow:
    0 12px 30px rgba(0,0,0,0.05);

  transition: 0.35s ease;

  backdrop-filter: blur(10px);
}

.application-card:hover,
.ingredients-card:hover,
.detail-box:hover {
  transform: translateY(-8px);

  box-shadow:
    0 18px 40px rgba(50,95,40,0.14);
}

.hero-content {
  max-width: 620px;
}

/* FIX SCROLLING */
#details, #application, #ingredients {
  scroll-margin-top: 100px; /* pushes final scroll position down */
}


/* RESPONSIVE */
@media (max-width: 950px) {

 body {
    font-family: Arial, Helvetica, sans-serif;

    background:
      radial-gradient(
        circle at top left,
        #3a6324,
        transparent 100%
      ),

      linear-gradient(
        90deg,
        #efb100 10%,
        #3a6324 100%
      );
  }

  header {
    flex-direction: column;
    gap: 20px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 60px;
  }

  .hero-content {
    margin: auto;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .details-grid,
  .application-boxes,
  .ingredients-grid {
    grid-template-columns: 1fr;
  }

  .soil-banner {
    height: auto;
    padding: 80px 20px;
  }

  .soil-overlay h2 {
    font-size: 2.2rem;
  }

}

/* =========================
   DARK MODE OVERRIDE
========================= */

@media (prefers-color-scheme: dark){

body{
  --green: #6fbf5d;
  --green-dark: #142110;
  --green-light: #8ad47c;

  --gold: #f2c94c;
  --gold-dark: #d4a514;
  --gold-light: #ffe082;

  --cream: #121212;
  --soil: #c6b08a;

  --text: #f3f3f3;
  --gray: #b8b8b8;

  --tv-green: #6fbf5d;
  --tv-gold: #ffcc33;

  color: var(--text);

  background:
    radial-gradient(
      circle at top left,
      #1d3a16,
      transparent 70%
    ),

    linear-gradient(
      135deg,
      #0d0d0d 0%,
      #121212 45%,
      #1a2a14 100%
    );
}

/* GLOBAL TEXT */
p,
li,
span,
a {
  color: var(--gray);
}

h1,
h2,
h3,
h4 {
  color: white;
}

/* HEADER */
header {
  background:
    linear-gradient(
      90deg,
      rgba(12,20,10,0.96),
      rgba(20,35,16,0.95)
    );

  border-bottom: 1px solid rgba(255,255,255,0.05);

  box-shadow:
    0 10px 35px rgba(0,0,0,0.55);
}

nav a {
  color: rgba(255,255,255,0.85);
}

nav a:hover {
  color: var(--gold);
}

/* HERO */
.hero-content h1 {
  color: #ffffff;
}

.hero-content p {
  color: rgba(255,255,255,0.78);
}

.hero-btn {
  background:
    linear-gradient(
      135deg,
      #f2c94c,
      #c79f10
    );

  color: #111;

  box-shadow:
    0 15px 35px rgba(242,201,76,0.28);
}

.hero-btn:hover {
  box-shadow:
    0 20px 45px rgba(242,201,76,0.4);
}

/* SUBPAGES */
.subpage {
  background: #161616;

  border-top:
    1px solid rgba(255,255,255,0.05);
}

.subpage p {
  color: #c7c7c7;
}

/* CARDS */
.application-card,
.ingredients-card,
.detail-box {
  background:
    linear-gradient(
      145deg,
      rgba(80,140,65,0.14),
      rgba(242,201,76,0.08)
    );

  border:
    1px solid rgba(255,255,255,0.05);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.35);

  backdrop-filter: blur(14px);
}

.application-card:hover,
.ingredients-card:hover,
.detail-box:hover {
  box-shadow:
    0 20px 40px rgba(0,0,0,0.45);
}

/* INGREDIENTS */
.ingredients-card h3 {
  color: var(--gold-light);
}

.ingredients-card li {
  color: #ddd;

  border-bottom:
    1px solid rgba(255,255,255,0.06);
}

/* BANNER */
.soil-banner {
  box-shadow:
    0 20px 50px rgba(0,0,0,0.55);
}

.soil-overlay p {
  color: rgba(255,255,255,0.82);
}

/* FOOTER */
footer {
  background:
    linear-gradient(
      90deg,
      #0f160d,
      #1b2d16
    );

  color: rgba(255,255,255,0.85);
}

/* SCROLLBAR */
body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: #111;
}

body::-webkit-scrollbar-thumb {
  background: #3d6b30;
  border-radius: 20px;
}

body::-webkit-scrollbar-thumb:hover {
  background: #4f8c40;
}

}