:root {
  --bg: #fffef4;
  --bg-card: #f6edda;
  --bg-card-illustration: rgba(255, 255, 255, 0.32);
  --green-main: #59724c;
  --green: #84c37e;
  --green-dark: #3c5832;
  --green-soft: #a0c89c;

  --red: #532826;
  --text-black: #222626;
  --line: #ddd8cc;
  --white: #f8faff;
  --grey: rgba(255, 255, 255, 0.7);
  --max-width: 1160px;
  --radius-lg: 28px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

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

h1,
h2,
h3 {
  margin-bottom: 0;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

p {
  margin-bottom: 0;
}

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

.eyebrow {
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-black);
}

.eyebrow-light {
  color: var(--grey);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

.button--light {
  background: var(--white);
  color: var(--green-main);
}

.hero {
  padding: 120px 0 92px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5.4vw, 5.6rem);
  color: var(--green-main);
}

.hero-lead {
  max-width: 650px;
  margin-top: 28px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-black);
}

.hero-actions {
  display: flex;
  align-items: center;
  margin-top: 34px;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}


.hero-visual {
  aspect-ratio: 1 / 1;
  width: min(34vw, 440px);
  justify-self: end;
}

.logo {
  overflow: visible;
}

.material-inspect {
  position: relative;
  display: inline-block;
}

.material-logo {
  display: block;
  transition: transform 800ms cubic-bezier(.22, 1, .36, 1), filter 800ms ease;
}

.material-logo path {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 900ms cubic-bezier(.22, 1, .36, 1);
}

.material-inspect:hover .material-logo {
  transform: scale(1.015);
  filter: contrast(1.04);
  cursor: default;
}

.material-inspect:hover .top-left {
  transform: translate(-3px, -2px);
}

.material-inspect:hover .top-right {
  transform: translate(3px, -3px);
}

.material-inspect:hover .bottom-left {
  transform: translate(-3px, 3px);
}

.material-inspect:hover .bottom-right {
  transform: translate(3px, 2px);
}

.material-annotation {
  display: none;
}

.annotation-dot {
  width: 7px;
  height: 7px;
  margin-top: 17px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  opacity: 0;
  transform: scale(0);
  transition: opacity 250ms ease, transform 400ms cubic-bezier(.22, 1, .36, 1);
}

.annotation-line {
  width: clamp(70px, 7vw, 130px);
  height: 1px;

  margin-top: 20px;
  margin-left: 9px;

  flex: 0 0 auto;

  background: var(--text-black);
  opacity: 0.6;

  transform: scaleX(0);
  transform-origin: left center;

  transition:
    transform 700ms cubic-bezier(.22, 1, .36, 1) 100ms;
}

.annotation-steps {
  width: clamp(150px, 14vw, 210px);
  margin-left: 14px;
}

.annotation-step {
  color: var(--green-main);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 450ms ease, transform 550ms cubic-bezier(.22, 1, .36, 1);
}

.annotation-step+.annotation-step {
  margin-top: 22px;
}

.annotation-index {
  display: block;
  margin-bottom: 3px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--text-black);
  opacity: 0.7;
}

.annotation-step strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.annotation-step>span:last-child {
  display: block;
  margin-top: 3px;
  font-size: 0.66rem;
  line-height: 1.35;
  color: var(--text-black);
}

.material-inspect:hover .annotation-dot {
  opacity: 1;
  transform: scale(1);
}

.material-inspect:hover .annotation-line {
  transform: scaleX(1);
}

.material-inspect:hover .annotation-step--1,
.material-inspect:hover .annotation-step--2,
.material-inspect:hover .annotation-step--3 {
  opacity: 1;
  transform: translateY(0);
}

.material-inspect:hover .annotation-step--1 {
  transition-delay: 400ms;
}

.material-inspect:hover .annotation-step--2 {
  transition-delay: 560ms;
}

.material-inspect:hover .annotation-step--3 {
  transition-delay: 720ms;
}

.trust-strip {
  padding: 1.5rem 0;
}

.trust-strip .container {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 10px;
}

.trust-strip-inner p {
  margin-right: 1rem;
  max-width: 90px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-black);
}

.trust-strip-inner img {
  width: auto;
  max-height: 70px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.trust-strip-inner img:nth-of-type(1) {
  max-width: 260px;
}

.trust-strip-inner img:nth-of-type(2) {
  max-width: 240px;
}

.intro {
  padding: 110px 0 80px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: start;
}

.intro h2,
.section-heading h2,
.cta h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  color: var(--green-main);
}

