﻿:root {
  color-scheme: light;
  --yellow: #fcc41d;
  --charcoal: #3c3c3b;
  --paper: #f6f6f2;
  --white: #ffffff;
  --green: #6c7c53;
  --dark-green: #162018;
  --berry: #a53e63;
  --text: var(--charcoal);
  --muted: #6b6b65;
  --surface: var(--white);
  --surface-soft: var(--paper);
  --line: rgba(60, 60, 59, 0.14);
  --header-bg: rgba(255, 255, 255, 0.94);
  --max: 1240px;
  --radius-lg: 42px;
  --radius-md: 24px;
  --shadow: 0 22px 70px rgba(54, 48, 30, 0.12);
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface-soft);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  min-height: 90px;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  width: 132px;
  height: 70px;
  align-items: center;
}

.brand img,
.site-footer img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 650;
}

.main-nav a,
.site-footer nav a {
  position: relative;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--yellow);
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 800;
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 650px;
  overflow: hidden;
  background: var(--surface);
}

.hero__image {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}

.hero__content {
  z-index: 2;
  grid-area: 1 / 1;
  width: min(610px, 48vw);
  align-self: center;
  margin-left: max(24px, calc((100vw - var(--max)) / 2));
  padding: 52px 60px 52px 0;
}

.hero__image {
  clip-path: ellipse(63% 78% at 82% 47%);
}

.hero::before {
  z-index: 1;
  grid-area: 1 / 1;
  width: 60%;
  background: linear-gradient(90deg, #fff 70%, rgba(255, 255, 255, 0));
  content: "";
}

.hero h1 {
  max-width: 720px;
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-size: clamp(52px, 5.4vw, 84px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero p {
  max-width: 570px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 23px;
  font-size: 14px;
  font-weight: 850;
}

.button--primary {
  background: var(--yellow);
  color: var(--charcoal);
  box-shadow: 0 10px 25px rgba(252, 196, 29, 0.24);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
}

.text-link::after {
  content: "→";
}

.section-shell {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.section-heading {
  margin-bottom: 54px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 70px;
}

.section-heading h2,
.ingredients h2,
.partners h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.2vw, 62px);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.section-heading > p,
.partners__copy > p,
.ingredients__content > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-number {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.feeding-paths {
  padding-block: 110px;
}

.feeding-paths__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feeding-path {
  position: relative;
  min-height: 320px;
  padding: 42px 36px;
  border-right: 1px solid var(--line);
}

.feeding-path:last-child {
  border-right: 0;
}

.feeding-path__number {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.feeding-path__shape {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 112px;
  height: 104px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.feeding-path__shape--garden {
  border-radius: 58% 42% 55% 45%;
  background-image: url("./assets/hero/heimatgarten-hero.png");
}

.feeding-path__shape--balcony {
  border-radius: 60px 60px 8px 8px;
  background-image: url("./assets/produkte-original/sonnenblumenkerne-gestreift.jpg");
}

.feeding-path__shape--station {
  border-radius: 50%;
  background-image: url("./assets/produkte-original/wildvogelfutter.jpg");
}

.feeding-path h3 {
  max-width: 220px;
  margin: 96px 0 10px;
  font-size: 25px;
  letter-spacing: -0.025em;
}

.feeding-path p {
  max-width: 260px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.feeding-path a,
.knowledge-card a {
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.products {
  padding-block: 110px 120px;
  background: var(--surface);
}

.product-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 22px;
}

.product-card {
  text-align: center;
}

.product-card h3 {
  min-height: 46px;
  margin: 20px 0 2px;
  font-size: 15px;
  line-height: 1.35;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.pack {
  position: relative;
  width: 100%;
  aspect-ratio: 0.67;
  overflow: hidden;
  border: 1px solid rgba(60, 60, 59, 0.14);
  border-radius: 12px 12px 24px 24px;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.58), transparent 20% 80%, rgba(0, 0, 0, 0.08)),
    #ddd5c5;
  box-shadow: 0 25px 45px rgba(57, 49, 31, 0.18);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.product-card:hover .pack {
  transform: translateY(-8px);
  box-shadow: 0 32px 60px rgba(57, 49, 31, 0.23);
}

.pack::before {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 11px;
  left: 11px;
  height: 2px;
  background: rgba(60, 60, 59, 0.26);
  box-shadow: 0 5px rgba(255, 255, 255, 0.35);
  content: "";
}

.pack__seal {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 42px;
  background: linear-gradient(#cdc2ad, #e2d9c9);
}

.pack__label {
  position: absolute;
  z-index: 4;
  top: 68px;
  left: 50%;
  width: 94%;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.16);
  transform: translateX(-50%);
}

.pack__window {
  position: absolute;
  right: 16px;
  bottom: 18px;
  left: 16px;
  width: calc(100% - 32px);
  height: 31%;
  border: 5px solid rgba(255, 255, 255, 0.86);
  border-radius: 50% 50% 18px 18px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(60, 60, 59, 0.15);
}

.pack--yellow {
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.6), transparent 20% 80%, rgba(0, 0, 0, 0.08)),
    #e4dccb;
}

.pack--green {
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.6), transparent 20% 80%, rgba(0, 0, 0, 0.08)),
    #d8d0bf;
}

.pack--berry {
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.6), transparent 20% 80%, rgba(0, 0, 0, 0.08)),
    #ded4cf;
}

.ingredients {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  min-height: 690px;
  background: var(--charcoal);
  color: var(--white);
}

.ingredients__image {
  overflow: hidden;
}

.ingredients__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms ease;
}

