/*
 * Vida Vertical 2.0
 * Dynamische Microgreen-Sortenauswahl
 * Desktop zuerst; responsive Feinanpassung folgt später.
 */

.vv-microgreen-selection {
  width: 100%;
  margin: 42px 0 90px;
}

.vv-microgreens-landing,
.vv-microgreens-varieties,
.vv-microgreen-methods,
.vv-microgreen-method-detail {
  width: min(100% - 32px, 1200px);
  margin: 36px auto 80px;
}

.vv-microgreen-methods-body .lead,
.vv-microgreen-method-body .lead {
  max-width: 78ch;
  color: #4c5d4e;
  font-size: 1.12rem;
  line-height: 1.75;
}

.vv-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.vv-method-table-wrap {
  margin: 24px 0 12px;
  overflow-x: auto;
  border: 1px solid #dce8dc;
  border-radius: 16px;
}

.vv-method-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  background: #fff;
  color: #344b37;
}

.vv-method-table th,
.vv-method-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #dce8dc;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.vv-method-table thead th {
  background: #1b5e20;
  color: #fff;
  font-size: .9rem;
}

.vv-method-table tbody th {
  color: #1b5e20;
}

.vv-method-table tbody tr:nth-child(even) {
  background: #f4f8f3;
}

.vv-method-table tbody tr:last-child th,
.vv-method-table tbody tr:last-child td {
  border-bottom: 0;
}

.vv-method-table-note {
  margin: 0 0 34px;
  color: #617064;
  font-size: .9rem;
}

.vv-method-card {
  overflow: hidden;
  border: 1px solid #dce8dc;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(27, 94, 32, .09);
}

.vv-method-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.vv-method-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.vv-method-card:hover .vv-method-card-image img {
  transform: scale(1.035);
}

.vv-method-card > div {
  padding: 24px;
}

.vv-method-card h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
  line-height: 1.3;
}

.vv-method-card h2 a,
.vv-method-card-link {
  color: #1b5e20;
  text-decoration: none;
}

.vv-method-card p {
  min-height: 3.2em;
  color: #4c5d4e;
  line-height: 1.6;
}

.vv-method-card-link {
  font-weight: 700;
}

.vv-method-back {
  display: inline-block;
  margin: -18px 0 28px;
  color: #2e7d32;
  font-weight: 700;
  text-decoration: none;
}

.vv-microgreen-method-body {
  max-width: 900px;
  margin: 44px auto 0;
  color: #344b37;
  font-size: 1.03rem;
  line-height: 1.75;
}

.vv-microgreen-method-body h2 {
  margin: 42px 0 13px;
  color: #1b5e20;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.vv-microgreen-method-body li + li {
  margin-top: 8px;
}

.vv-method-pro-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.vv-method-pro-cons > section,
.vv-method-note {
  padding: 24px;
  border: 1px solid #dce8dc;
  border-radius: 16px;
  background: #f4f8f3;
}

.vv-method-pro-cons h3 {
  margin-top: 0;
  color: #1b5e20;
}

.vv-method-note {
  margin: 28px 0;
  border-left: 5px solid #2e7d32;
}

.vv-microgreens-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
  padding-bottom: 24px;
  border-bottom: 1px solid #dce8de;
}

.vv-microgreens-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  border: 1px solid #2e7d32;
  border-radius: 999px;
  background: #fff;
  color: #1b5e20;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.vv-microgreens-nav a:hover,
.vv-microgreens-nav a:focus-visible,
.vv-microgreens-nav a.is-active {
  background: #2e7d32;
  color: #fff;
  transform: translateY(-1px);
}

.vv-method-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -20px 0 40px;
}

.vv-method-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 17px;
  border: 1px solid #9fc4a3;
  border-radius: 999px;
  background: #f7faf7;
  color: #1b5e20;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}

.vv-method-nav a:hover,
.vv-method-nav a:focus-visible,
.vv-method-nav a.is-active {
  border-color: #1b5e20;
  background: #1b5e20;
  color: #fff;
}

.vv-microgreens-hero-header,
.vv-microgreens-varieties-header {
  max-width: 850px;
  margin-bottom: 30px;
}

.vv-microgreens-title {
  margin: 8px 0 14px;
  color: #1b5e20;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.05;
}

