:root {
  --cream: #fbf7ef;
  --paper: #fffdf8;
  --beige: #e9dbc2;
  --green: #466b4d;
  --green-dark: #243d2e;
  --anthracite: #232321;
  --muted: #756d62;
  --gold: #c98f35;
  --orange: #d86d34;
  --line: rgba(35, 35, 33, 0.1);
  --shadow: 0 22px 70px rgba(56, 47, 34, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--anthracite);
  background: var(--cream);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 247, 239, 0.88);
  border-bottom: 1px solid rgba(35, 35, 33, 0.06);
  backdrop-filter: blur(18px);
}

.brand,
nav,
.trust-list,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-logo {
  width: 118px;
  height: auto;
  object-fit: contain;
}

nav {
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--green-dark);
}

.header-cta {
  padding: 10px 17px;
  color: white;
  background: var(--green-dark);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(36, 61, 46, 0.22);
}

.section-pad {
  padding: clamp(64px, 8vw, 118px) clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  align-items: center;
  min-height: calc(100svh - 72px);
  gap: clamp(40px, 7vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(201, 143, 53, 0.18), transparent 34%),
    linear-gradient(135deg, #fffdf8 0%, #fbf7ef 54%, #edf1e5 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero-subline {
  margin-bottom: 16px;
  color: var(--green-dark);
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  font-weight: 760;
}

.hero-text,
.section-heading p,
.nutrition-copy p,
.fortan-panel p,
.final-panel p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 780;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: white;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  box-shadow: 0 18px 36px rgba(36, 61, 46, 0.24);
}

.secondary {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(36, 61, 46, 0.14);
}

.trust-list {
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-list li {
  padding: 9px 13px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(70, 107, 77, 0.14);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.product-stage {
  position: relative;
  display: grid;
  min-height: 610px;
  place-items: center;
  isolation: isolate;
}

.product-stage::before {
  position: absolute;
  inset: 10% 4% 0;
  z-index: -2;
  content: "";
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(233, 219, 194, 0.38));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.product-stage::after {
  position: absolute;
  right: 14%;
  bottom: 6%;
  left: 18%;
  z-index: -1;
  height: 34px;
  content: "";
  background: rgba(35, 35, 33, 0.2);
  border-radius: 50%;
  filter: blur(18px);
}

.product-stage img {
  width: min(430px, 82vw);
  height: auto;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 30px 30px rgba(35, 35, 33, 0.18));
  animation: floatProduct 5s ease-in-out infinite;
}

.format-card {
  position: absolute;
  display: grid;
  gap: 2px;
  min-width: 158px;
  padding: 15px 18px;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(35, 35, 33, 0.12);
}

.format-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.format-card strong {
  color: var(--green-dark);
  font-size: 1.15rem;
}

.old-format {
  top: 18%;
  left: 0;
}

.new-format {
  right: 0;
  bottom: 20%;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.change-grid,
.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.stat,
details {
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(35, 35, 33, 0.08);
  box-shadow: 0 18px 48px rgba(56, 47, 34, 0.08);
}

.card {
  min-height: 240px;
  padding: 28px;
  border-radius: 24px;
}

.card p,
details p {
  color: var(--muted);
}

.icon-pill {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 12px;
  color: var(--green-dark);
  background: #edf3e8;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 820;
}

.nutrition {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: clamp(34px, 6vw, 84px);
  background: #fffdf8;
}

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

.stat {
  min-height: 160px;
  padding: 28px;
  border-radius: 24px;
}

.stat strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.95;
}

.stat span {
  color: var(--muted);
  font-weight: 700;
}

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

.comparison {
  background: linear-gradient(180deg, #fffdf8 0%, #fbf7ef 100%);
}

.design-slider {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 58px);
  max-width: 1120px;
  margin-bottom: 30px;
  padding: clamp(22px, 4vw, 38px);
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.slider-copy h3 {
  max-width: 460px;
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.slider-copy p {
  color: var(--muted);
}

.slider-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, var(--split)) minmax(120px, calc(100% - var(--split)));
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 247, 239, 0.62), rgba(237, 243, 232, 0.64)),
    #fffdf8;
  border: 1px solid rgba(35, 35, 33, 0.08);
  border-radius: 24px;
  isolation: isolate;
}

.slider-img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  padding: 28px;
  object-fit: contain;
}

.slider-old {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-width: 0;
}

.slider-new {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-width: 0;
  border-left: 1px solid rgba(35, 35, 33, 0.08);
}

.slider-handle {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: var(--split);
  z-index: 4;
  width: 2px;
  background: rgba(36, 61, 46, 0.74);
  transform: translateX(-50%);
  pointer-events: none;
}