.ingredients:hover .ingredients__image img {
  transform: scale(1.03);
}

.ingredients__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 7vw, 110px);
}

.ingredients__content > p {
  max-width: 600px;
  margin-top: 28px;
  color: #d4d4cf;
}

.ingredient-notes {
  display: grid;
  margin-top: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.ingredient-notes > div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 28px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.ingredient-notes strong {
  color: var(--yellow);
  font-size: 13px;
}

.ingredient-notes span {
  color: #d4d4cf;
  font-size: 13px;
}

.knowledge {
  padding-block: 110px;
}

.knowledge__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 18px;
}

.knowledge-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(50, 45, 30, 0.06);
}

.knowledge-card--large {
  min-height: 390px;
  background:
    linear-gradient(0deg, rgba(22, 32, 24, 0.88), rgba(22, 32, 24, 0.06)),
    url("./assets/hero/heimatgarten-hero.png") center / cover;
  color: var(--white);
}

.knowledge-card__season {
  margin-bottom: auto;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.knowledge-card--large .knowledge-card__season,
.knowledge-card--large a {
  color: var(--yellow);
}

.knowledge-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.6vw, 39px);
  line-height: 1.06;
}

.knowledge-card p {
  max-width: 540px;
  margin: 0 0 20px;
  color: #e5e5e1;
  font-size: 14px;
}

.partners {
  padding-block: 90px;
  background: var(--yellow);
  color: var(--charcoal);
}

.partners__inner {
  display: grid;
  grid-template-columns: minmax(330px, 1.1fr) minmax(250px, 0.95fr) minmax(250px, 0.95fr);
  align-items: stretch;
  gap: 22px;
}

.partners__copy {
  padding: 24px 42px 24px 0;
}

.partners__copy > p {
  max-width: 430px;
  margin-top: 22px;
  color: rgba(60, 60, 59, 0.78);
}

.partner {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border-radius: var(--radius-md);
  padding: 32px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.partner:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 45px rgba(60, 60, 59, 0.18);
}

.partner img {
  max-width: 210px;
  max-height: 72px;
  object-fit: contain;
}

.partner span {
  font-size: 13px;
  font-weight: 850;
}

.partner--zooino {
  background: #f7f8f2;
  color: var(--charcoal);
  border: 1px solid rgba(34, 39, 31, 0.12);
}

.partner--hofmax {
  background: #fffdf4;
  color: var(--charcoal);
}

.site-footer {
  display: grid;
  grid-template-columns: 150px 1fr 1.8fr;
  align-items: center;
  gap: 40px;
  padding: 46px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--surface);
}

.site-footer img {
  width: 120px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 12px;
}

.subpage-main {
  min-height: calc(100vh - 250px);
  padding-block: clamp(64px, 9vw, 120px);
  background:
    radial-gradient(circle at 90% 8%, rgba(252, 196, 29, 0.2), transparent 24rem),
    var(--surface-soft);
}