.vv-microgreens-subtitle,
.vv-microgreens-varieties-intro {
  color: #4c5d4e;
  font-size: 1.15rem;
  line-height: 1.7;
}

.vv-microgreens-varieties-intro p {
  margin: 0;
}

.vv-microgreens-hero-image {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(27, 94, 32, .13);
}

.vv-microgreens-hero-image > div,
.vv-microgreens-hero-image img {
  display: block;
  width: 100%;
}

.vv-microgreens-hero-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.vv-microgreens-copy {
  max-width: 900px;
  margin: 46px auto 0;
  color: #344b37;
  font-size: 1.05rem;
  line-height: 1.75;
}

.vv-microgreens-copy h2 {
  margin: 44px 0 14px;
  color: #1b5e20;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.vv-microgreens-copy h2:first-child {
  margin-top: 0;
}

.vv-microgreens-copy p,
.vv-microgreens-copy li {
  max-width: 78ch;
}

.vv-microgreens-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0;
}

.vv-microgreens-facts > section {
  padding: 24px;
  border: 1px solid #dce8dc;
  border-radius: 16px;
  background: #f4f8f3;
}

.vv-microgreens-facts h3 {
  margin: 0 0 9px;
  color: #1b5e20;
}

.vv-microgreens-facts p {
  margin: 0;
}

.vv-microgreens-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 13px 23px;
  border-radius: 999px;
  background: #2e7d32;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.vv-microgreens-cta:hover,
.vv-microgreens-cta:focus-visible {
  background: #1b5e20;
}

@media (max-width: 760px) {
  .vv-microgreens-landing,
  .vv-microgreens-varieties,
  .vv-microgreen-methods,
  .vv-microgreen-method-detail {
    width: min(100% - 22px, 1200px);
    margin-top: 22px;
  }

  .vv-microgreens-nav {
    margin-bottom: 30px;
  }

  .vv-microgreens-facts {
    grid-template-columns: 1fr;
  }

  .vv-method-grid,
  .vv-method-pro-cons {
    grid-template-columns: 1fr;
  }

  .vv-method-card p {
    min-height: 0;
  }
}

.vv-microgreen-selection-header {
  width: min(100%, 880px);
  margin: 0 auto 34px;
}

.vv-microgreen-selection-title {
  margin: 8px 0 15px;
  color: #1b5e20;
  font-size: 2.35rem;
  line-height: 1.2;
}

.vv-microgreen-selection-intro {
  max-width: 760px;
  margin: 0;
  color: #4c5d4e;
  font-size: 1.05rem;
  line-height: 1.7;
}

.vv-microgreen-selection-wrapper {
  width: 100%;
}

ul.vv-microgreen-selection-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vv-microgreen-card-item {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vv-microgreen-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce8dc;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(27, 94, 32, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.vv-microgreen-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(27, 94, 32, 0.14);
}

.vv-microgreen-card-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #edf4ed;
}

.vv-microgreen-card-image a,
.vv-microgreen-card-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.vv-microgreen-card-image img {
  object-fit: cover;
  transition: transform 0.35s ease;
}

.vv-microgreen-card:hover
.vv-microgreen-card-image img {
  transform: scale(1.035);
}

.vv-microgreen-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 19px 18px 21px;
}

.vv-microgreen-card-title {
  margin: 0 0 11px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.vv-microgreen-card-title a {
  color: #1b5e20;
  text-decoration: none;
}

.vv-microgreen-card-title a:hover,
.vv-microgreen-card-title a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vv-microgreen-card-summary {
  margin-bottom: 18px;
  color: #4c5d4e;
  font-size: 0.9rem;
  line-height: 1.55;
}

.vv-microgreen-card-summary > * {
  margin: 0;
}

.vv-microgreen-card-action {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: #2e7d32;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.vv-microgreen-card-action:hover,
.vv-microgreen-card-action:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vv-microgreen-card-action span {
  transition: transform 0.2s ease;
}

.vv-microgreen-card:hover
.vv-microgreen-card-action span {
  transform: translateX(4px);
}

.vv-microgreen-selection
.views-element-container > div:not([class]) {
  padding: 28px 30px;
  border: 1px solid #dce8dc;
  border-radius: 14px;
  background: #f4f8f3;
  color: #455a46;
  line-height: 1.6;
}
