/* DerGartenkenner landing-page system V3
   Loaded after the established page, navigation, survey and legal layers.
   The layer is intentionally scoped to body.landing-v3 so the representative
   pilot can be validated before the same contracts are rolled out globally. */

:root {
  --lpv3-ink: #14271f;
  --lpv3-muted: #53655c;
  --lpv3-green: #1f5d43;
  --lpv3-green-dark: #123c2c;
  --lpv3-sage: #e7efe8;
  --lpv3-cream: #fbf8f0;
  --lpv3-surface: #fff;
  --lpv3-line: rgba(20, 58, 42, .14);
  --lpv3-warm: #e9a446;
  --lpv3-radius-sm: 12px;
  --lpv3-radius: 20px;
  --lpv3-radius-lg: 30px;
  --lpv3-shadow: 0 18px 55px rgba(16, 54, 38, .1);
  --lpv3-shadow-strong: 0 30px 90px rgba(8, 38, 26, .16);
}

body.landing-v3 {
  color: var(--lpv3-ink);
  background: var(--lpv3-cream);
}

body.landing-v3 .site-header {
  border-bottom-color: rgba(18, 60, 44, .1);
  background: rgba(253, 251, 245, .94);
  box-shadow: 0 12px 36px rgba(18, 60, 44, .055);
}

