:root {
  --green: #00a957;
  --green-dark: #007f44;
  --green-soft: #e8f7ef;
  --ink: #111316;
  --muted: #5e6560;
  --line: #dde6df;
  --paper: #ffffff;
  --warm: #f6f5ef;
  --dark: #0d1110;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(17, 19, 22, .12);
  --shadow-soft: 0 16px 40px rgba(17, 19, 22, .08);
  --container: min(1160px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--warm);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: var(--container); margin-inline: auto; }
.section { padding: 110px 0; position: relative; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(246, 245, 239, .76);
  border-bottom: 1px solid rgba(221, 230, 223, .72);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-soft); background: rgba(255, 255, 255, .92); }
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.brand img { width: 42px; height: 54px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,169,87,.25)); }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 750;
  color: #202522;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.site-nav a:hover, .site-nav a:focus { background: var(--green-soft); color: var(--green-dark); transform: translateY(-1px); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--ink); border-radius: 14px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .2s ease; }

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 150px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 24%, rgba(0,169,87,.14), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(17,19,22,.08), transparent 32%),
    linear-gradient(135deg, #fff 0%, var(--warm) 52%, #edf7f1 100%);
}
.hero-bg-mark {
  position: absolute;
  right: -90px;
  top: 110px;
  width: 480px;
  height: 620px;
  background: url("assets/hopfen.png") center/contain no-repeat;
  opacity: .07;
  transform: rotate(14deg);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, .9fr); gap: 72px; align-items: center; }