.slider-handle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  content: "↔";
  color: white;
  background: var(--green-dark);
  border: 4px solid #fffdf8;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(35, 35, 33, 0.2);
  transform: translate(-50%, -50%);
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.slider-label {
  position: absolute;
  z-index: 3;
  top: 18px;
  padding: 8px 12px;
  color: var(--green-dark);
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid rgba(36, 61, 46, 0.12);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 820;
}

.label-old {
  left: 18px;
}

.label-new {
  right: 18px;
}

.compare-wrap {
  overflow: hidden;
  max-width: 980px;
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 74px;
  border-top: 1px solid var(--line);
}

.compare-row:first-child {
  border-top: 0;
}

.compare-row span,
.compare-row strong {
  padding: 20px 28px;
}

.compare-row strong {
  color: var(--green-dark);
  border-left: 1px solid var(--line);
  font-size: 1.1rem;
}

.compare-head {
  color: white;
  background: var(--green-dark);
  font-weight: 820;
}

.compare-head span:last-child {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.fortan-panel,
.final-panel {
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.fortan-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  padding: clamp(34px, 5vw, 64px);
  color: white;
  background:
    linear-gradient(135deg, rgba(36, 61, 46, 0.96), rgba(70, 107, 77, 0.94)),
    url("https://fortan.de/media/55/a0/70/1698002342/Cafortan_300g.webp?ts=1730636757") center right / contain no-repeat;
}

.fortan-panel .eyebrow,
.fortan-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.quality-stack {
  display: grid;
  gap: 12px;
  align-content: center;
}

.quality-stack span {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  font-weight: 780;
}

.testimonials {
  background:
    linear-gradient(180deg, #fbf7ef 0%, #fffdf8 100%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.testimonial-card {
  overflow: hidden;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.testimonial-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.testimonial-content {
  padding: clamp(24px, 4vw, 34px);
}

.quote {
  color: var(--anthracite);
  font-size: 1.08rem;
}

.person {
  display: grid;
  gap: 4px;
  margin-bottom: 0;
}

.person strong {
  color: var(--green-dark);
  font-size: 1.05rem;
}

.person span {
  color: var(--muted);
  font-size: 0.94rem;
}

.faq {
  background: #fffdf8;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

details {
  border-radius: 20px;
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--green-dark);
  font-size: 1.08rem;
  font-weight: 780;
  list-style: none;
}

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

summary::after {
  float: right;
  content: "+";
  color: var(--gold);
  font-size: 1.4rem;
}

details[open] summary::after {
  content: "-";
}

details p {
  padding: 0 24px 22px;
  margin-bottom: 0;
}

.final-cta {
  padding-top: 0;
}

.final-panel {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 74px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 109, 52, 0.16), transparent 34%),
    linear-gradient(135deg, #fffdf8, #f3eadb);
}

.final-panel p {
  margin-right: auto;
  margin-left: auto;
}

.imprint {
  padding-top: 0;
  background: #fffdf8;
}

.imprint-panel {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  background: rgba(251, 247, 239, 0.76);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.imprint-panel h2 {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.imprint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 34px;
}

.imprint-grid h3 {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 1.05rem;
}

.imprint-grid p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.96rem;
}

.imprint-grid a {
  color: var(--green-dark);
  font-weight: 760;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
}

footer a {
  color: var(--green-dark);
  font-weight: 760;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatProduct {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .hero,
  .nutrition,
  .fortan-panel,
  .design-slider {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .product-stage {
    min-height: 520px;
  }

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

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

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

  .brand span:last-child {
    display: none;
  }

  .brand-logo {
    width: 104px;
  }

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

  .imprint-panel {
    border-radius: 22px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .header-cta {
    padding: 9px 14px;
  }

  .section-pad {
    padding: 58px 18px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .trust-list li {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }

  .product-stage {
    min-height: 440px;
  }

  .product-stage::before {
    inset: 10% 0 3%;
    border-radius: 26px;
  }

  .product-stage img {
    width: min(330px, 88vw);
    max-height: 390px;
  }

  .format-card {
    min-width: 132px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .old-format {
    top: 8%;
    left: 4%;
  }

  .new-format {
    right: 4%;
    bottom: 8%;
  }

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

  .slider-frame {
    min-height: 430px;
  }

  .slider-img {
    max-height: 410px;
    padding: 22px 14px;
  }

  .wide {
    grid-column: auto;
  }

  .compare-row {
    min-height: 66px;
  }

  .compare-row span,
  .compare-row strong {
    padding: 16px;
    overflow-wrap: anywhere;
  }

  .fortan-panel,
  .final-panel {
    border-radius: 24px;
  }

  footer {
    flex-direction: column;
  }
}
