﻿/* Premium-Schicht für die Startseite. Liegt nach styles.css und überschreibt gezielt. */

/* ---------- Grundlagen ---------- */
body { background: #0b1510; color: #eef5f0; }
main { background: #0b1510; }
section { padding: clamp(96px, 12vw, 180px) 0; }
.container { width: min(1240px, calc(100% - 48px)); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green-300); font-weight: 600;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h2 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1.04; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: rgba(238, 245, 240, 0.72); line-height: 1.6; }

/* ---------- Kopfzeile ---------- */
.site-header.scrolled { background: rgba(11, 21, 16, 0.72); }
.nav-links a { font-size: 0.95rem; letter-spacing: 0.02em; }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; padding: 16px 30px; font-size: 0.98rem; }
.btn-primary { background: #2f8a57; box-shadow: 0 14px 40px -14px rgba(47, 138, 87, 0.9); }
.btn-ghost { border-color: rgba(255,255,255,0.35); }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; padding: 0; display: block; background: #0b1510; }
.hero-media { position: absolute; inset: -8% 0 -8% 0; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; background-image: var(--hero-img); background-size: cover; background-position: center 40%;
  transform: scale(1.12); animation: heroDrift 26s ease-out forwards; will-change: transform;
}
@keyframes heroDrift { from { transform: scale(1.12) translateY(0); } to { transform: scale(1.02) translateY(-2%); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,21,16,0.35) 0%, rgba(11,21,16,0.15) 40%, rgba(11,21,16,0.92) 100%),
    radial-gradient(60% 50% at 15% 85%, rgba(47,138,87,0.35), transparent 70%);
}
.hero-content { position: relative; z-index: 2; height: 100svh; min-height: 640px; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 150px; padding-bottom: 150px; }
.hero .eyebrow { color: var(--green-300); }
.hero h1 {
  font-size: clamp(3rem, 6.6vw, 6.2rem); line-height: 1; letter-spacing: -0.03em; font-style: normal; max-width: 12ch;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.2s cubic-bezier(.16,.84,.24,1) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero .sub { font-family: Georgia, serif; font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.7rem); color: rgba(238,245,240,0.85); margin-top: 26px; opacity: 0; animation: fadeIn 1.2s 0.5s ease forwards; }