.subpage-shell {
  width: min(900px, calc(100% - 48px));
  margin-inline: auto;
}

.subpage-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.subpage-title {
  max-width: 780px;
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 82px);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.subpage-lead {
  max-width: 720px;
  margin: 0 0 54px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(28px, 5vw, 58px);
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(50, 45, 30, 0.06);
}

.content-card + .content-card {
  margin-top: 22px;
}

.content-card h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.content-card h3 {
  margin: 34px 0 10px;
  font-size: 16px;
}

.content-card p,
.content-card address,
.content-card li {
  color: #55554f;
}

.content-card address {
  font-style: normal;
}

.content-card a {
  color: #4d643e;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(77, 100, 62, 0.35);
  text-underline-offset: 3px;
}

.content-card ul {
  padding-left: 1.25rem;
}

.content-card li + li {
  margin-top: 7px;
}

.content-card p:last-child,
.content-card ul:last-child {
  margin-bottom: 0;
}

.legal-meta,
.source-note {
  color: var(--muted);
  font-size: 13px;
}

.article-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.article-index a {
  display: flex;
  min-height: 120px;
  align-items: flex-end;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: var(--surface);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.08;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.article-index a:hover,
.article-index a:focus-visible {
  border-color: rgba(108, 124, 83, 0.6);
  transform: translateY(-3px);
}

.back-link {
  display: inline-flex;
  margin-top: 34px;
  font-size: 14px;
  font-weight: 800;
}

.back-link::before {
  margin-right: 9px;
  content: "←";
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 78px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 16px;
    background: transparent;
    color: var(--text);
    font: 750 13px var(--font-body);
  }

  .mobile-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }

  .mobile-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 620px;
  }

  .hero__image {
    min-height: 620px;
  }

  .hero__content {
    width: min(610px, 62vw);
    margin-left: 32px;
  }

  .product-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px 22px;
  }

  .ingredients {
    grid-template-columns: 1fr;
  }

  .ingredients__image {
    min-height: 440px;
  }

  .partners__inner {
    grid-template-columns: 1fr 1fr;
  }

  .partners__copy {
    grid-column: 1 / -1;
  }

  .site-footer {
    grid-template-columns: 130px 1fr;
  }

  .site-footer nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-inline: 18px;
  }

  .brand {
    width: 104px;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-bottom: 0;
  }

  .hero__image {
    display: block;
    min-height: 0;
    height: 290px;
    aspect-ratio: auto;
    clip-path: none !important;
    object-position: 64% center;
  }

  .hero::before {
    display: none;
  }

  .hero__content {
    width: auto;
    margin: 0;
    padding: 42px 24px 56px;
    background: var(--surface);
    color: var(--text) !important;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .section-shell {
    width: min(100% - 32px, var(--max));
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feeding-paths,
  .products,
  .knowledge {
    padding-block: 72px;
  }

  .feeding-paths__grid {
    grid-template-columns: 1fr;
  }

  .feeding-path {
    min-height: 250px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-inline: 20px;
  }

  .feeding-path:last-child {
    border-bottom: 0;
  }

  .feeding-path__shape {
    width: 96px;
    height: 88px;
  }

  .product-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 14px;
  }

  .pack__label {
    top: 58px;
  }

  .ingredients__image {
    min-height: 340px;
  }

  .ingredients__content {
    padding: 58px 24px;
  }

  .ingredient-notes > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .knowledge__grid {
    grid-template-columns: 1fr;
  }

  .knowledge-card,
  .knowledge-card--large {
    min-height: 290px;
  }

  .partners {
    padding-block: 64px;
  }

  .partners__inner {
    grid-template-columns: 1fr;
  }

  .partners__copy {
    grid-column: auto;
    padding-right: 0;
  }

  .partner {
    min-height: 190px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-inline: 24px;
  }

  .site-footer nav {
    grid-column: auto;
  }

  .subpage-shell {
    width: min(100% - 32px, 900px);
  }

  .subpage-title {
    font-size: clamp(42px, 12vw, 58px);
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .article-index {
    grid-template-columns: 1fr;
  }

  .article-index a {
    min-height: 94px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