.intro-copy {
  max-width: 620px;
  display: grid;
  gap: 22px;
  padding-top: 6px;
  color: var(--text-black);
  font-size: 1.05rem;
}

.process {
  padding: 85px 0 120px;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading>p:last-child {
  max-width: 580px;
  margin: 20px auto 0;
  color: var(--text-black);
}

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

.card {
  min-height: 420px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(59, 47, 69, 0.08);
  cursor: default;
}

.card-topline {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.card-topline span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-black);
}

.card-image {
  height: 155px;
  margin-bottom: 28px;
  border-radius: var(--radius-md);
  background: var(--bg-card-illustration);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card h3 {
  font-size: 1.25rem;
  color: var(--green);
}

.card p {
  margin-top: 14px;
  color: var(--text-black);
  font-size: 0.94rem;
}

.carousel-dots {
  display: none;
}

.cta {
  padding: 34px 0 0;
  margin-bottom: 2rem;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
  padding: 72px;
  border-radius: 34px;
  background: var(--green-soft);
  color: var(--white);
}

.cta h2 {
  max-width: 820px;
  color: var(--white);
}

.footer {
  padding: 72px 0 calc(32px + env(safe-area-inset-bottom));
  background: var(--green-dark);
  color: var(--white);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 64px;
}

.footer-brand-logo {
  width: 52px;
  height: auto;
  margin-bottom: 24px;
}

.footer-brand p {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-nav a {
  color: var(--white);
  font-size: 0.9rem;
  text-decoration: none;
  opacity: 0.8;
  transition:
    opacity 180ms ease,
    color 180ms ease;
}

.footer-impressum {
  position: relative;
  display: inline-block;
}

.footer-impressum::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--green-soft);

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

@media (hover: hover) and (pointer: fine) {
  .footer-nav a:hover {
    opacity: 1;
  }

  .footer-impressum:hover {
    color: var(--green-soft);
  }

  .footer-impressum:hover::after {
    transform: scaleX(1);
  }
}

@media (min-width: 1500px) {
  .material-annotation {
    position: absolute;
    left: 68%;
    top: 40%;

    display: flex;
    align-items: flex-start;

    pointer-events: none;
  }
}

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 40px;
  }

  .hero-visual {
    width: min(31vw, 380px);
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 80px 0 70px;
  }

  .hero-grid,
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3rem, 9vw, 5rem);
  }

  .hero-lead {
    max-width: 580px;
  }

  .hero-visual {
    display: none;
  }

  .trust-strip-inner {
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .trust-strip-inner p {
    width: 100%;
    max-width: none;
  }

  .trust-strip-inner img:nth-of-type(1) {
    max-width: 210px;
  }

  .trust-strip-inner img:nth-of-type(2) {
    max-width: 190px;
  }

  .cards {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
    padding: 0 24px 18px;
    margin-inline: -24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .cards::-webkit-scrollbar {
    display: none;
  }

  .card {
    flex: 0 0 min(82vw, 380px);
    min-height: 420px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .card:hover {
    transform: none;
    box-shadow: none;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 500px) {
  .container {
    width: min(100% - 32px, var(--max-width));
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
    line-height: 0.98;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .trust-strip-inner {
    padding: 24px 0;
  }

  .intro,
  .process {
    padding: 78px 0;
  }

  .cards {
    gap: 14px;
    padding-left: 16px;
    padding-right: 16px;
    margin-inline: -16px;
    scroll-padding-left: 16px;
  }

  .card {
    flex-basis: 86vw;
    min-height: 390px;
    padding: 22px;
  }

  .card-image {
    height: 140px;
    margin-bottom: 24px;
  }

  .card h3 {
    font-size: 1.2rem;
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
  }

  .carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--green);
    opacity: 0.25;
    transition: width 300ms cubic-bezier(.22, 1, .36, 1), opacity 300ms ease;
  }

  .carousel-dot.is-active {
    width: 24px;
    opacity: 1;
  }

  .cta-inner {
    padding: 42px 24px;
    border-radius: 26px;
  }

  .footer {
    padding: 52px 0 28px;
  }

  .footer-main {
    flex-direction: column;
    gap: 52px;
    padding-bottom: 48px;
  }

  .footer-brand-logo {
    width: 42px;
    margin-bottom: 20px;
  }

  .footer-brand p {
    font-size: 1.6rem;
  }

  .footer-nav {
    align-items: flex-start;
  }

  .footer-impressum {
    padding: 6px 0;
  }

  .footer-bottom {
    display: block;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}