.hero-actions { opacity: 0; animation: fadeIn 1.2s 0.7s ease forwards; }
.hero .eyebrow, .hero-actions { transform: none; }
.hero .eyebrow { opacity: 0; animation: fadeIn 1s 0.1s ease forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.scroll-hint { bottom: 36px; }

/* ---------- Laufband ---------- */
.marquee { overflow: hidden; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 26px 0; background: #0b1510; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: Georgia, serif; font-size: clamp(1.4rem, 3vw, 2.4rem); white-space: nowrap; color: rgba(238,245,240,0.82); }
.marquee-track span::after { content: "✦"; margin-left: 56px; color: var(--green-500); font-size: 0.6em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Leistungen als Erlebnis-Reihen ---------- */
#leistungen { background: #0b1510; }
#leistungen .intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: 80px; }
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding: clamp(48px, 7vw, 100px) 0; border-top: 1px solid rgba(255,255,255,0.08); }
.feature:nth-of-type(even) .feature-media { order: 2; }
.feature-media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.4; background: linear-gradient(135deg, #1b4a31, #2f8a57); }
.feature-media img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.feature-num { font-family: Georgia, serif; font-size: 0.95rem; color: var(--green-300); letter-spacing: 0.12em; }
.feature h3 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; margin: 14px 0 18px; }
.feature p { color: rgba(238,245,240,0.7); font-size: 1.08rem; max-width: 44ch; }
.feature .glyph { font-size: 2.6rem; margin-bottom: 12px; display: block; }
.feature-plain .feature-media { display: grid; place-items: center; font-size: 5rem; }

/* ---------- Bewässerung: Sticky-Story ---------- */
.irrigation { background: radial-gradient(90% 70% at 80% 0%, #1b4a31 0%, #0b1510 60%); color: #eef5f0; }
.irrigation .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.irrigation .sticky { position: sticky; top: 140px; }
.irrigation .sticky h2 { margin: 16px 0 26px; }
.big-stat { font-family: Georgia, serif; font-size: clamp(7rem, 16vw, 13rem); line-height: 0.9; color: var(--green-300); letter-spacing: -0.04em; margin: 40px 0 10px; }
.big-stat-label { color: rgba(238,245,240,0.7); font-size: 1.05rem; max-width: 30ch; }
.steps { display: grid; gap: 0; }
.step { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.08); opacity: 0.35; transition: opacity 0.6s ease; }
.step.active { opacity: 1; }
.step-num { font-family: Georgia, serif; color: var(--green-300); font-size: 1rem; letter-spacing: 0.14em; }
.step h3 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); margin: 12px 0 14px; line-height: 1.1; }
.step p { color: rgba(238,245,240,0.75); font-size: 1.08rem; max-width: 46ch; }

/* ---------- Tropfbewässerung ---------- */
.drip { margin-top: 140px; }
.drip-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.drip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border-radius: 26px; overflow: hidden; }
.drip-grid .tropf-item { background: #0f1c16; border: 0; border-radius: 0; padding: 40px 30px; transition: background 0.4s ease; }
.drip-grid .tropf-item:hover { background: #142a1f; }
.drip-grid h3 { font-size: 1.35rem; color: var(--green-300); }
.drip-grid p { font-size: 0.98rem; }
.tropf-sub { margin-top: 120px; }
.tropf-sub h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 26px; }
.tropf-tags { gap: 14px; }
.tropf-tags .tag { background: transparent; border: 1px solid rgba(127,209,160,0.4); padding: 16px 24px; font-size: 1rem; }

/* ---------- Vision: Wort-für-Wort-Text ---------- */
#vision { background: #0b1510; }
.vision-statement { font-family: Georgia, serif; font-size: clamp(1.9rem, 3.9vw, 3.4rem); line-height: 1.25; letter-spacing: -0.015em; max-width: 30ch; margin-top: 30px; }
.vision-statement .w { color: rgba(238,245,240,0.16); transition: color 0.3s ease; }
.vision-statement .w.on { color: #eef5f0; }
.values { gap: 22px; }
.value { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); box-shadow: none; border-top: 1px solid rgba(127,209,160,0.5); backdrop-filter: blur(14px); padding: 44px; }
.value h3 { font-size: 1.8rem; color: #eef5f0; margin-bottom: 14px; }
.value p { color: rgba(238,245,240,0.7); }
.value .icon { background: rgba(255,255,255,0.06); }

/* ---------- Kontakt ---------- */
.contact { background: #0f1c16; }
.info-list li { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); box-shadow: none; color: #eef5f0; }
.info-list small { color: rgba(238,245,240,0.55); }
.info-list a:hover { color: var(--green-300); }
.hours-table td:last-child { color: #eef5f0; }
form.form { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); box-shadow: none; color: #eef5f0; backdrop-filter: blur(14px); }
.field label { color: rgba(238,245,240,0.85); }
.field input, .field textarea { background: rgba(0,0,0,0.25); border-color: rgba(255,255,255,0.12); color: #eef5f0; }
.field input:focus, .field textarea:focus { border-color: var(--green-300); box-shadow: 0 0 0 4px rgba(127,209,160,0.18); }
.form-note { color: rgba(238,245,240,0.55); }
.form-status.ok { background: rgba(47,138,87,0.2); color: #bff0d2; }
.form-status.err { background: rgba(192,57,43,0.18); color: #ffb4a8; }

/* ---------- Fußzeile ---------- */
.site-footer { background: #070e0a; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid h4 { font-size: 1.2rem; }

/* ---------- Vertrauensleiste ---------- */
.trust { margin-top: -90px; }
.trust-item { background: rgba(15,28,22,0.82); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6); color: #eef5f0; }
.trust-item span { color: rgba(238,245,240,0.6); }
.trust-item strong { color: #eef5f0; }

/* ---------- Animation: Einblenden beim Scrollen ---------- */
.reveal { transform: translateY(40px); transition: opacity 1.1s cubic-bezier(.16,.84,.24,1), transform 1.1s cubic-bezier(.16,.84,.24,1); }
.reveal.visible { transform: none; }

/* ---------- Responsiv ---------- */
@media (max-width: 920px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-of-type(even) .feature-media { order: 0; }
  .irrigation .split, .drip-head { grid-template-columns: 1fr; }
  .irrigation .sticky { position: static; }
  .drip-grid { grid-template-columns: 1fr 1fr; }
  .trust { margin-top: -60px; }
}
@media (max-width: 560px) {
  .drip-grid { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 120px; }
  .value { padding: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg, .marquee-track, .hero h1 .line > span, .hero .sub, .hero-actions, .hero .eyebrow { animation: none !important; opacity: 1; transform: none; }
  .vision-statement .w { color: #eef5f0; }
}


/* Bilder in den Bewässerungsschritten */
.step-media { border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 26px; background: #15281e; box-shadow: 0 24px 50px -24px rgba(0,0,0,0.7); }
.step-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.step.active .step-media img { transform: scale(1.02); }
.step-media img { transition: transform 1.2s cubic-bezier(.16,.84,.24,1); }
