/* =========================================================
   MeltPeak – Stylesheet
   Farben identisch zur offiziellen Produktseite
   ========================================================= */

:root {
  --green: #7AC142;
  --green-dark: #5c9a2e;
  --green-deep: #3f6d1f;
  --green-soft: #E3F3D3;
  --green-bg: #F3FAEC;
  --ink: #0A0A0A;
  --ink-soft: #2b2b2b;
  --muted: #5a6157;
  --white: #ffffff;
  --border: #d8e7c7;
  --shadow: 0 10px 30px rgba(20, 40, 10, 0.08);
  --shadow-lg: 0 22px 55px rgba(20, 40, 10, 0.14);
  --radius: 18px;
  --maxw: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--green-bg) 0%, #ffffff 42%, #ffffff 100%);
  line-height: 1.7;
  font-size: 17px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.wrap-narrow {
  max-width: 820px;
}

section {
  padding: 54px 0;
}

.section-tight {
  padding: 34px 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  font-weight: 400;
  opacity: 0.9;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 9px 11px;
  border-radius: 999px;
  opacity: 0.95;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(0, 0, 0, 0.14);
  opacity: 1;
}

.nav .nav-cta {
  background: var(--ink);
  color: var(--white);
  padding: 10px 18px;
  margin-left: 6px;
}

.nav .nav-cta:hover {
  background: #1e1e1e;
}

.nav-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.nav-toggle {
  display: none;
  cursor: pointer;
  color: var(--white);
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  width: 48px;
  height: 44px;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.nav-checkbox:focus-visible ~ .nav-toggle {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  padding: 16px 30px;
  border-radius: 12px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  text-align: center;
  line-height: 1.25;
}

.btn-primary {
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(122, 193, 66, 0.38);
}

.btn-primary:hover {
  background: #8bd152;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(122, 193, 66, 0.45);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.btn-dark:hover {
  background: #222;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  font-size: 15px;
  padding: 12px 22px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 44px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--green-deep);
  background: rgba(122, 193, 66, 0.16);
  border: 1px solid rgba(122, 193, 66, 0.4);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.4px;
}

h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 800;
  margin: 0 0 18px;
}

h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin: 0 0 16px;
}

h3 {
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 700;
  margin: 30px 0 10px;
}

h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 22px 0 8px;
}

.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  margin: 0 0 22px;
}

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

.hero-media img {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 24px 34px rgba(30, 60, 10, 0.18));
}

/* ---------- Trust bar ---------- */

.trustbar {
  background: var(--ink);
  color: var(--white);
  padding: 18px 0;
}

.trustbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  align-items: center;
  justify-content: center;
}

.trustbar p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #eaf6db;
}

.tick {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-block;
  vertical-align: -3px;
}

/* ---------- Cards ---------- */

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card h3,
.card h4 {
  margin-top: 0;
}

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

.card-green {
  background: linear-gradient(160deg, #ffffff 0%, var(--green-bg) 100%);
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(122, 193, 66, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 22px;
}

/* ---------- Lists ---------- */

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 6px;
}

.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 13px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--green) 0%, #67ad33 100%);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  margin-bottom: 10px;
}

.cta-band p {
  max-width: 640px;
  margin: 0 auto 24px;
  color: #12250a;
}

.cta-note {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.62);
}

/* ---------- Table ---------- */

.table-scroll {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #eaf2e0;
  font-size: 15.5px;
}

th {
  background: var(--green-soft);
  font-weight: 800;
  color: var(--green-deep);
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 0.8px;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: #fafdf6;
}

.price-strong {
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
}

/* ---------- Packages ---------- */

.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.package {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 22px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}

.package.featured {
  border-color: var(--green);
  box-shadow: 0 24px 50px rgba(122, 193, 66, 0.3);
  transform: translateY(-8px);
}

.package .tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: 999px;
  white-space: nowrap;
}

.package h3 {
  margin: 8px 0 4px;
  font-size: 22px;
}

.package .supply {
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 14px;
}

.package img {
  max-width: 150px;
  margin: 0 auto 6px;
}

.package .price {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  margin: 10px 0 4px;
}

.package .price small {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.package .total {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
}

.package .perday {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--green-deep);
  margin: 0 0 18px;
}

.package .btn {
  margin-top: auto;
}

.package .ship {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
}

/* ---------- FAQ ---------- */

.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 26px;
  font-weight: 400;
  color: var(--green-dark);
  line-height: 1;
  flex: 0 0 auto;
}

.faq details[open] summary::after {
  content: "–";
}

.faq .answer {
  padding: 0 24px 22px;
  color: var(--ink-soft);
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

/* ---------- Callouts ---------- */

.note {
  border-left: 5px solid var(--green);
  background: var(--green-bg);
  border-radius: 0 14px 14px 0;
  padding: 18px 22px;
  margin: 26px 0;
  font-size: 15.5px;
}

.note strong {
  color: var(--green-deep);
}

.warning {
  border-left: 5px solid #c9562f;
  background: #fdf3ee;
  border-radius: 0 14px 14px 0;
  padding: 18px 22px;
  margin: 26px 0;
  font-size: 15.5px;
}

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  font-size: 13.5px;
  color: var(--muted);
  padding: 18px 0 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: #9bb08a;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--green-deep);
  text-decoration: underline;
}

/* ---------- Table of contents ---------- */

.toc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 26px;
  box-shadow: var(--shadow);
  margin: 0 0 34px;
}

.toc p {
  margin: 0 0 10px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-deep);
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 34px;
}

.toc li {
  margin-bottom: 7px;
  font-size: 15.5px;
}

/* ---------- Content ---------- */

.prose p {
  margin: 0 0 18px;
}

.prose ul,
.prose ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.prose li {
  margin-bottom: 9px;
}

.prose h2 {
  margin-top: 44px;
}

.prose h3 {
  margin-top: 34px;
}

.meta {
  font-size: 13.5px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 38px;
}

.article-header {
  padding: 26px 0 10px;
}

.article-header h1 {
  margin-bottom: 12px;
}

.article-header .lead {
  margin-bottom: 8px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pill {
  font-size: 12.5px;
  font-weight: 700;
  background: var(--green-soft);
  color: var(--green-deep);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Steps ---------- */

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.steps li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px 20px 70px;
  box-shadow: var(--shadow);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong {
  display: block;
  margin-bottom: 4px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #c9d3c1;
  padding: 52px 0 26px;
  margin-top: 40px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 34px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.site-footer a {
  color: #c9d3c1;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--green);
  text-decoration: underline;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 9px;
}

.footer-brand p {
  margin: 0 0 12px;
  font-size: 14px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-legal {
  border-top: 1px solid #2a2a2a;
  padding-top: 22px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #9aa593;
}

.footer-legal p {
  margin: 0 0 10px;
}

.affiliate-note {
  background: #161616;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 13px;
  color: #b9c4b1;
}

/* ---------- Utilities ---------- */

.center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 26px; }
.mt-4 { margin-top: 26px; }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  z-index: 100;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    max-width: 300px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .packages {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .package.featured {
    transform: none;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--green);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 4px;
    box-shadow: 0 14px 20px rgba(0, 0, 0, 0.14);
    z-index: 40;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-checkbox:checked ~ .nav {
    display: flex;
  }

  .hero {
    padding: 26px 0 20px;
  }

  .hero-media img {
    max-width: 240px;
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .nav .nav-cta {
    margin: 8px 0 0;
    text-align: center;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .toc ol {
    columns: 1;
  }

  .cta-band {
    padding: 28px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  section {
    padding: 40px 0;
  }

  body {
    font-size: 16.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