body.landing-v3 .page-hero {
  min-height: 0;
  overflow: clip;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

body.landing-v3 .page-hero[data-hero-media="none"] {
  color: #fff;
  background:
    radial-gradient(circle at 86% 16%, rgba(233, 164, 70, .18), transparent 25%),
    radial-gradient(circle at 8% 88%, rgba(118, 164, 132, .15), transparent 27%),
    linear-gradient(128deg, #0b2f22, #164735 58%, #1f5d43);
}

body.landing-v3 .page-hero.hero-imageback[data-hero-media="none"]::before {
  opacity: 1;
  background:
    radial-gradient(circle at 84% 18%, rgba(233, 164, 70, .14), transparent 28%),
    linear-gradient(128deg, rgba(11, 47, 34, .08), rgba(31, 93, 67, .18));
}

body.landing-v3 .page-hero[data-hero-media="none"] .hero-shell,
body.landing-v3 .page-hero[data-hero-media="none"] .hub-hero-shell {
  min-height: 470px !important;
  padding-block: clamp(64px, 8vw, 104px) !important;
}

body.landing-v3 .page-hero[data-hero-media="none"] .hero-copy {
  width: min(100%, 820px) !important;
  max-width: 820px !important;
  padding: 0 !important;
}

body.landing-v3 .page-hero[data-hero-media="none"] .hero-copy h1,
body.landing-v3 .page-hero[data-hero-media="none"].layout-panel .hero-copy h1 {
  max-width: 800px;
  color: #fff;
  text-shadow: none;
}

body.landing-v3 .page-hero[data-hero-media="none"] .hero-copy > p,
body.landing-v3 .page-hero[data-hero-media="none"].layout-panel .hero-copy > p {
  max-width: 720px;
  color: #dce8df;
}

body.landing-v3 .page-hero[data-hero-media="none"] .kicker {
  color: #f0bd68;
}

body.landing-v3 .page-hero[data-hero-media="none"] .button-secondary {
  border-color: rgba(255, 255, 255, .34);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}

body.landing-v3 .page-hero[data-hero-media="none"] .hero-meta {
  color: #c6d7cd;
}

body.landing-v3 .page-hero[data-hero-media="none"] .hero-meta span {
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .065);
}

body.landing-v3 .page-hero[data-hero-media="image"],
body.landing-v3 .page-hero.hero-imageback[data-hero-media="image"] {
  min-height: 610px;
}

body.landing-v3 .page-hero.hero-imageback[data-hero-media="image"]::before {
  opacity: 1;
  background: linear-gradient(90deg, rgba(7, 35, 25, .82) 0%, rgba(7, 35, 25, .64) 44%, rgba(7, 35, 25, .28) 72%, rgba(7, 35, 25, .12) 100%);
}

body.landing-v3 .page-hero[data-hero-media="image"] .hero-shell,
body.landing-v3 .page-hero[data-hero-media="image"] .hub-hero-shell {
  min-height: 610px;
  padding-block: 72px 92px;
}

body.landing-v3 .page-hero.hero-imageback[data-hero-media="image"] .hero-copy h1,
body.landing-v3 .page-hero.hero-imageback[data-hero-media="image"] .hero-copy > p,
body.landing-v3 .page-hero.hero-imageback[data-hero-media="image"] .kicker,
body.landing-v3 .page-hero.hero-imageback[data-hero-media="image"] .hero-meta {
  color: #fff;
  text-shadow: 0 2px 18px rgba(4, 24, 16, .42);
}

body.landing-v3 .page-hero.hero-imageback[data-hero-media="image"] .hero-meta span {
  border: 1px solid rgba(255, 255, 255, .2);
  color: #f4f8f5;
  background: rgba(7, 37, 26, .34);
  backdrop-filter: blur(8px);
}

body.landing-v3 .hero-copy h1,
body.landing-v3 .hero-imageback .hero-copy h1,
body.landing-v3 .hero-imageback.layout-panel .hero-copy h1 {
  max-width: 780px;
  font-size: clamp(2.45rem, 4.6vw, 4.65rem);
  letter-spacing: -.052em;
  line-height: 1.01;
  text-wrap: balance;
}

body.landing-v3 .hero-copy > p,
body.landing-v3 .hero-imageback .hero-copy > p {
  max-width: 660px;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.62;
}

body.landing-v3 .hero-actions {
  gap: 12px;
}

body.landing-v3 .button {
  min-height: 52px;
  padding-inline: 22px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 800;
}

body.landing-v3 .button-primary {
  color: #14271f;
  background: linear-gradient(135deg, #f5c978, #e9a446);
  box-shadow: 0 12px 28px rgba(153, 94, 25, .22);
}

body.landing-v3 .button-primary:hover {
  color: #14271f;
  background: linear-gradient(135deg, #f9d693, #ecad55);
  box-shadow: 0 16px 36px rgba(153, 94, 25, .28);
  transform: translateY(-2px);
}

body.landing-v3 .hero-meta {
  gap: 8px;
  margin-top: 26px;
}

body.landing-v3 .hero-meta span {
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(18, 55, 38, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
}

body.landing-v3 .v3-quick-answer {
  position: relative;
  z-index: 4;
  margin: -42px auto 0;
  padding: 0 20px;
}

body.landing-v3 .v3-quick-answer__inner {
  display: grid;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--lpv3-line);
  border-radius: var(--lpv3-radius-lg);
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--lpv3-shadow-strong);
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
}

body.landing-v3 .v3-quick-answer__copy {
  min-width: 0;
}

body.landing-v3 .v3-quick-answer__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--lpv3-green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

body.landing-v3 .v3-quick-answer h2 {
  margin: 0 0 13px;
  color: var(--lpv3-ink);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  letter-spacing: -.035em;
  line-height: 1.08;
  text-wrap: balance;
}

body.landing-v3 .v3-quick-answer p {
  margin: 0;
  color: var(--lpv3-muted);
  line-height: 1.65;
}

body.landing-v3 .v3-quick-answer__links {
  display: grid;
  align-content: start;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.landing-v3 .v3-quick-answer__links a {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--lpv3-line);
  border-radius: var(--lpv3-radius-sm);
  color: var(--lpv3-ink);
  background: #f8faf6;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.28;
}

body.landing-v3 .v3-quick-answer__links a::after {
  color: var(--lpv3-green);
  content: "Weiter →";
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

body.landing-v3 .v3-quick-answer__links a:hover {
  border-color: rgba(31, 93, 67, .35);
  background: var(--lpv3-sage);
  transform: translateY(-2px);
}

body.landing-v3 main[data-page-kind="guide"] .article-wrap,
body.landing-v3 main[data-page-kind="purchase"] .article-wrap {
  padding-top: 78px;
}

body.landing-v3 .article-grid {
  grid-template-columns: 230px minmax(0, 780px);
  gap: clamp(42px, 6vw, 78px);
}

body.landing-v3 .toc {
  top: 118px;
  border-color: var(--lpv3-line);
  border-radius: var(--lpv3-radius-sm);
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 12px 30px rgba(16, 54, 38, .055);
}

body.landing-v3 .content-module,
body.landing-v3 .content-module--steps,
body.landing-v3 .content-module--split,
body.landing-v3 .content-module--diagnostic {
  margin: 0 0 20px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--lpv3-line);
  border-radius: var(--lpv3-radius);
  background: var(--lpv3-surface);
  box-shadow: 0 12px 34px rgba(16, 54, 38, .055);
}

body.landing-v3 .content-module + .content-module {
  padding-top: clamp(28px, 4vw, 42px);
  border-top: 1px solid var(--lpv3-line);
}

body.landing-v3 .content-module--steps,
body.landing-v3 .content-module--diagnostic {
  background: linear-gradient(145deg, #f2f7f1, #fff 70%);
}

body.landing-v3 .content-module--split {
  background: linear-gradient(145deg, #fffaf0, #fff 70%);
}

body.landing-v3 .content-module h2 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}

body.landing-v3 .section-kicker {
  color: var(--lpv3-green);
  letter-spacing: .11em;
}

body.landing-v3 .faq-section {
  padding-block: clamp(72px, 9vw, 112px);
  background: linear-gradient(145deg, #eef4ed, #fbf8f0);
}

body.landing-v3 .faq-layout > div:first-child {
  padding: 32px;
  border-radius: var(--lpv3-radius);
  background: linear-gradient(145deg, #113b2c, #1f5d43);
  box-shadow: var(--lpv3-shadow);
}

body.landing-v3 .faq-list details {
  margin-bottom: 10px;
  padding-inline: 20px;
  border: 1px solid var(--lpv3-line);
  border-radius: var(--lpv3-radius-sm);
  background: rgba(255, 255, 255, .82);
}

body.landing-v3 .related-section,
body.landing-v3 .hub-directory-section {
  background: #fff;
}

body.landing-v3 .related-card,
body.landing-v3 .hub-card {
  min-height: 170px;
  border-color: var(--lpv3-line);
  border-top: 1px solid var(--lpv3-line);
  border-radius: var(--lpv3-radius-sm);
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 54, 38, .055);
}

body.landing-v3 .related-card:hover,
body.landing-v3 .hub-card:hover {
  border-color: rgba(31, 93, 67, .32);
  box-shadow: var(--lpv3-shadow);
}

body.landing-v3 main[data-page-kind="hub"] .hub-directory-section {
  padding-block: clamp(72px, 9vw, 108px);
}

body.landing-v3 main[data-page-kind="hub"] .article-wrap {
  padding-top: 84px;
}

body.landing-v3 .garden-survey-floating {
  right: 18px;
  bottom: 18px;
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(10, 44, 31, .24);
}

@media (max-width: 960px) {
  body.landing-v3 .v3-quick-answer__inner {
    grid-template-columns: 1fr;
  }

  body.landing-v3 .article-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  body.landing-v3 .page-hero .hero-meta {
    padding: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.landing-v3 .page-hero[data-hero-media="none"] .hero-shell,
  body.landing-v3 .page-hero[data-hero-media="none"] .hub-hero-shell {
    min-height: auto !important;
    padding-block: 52px 74px !important;
  }

  body.landing-v3 .page-hero[data-hero-media="image"],
  body.landing-v3 .page-hero.hero-imageback[data-hero-media="image"] {
    min-height: 590px;
  }

  body.landing-v3 .page-hero[data-hero-media="image"] .hero-shell,
  body.landing-v3 .page-hero[data-hero-media="image"] .hub-hero-shell {
    min-height: 590px;
    padding-block: 48px 70px;
  }

  body.landing-v3 .hero-copy h1,
  body.landing-v3 .hero-imageback .hero-copy h1,
  body.landing-v3 .hero-imageback.layout-panel .hero-copy h1 {
    font-size: clamp(2rem, 9.5vw, 3rem);
    line-height: 1.04;
  }

  body.landing-v3 .hero-imageback .hero-copy {
    width: 100%;
    max-width: none;
  }

  body.landing-v3 .page-hero.hero-imageback[data-hero-media="image"]::before {
    background: linear-gradient(180deg, rgba(8, 35, 25, .4) 0%, rgba(8, 35, 25, .68) 70%, rgba(8, 35, 25, .82) 100%);
  }

  body.landing-v3 .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body.landing-v3 .v3-quick-answer {
    margin-top: -24px;
    padding-inline: 14px;
  }

  body.landing-v3 .v3-quick-answer__inner {
    padding: 24px 20px;
    border-radius: 20px;
    gap: 24px;
  }

  body.landing-v3 .v3-quick-answer__links {
    grid-template-columns: 1fr;
  }

  body.landing-v3 .v3-quick-answer__links a {
    min-height: 0;
  }

  body.landing-v3 main[data-page-kind="guide"] .article-wrap,
  body.landing-v3 main[data-page-kind="purchase"] .article-wrap,
  body.landing-v3 main[data-page-kind="hub"] .article-wrap {
    padding-top: 58px;
  }

  body.landing-v3 .content-module,
  body.landing-v3 .content-module--steps,
  body.landing-v3 .content-module--split,
  body.landing-v3 .content-module--diagnostic {
    padding: 24px 20px;
    border-radius: 16px;
  }

  body.landing-v3 .faq-layout > div:first-child {
    padding: 25px 21px;
  }

  body.landing-v3 .garden-survey-floating {
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.landing-v3 *,
  body.landing-v3 *::before,
  body.landing-v3 *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