.eyebrow {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--green-dark);
}
.eyebrow span { width: 34px; height: 3px; background: var(--green); border-radius: 999px; }
h1, h2, h3 { margin: 0; line-height: .98; letter-spacing: -.055em; }
h1 { font-size: clamp(4rem, 8vw, 7.4rem); max-width: 880px; }
h2 { font-size: clamp(2.6rem, 5vw, 5.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); }
.lead { font-size: clamp(1.18rem, 2vw, 1.46rem); color: var(--muted); max-width: 680px; margin: 28px 0 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 16px 28px rgba(0,169,87,.24); }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-soft); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-facts span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  border: 1px solid var(--line);
  font-weight: 900;
}
.hero-media { position: relative; min-height: 560px; }
.media-card {
  position: absolute;
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.8);
}
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.media-card-large { width: 86%; height: 380px; right: 0; top: 40px; transform: rotate(1.5deg); }
.media-card-small { background: #fff; }
.media-card-small.one { width: 175px; height: 175px; left: 0; top: 0; padding: 20px; transform: rotate(-7deg); }
.media-card-small.one img { object-fit: contain; }
.media-card-small.two { width: 310px; height: 230px; left: 20px; bottom: 8px; transform: rotate(-3deg); }

.strip { background: var(--dark); color: #fff; padding: 16px 0; }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; font-weight: 850; }
.strip a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }

.section-heading { max-width: 780px; margin-bottom: 50px; }
.section-heading p:not(.eyebrow) { margin: 20px 0 0; font-size: 1.13rem; color: var(--muted); }
.section-heading.narrow { max-width: 700px; margin-inline: auto; text-align: center; }
.section-heading.narrow .eyebrow { justify-content: center; }

.services { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f9fbfa);
  box-shadow: 0 12px 36px rgba(17,19,22,.04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: rgba(0,169,87,.35); }
.icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 950;
  margin-bottom: 24px;
}
.service-card h3 { margin-bottom: 16px; letter-spacing: -.04em; }
.service-card p { margin: 0; color: var(--muted); }
.featured-card { background: var(--dark); color: #fff; border-color: var(--dark); }
.featured-card p { color: rgba(255,255,255,.72); }
.featured-card .icon { background: var(--green); color: #fff; }

.entlaubung { background: var(--warm); overflow: hidden; }
.split-grid { display: grid; grid-template-columns: .95fr 1fr; gap: 70px; align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; min-height: 530px; object-fit: cover; border-radius: 36px; box-shadow: var(--shadow); }
.floating-badge {
  position: absolute;
  right: -26px;
  bottom: 36px;
  width: 190px;
  min-height: 150px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 22px;
  border-radius: 30px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 24px 46px rgba(0,169,87,.28);
}
.floating-badge strong { font-size: 2.05rem; line-height: .95; letter-spacing: -.04em; }
.floating-badge span { font-weight: 850; opacity: .86; }
.split-copy p:not(.eyebrow) { font-size: 1.1rem; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 760; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E") center/14px no-repeat;
}
.price-card {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.price-card span { font-weight: 900; color: var(--green-dark); text-transform: uppercase; letter-spacing: .11em; font-size: .75rem; }
.price-card strong { display: block; margin: 5px 0 8px; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.05em; line-height: 1; }
.price-card p { margin: 0 0 8px; }
.price-card small { color: var(--muted); }

.machine-section { background: #0f1512; color: #fff; overflow: hidden; }
.machine-section::before {
  content: "";
  position: absolute;
  left: -170px;
  top: 10%;
  width: 460px;
  height: 560px;
  background: url("assets/hopfen.png") center/contain no-repeat;
  opacity: .08;
  transform: rotate(-18deg);
}
.machine-section .section-heading p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.machine-grid { display: grid; grid-template-columns: 1fr 1.18fr; gap: 22px; position: relative; }
.machine-card {
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 24px 90px rgba(0,0,0,.24);
}
.machine-card img { width: 100%; height: 320px; object-fit: cover; }
.machine-body { padding: 30px; }
.machine-card .tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,169,87,.18);
  color: #75f0b6;
  font-weight: 900;
  margin-bottom: 16px;
}
.machine-card h3 { margin-bottom: 20px; }
.machine-card ul { margin: 0; padding-left: 20px; color: rgba(255,255,255,.78); }
.machine-card li + li { margin-top: 8px; }
.machine-card.highlight { background: linear-gradient(145deg, rgba(0,169,87,.22), rgba(255,255,255,.07)); border-color: rgba(0,169,87,.4); }

.process { background: #fff; }
.process-grid { display: grid; grid-template-columns: .8fr 1.1fr; gap: 60px; align-items: start; }
.timeline { display: grid; gap: 16px; }
.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 36px rgba(17,19,22,.045);
}
.step span { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 950; }
.step h3 { font-size: 1.4rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }

.cta-section { background: linear-gradient(135deg, #edf8f1, #fff); padding: 85px 0; }
.cta-card {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 38px;
  border-radius: 38px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.cta-card img { width: 150px; height: 106px; object-fit: contain; }
.cta-card p:not(.eyebrow) { margin: 14px 0 0; color: var(--muted); }
.cta-card h2 { font-size: clamp(2.1rem, 4vw, 4.4rem); }

.contact { background: var(--warm); }
.contact-grid { display: grid; grid-template-columns: .95fr 1fr; gap: 70px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.contact-card {
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(17,19,22,.045);
  min-width: 0;
}
.contact-card span { display: block; color: var(--green-dark); font-weight: 900; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.contact-card strong { display: block; line-height: 1.25; overflow-wrap: anywhere; }
.contact-form {
  padding: 30px;
  border-radius: 34px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 16px;
}
.contact-form label { display: grid; gap: 8px; font-weight: 850; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fbfcfb;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(0,169,87,.12); }
.contact-form textarea { resize: vertical; }
.form-note { margin: -4px 0 0; color: var(--muted); font-size: .92rem; }

.site-footer { background: var(--dark); color: #fff; padding: 34px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.footer-inner p { margin: 4px 0 0; color: rgba(255,255,255,.68); }
.footer-links { display: flex; gap: 16px; font-weight: 850; }
.footer-links a { color: rgba(255,255,255,.78); }
.footer-links a:hover { color: #fff; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .hero-grid, .split-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { min-height: 520px; max-width: 620px; width: 100%; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .machine-grid { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 110px 1fr; }
  .cta-card .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 760px) {
  :root { --container: min(100vw - 28px, 1160px); }
  .section { padding: 78px 0; }
  .header-inner { min-height: 72px; }
  .site-nav {
    position: fixed;
    top: 78px;
    right: 14px;
    left: 14px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
  }
  .site-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .site-nav a { padding: 14px 16px; }
  .nav-toggle { display: block; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .brand span { font-size: .96rem; }
  .hero { padding-top: 112px; }
  h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  h2 { font-size: clamp(2.25rem, 10vw, 3.4rem); }
  .hero-grid { gap: 36px; }
  .hero-media { min-height: 430px; }
  .media-card-large { width: 92%; height: 290px; }
  .media-card-small.one { width: 132px; height: 132px; }
  .media-card-small.two { width: 245px; height: 178px; }
  .service-grid, .contact-cards { grid-template-columns: 1fr; }
  .split-media img { min-height: 360px; }
  .floating-badge { right: 16px; bottom: 18px; width: 156px; min-height: 122px; }
  .floating-badge strong { font-size: 1.65rem; }
  .machine-card img { height: 245px; }
  .cta-card { grid-template-columns: 1fr; padding: 28px; }
  .cta-card img { width: 140px; }
  .footer-inner { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
