:root {
  --green: #00a957;
  --green-dark: #007f44;
  --green-soft: #d1eadb;
  --ink: #111316;
  --muted: #5e6560;
  --line: #c8d3cc;
  --paper: #e7e9ec;
  --warm: #d3d8d5;
  --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; overflow-x: hidden; }
body {
  width: 100%;
  max-width: 100%;
  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(211, 216, 213, .82);
  border-bottom: 1px solid rgba(200, 211, 204, .78);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-soft); background: rgba(231, 233, 236, .95); }
.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, var(--paper) 0%, var(--warm) 52%, #cfe3d7 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: var(--paper); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-soft); }
.hero-media { position: relative; min-height: 560px; }
.media-card {
  position: absolute;
  overflow: hidden;
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.8);
}
.media-card img,
.media-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-card-large { width: 86%; height: 380px; right: 0; top: 40px; transform: rotate(1.5deg); }
.media-card-small { background: var(--paper); }
.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: var(--paper); }
.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, var(--paper), #eef1ef);
  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);
  color: white;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}
.price-card {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper);
  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: var(--paper); }
.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: var(--paper);
  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, #cfe3d7, var(--paper)); padding: 85px 0; }
.cta-card {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 38px;
  border-radius: 38px;
  background: var(--paper);
  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: var(--paper);
  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: var(--paper);
  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: #eef1ef;
  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(1160px, calc(100% - 28px)); }
  .section { padding: 78px 0; }
  .header-inner {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: 72px;
    gap: 8px;
    padding-inline: 14px;
    margin-inline: 0;
  }
  .site-nav {
    display: none !important;
  }
  .nav-toggle {
    display: none !important;
  }
  .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 {
    min-width: 0;
    flex: 1 1 auto;
    max-width: 100%;
    gap: 9px;
    padding-right: 0;
  }
  .brand img { width: 36px; height: 46px; flex: 0 0 auto; }
  .brand span {
    min-width: 0;
    font-size: clamp(.78rem, 4vw, .96rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }
  .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; }
  /* Mobile: prevent horizontal scrolling from decorative/rotated cards, long text and inline links. */
  .site-header, main, section, .site-footer {
    max-width: 100%;
    overflow-x: clip;
  }
  .container, .hero-grid, .split-grid, .process-grid, .contact-grid, .service-grid, .machine-grid, .cta-card {
    max-width: 100%;
  }
  .strip-inner, .footer-inner, .footer-links, .hero-actions {
    min-width: 0;
  }
  .strip-inner a, .footer-links a, .lead, p, h1, h2, h3 {
    overflow-wrap: anywhere;
  }

}

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

@media (max-width: 360px) {
  .header-inner { padding-inline: 10px; }
  .brand img { width: 32px; height: 42px; }
  .brand span { font-size: .76rem; }
}

/* Final mobile hardening: no menu button and no horizontal page overflow. */
@media (max-width: 1020px) {
  button.nav-toggle,
  .nav-toggle,
  [data-nav-toggle],
  button[aria-controls="site-nav"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body {
    position: relative;
  }

  .site-header,
  main,
  section,
  .site-footer,
  .hero,
  .entlaubung,
  .machine-section,
  .cta-section,
  .contact {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .container {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .header-inner {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .site-nav {
    display: none !important;
  }

  .hero-bg-mark,
  .machine-section::before {
    display: none !important;
  }

  .hero-grid,
  .split-grid,
  .process-grid,
  .contact-grid,
  .service-grid,
  .machine-grid,
  .cta-card,
  .strip-inner,
  .footer-inner,
  .hero-actions,
  .timeline,
  .contact-form,
  .contact-card,
  .price-card,
  .service-card,
  .machine-card,
  .step {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hero-media {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .media-card-large {
    right: 0 !important;
    width: 92% !important;
    max-width: 92% !important;
  }

  .media-card-small.two {
    left: 14px !important;
    width: min(245px, calc(100% - 28px)) !important;
    max-width: calc(100% - 28px) !important;
  }

  .floating-badge {
    right: 0 !important;
    max-width: calc(100% - 24px) !important;
  }

  .btn span,
  .strip-inner a,
  .footer-links a,
  .contact-card strong,
  h1,
  h2,
  h3,
  p,
  a {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal;
  }
}


/* V5 mobile width fix: make every mobile layout fit the device viewport instead of creating a horizontal scroll area. */
@media (max-width: 760px) {
  :root {
    --container: 100%;
  }

  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  @supports (overflow: clip) {
    html,
    body {
      overflow-x: clip !important;
    }
  }

  body {
    position: relative;
  }

  body > *,
  .site-header,
  main,
  section,
  .site-footer,
  .hero,
  .strip,
  .services,
  .entlaubung,
  .machine-section,
  .process,
  .cta-section,
  .contact {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: clip !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .header-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .hero-grid,
  .split-grid,
  .process-grid,
  .contact-grid,
  .service-grid,
  .machine-grid,
  .cta-card,
  .timeline,
  .contact-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .strip-inner,
  .footer-inner,
  .footer-links,
  .hero-actions {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-wrap: wrap !important;
  }

  .footer-links {
    justify-content: flex-start !important;
    row-gap: 8px !important;
  }

  .brand,
  .hero-copy,
  .split-copy,
  .contact-info,
  .section-heading,
  .service-card,
  .machine-card,
  .machine-body,
  .price-card,
  .contact-card,
  .contact-form,
  .cta-card > *,
  .step,
  .step > *,
  .timeline > *,
  .footer-inner > *,
  .strip-inner > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .step {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 18px !important;
  }

  .step span {
    width: 48px !important;
    height: 48px !important;
  }

  .hero-media,
  .split-media {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .media-card {
    max-width: 100% !important;
  }

  .media-card-large {
    width: 100% !important;
    max-width: 100% !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
  }

  .media-card-small.one {
    left: 0 !important;
    transform: none !important;
  }

  .media-card-small.two {
    left: 0 !important;
    width: min(245px, 100%) !important;
    max-width: 100% !important;
    transform: none !important;
  }

  .floating-badge {
    right: 14px !important;
    max-width: calc(100% - 28px) !important;
  }

  img,
  svg,
  video,
  canvas,
  iframe,
  form,
  input,
  select,
  textarea,
  button,
  .btn {
    max-width: 100% !important;
  }

  h1,
  h2,
  h3,
  p,
  li,
  a,
  span,
  strong,
  small,
  .btn,
  .eyebrow,
  .lead,
  .contact-card strong {
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }
}

@media (max-width: 360px) {
  .container,
  .header-inner {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}


/* V6 final mobile viewport lock: no horizontal overflow, no mobile zoom, content always fits device width. */
@media (max-width: 760px) {
  html {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    -webkit-text-size-adjust: 100%;
    overscroll-behavior-x: none;
  }

  body {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    touch-action: pan-y;
    overscroll-behavior-x: none;
  }

  @supports (overflow: clip) {
    html,
    body {
      overflow-x: clip !important;
    }
  }

  *,
  *::before,
  *::after {
    max-width: 100% !important;
  }

  .site-header,
  main,
  .site-footer,
  .section,
  .hero,
  .strip,
  .services,
  .entlaubung,
  .machine-section,
  .process,
  .cta-section,
  .contact {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .container,
  .header-inner {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: clamp(10px, 3.75vw, 14px) !important;
    padding-right: clamp(10px, 3.75vw, 14px) !important;
  }

  .hero-grid,
  .split-grid,
  .process-grid,
  .contact-grid,
  .service-grid,
  .machine-grid,
  .cta-card,
  .timeline,
  .contact-cards {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .site-nav,
  .nav-toggle,
  .hero-bg-mark,
  .machine-section::before {
    display: none !important;
  }

  .brand,
  .brand span,
  .hero-copy,
  .split-copy,
  .contact-info,
  .section-heading,
  .service-card,
  .machine-card,
  .machine-body,
  .price-card,
  .contact-card,
  .contact-form,
  .cta-card,
  .step,
  .timeline,
  .strip-inner,
  .footer-inner,
  .footer-links,
  .hero-actions {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  .hero-media {
    position: relative !important;
    display: grid !important;
    gap: 14px !important;
    min-height: 0 !important;
    height: auto !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .media-card,
  .media-card-large,
  .media-card-small.one,
  .media-card-small.two {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
  }

  .media-card-large,
  .media-card-small.two {
    height: auto !important;
    aspect-ratio: 16 / 10;
  }

  .media-card-small.one {
    width: min(132px, 100%) !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
  }

  .split-media {
    overflow: hidden !important;
  }

  .floating-badge {
    position: static !important;
    width: auto !important;
    max-width: 100% !important;
    margin-top: 14px !important;
    transform: none !important;
  }

  img,
  svg,
  video,
  canvas,
  iframe,
  input,
  select,
  textarea,
  button,
  .btn {
    max-width: 100% !important;
  }

  a,
  p,
  li,
  span,
  strong,
  small,
  h1,
  h2,
  h3 {
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }
}

/* V7 hero image collage: keep the three hero images overlapped on all mobile widths. */
@media (max-width: 760px) {
  .hero .container,
  .hero-grid {
    overflow: visible !important;
  }

  .hero-media {
    position: relative !important;
    display: block !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: min(620px, 100%) !important;
    min-height: clamp(360px, 82vw, 520px) !important;
    height: clamp(360px, 82vw, 520px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
  }

  .hero-media .media-card,
  .hero-media .media-card-large,
  .hero-media .media-card-small.one,
  .hero-media .media-card-small.two {
    position: absolute !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .hero-media .media-card-large {
    width: min(86%, 540px) !important;
    height: clamp(230px, 56vw, 380px) !important;
    top: clamp(38px, 10vw, 70px) !important;
    right: 0 !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 1 !important;
    transform: rotate(1.5deg) !important;
  }

  .hero-media .media-card-small.one {
    width: clamp(116px, 28vw, 175px) !important;
    height: clamp(116px, 28vw, 175px) !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 3 !important;
    transform: rotate(-7deg) !important;
  }

  .hero-media .media-card-small.two {
    width: clamp(220px, 52vw, 310px) !important;
    height: clamp(160px, 38vw, 230px) !important;
    left: clamp(14px, 4vw, 28px) !important;
    bottom: clamp(4px, 2vw, 10px) !important;
    top: auto !important;
    right: auto !important;
    z-index: 2 !important;
    transform: rotate(-3deg) !important;
  }
}

/* Footer mobile links: keep legal/navigation links readable in two clean rows. */
@media (max-width: 760px) {
  .site-footer .footer-links {
    display: grid !important;
    grid-template-columns: repeat(3, max-content) !important;
    gap: 10px 14px !important;
    justify-content: start !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: unset !important;
  }

  .site-footer .footer-links a {
    display: inline-block !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
    font-size: clamp(.82rem, 3.35vw, .95rem) !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 360px) {
  .site-footer .footer-links {
    gap: 8px 10px !important;
  }

  .site-footer .footer-links a {
    font-size: .78rem !important;
  }
}

/* Hero headline: longer Praxis title, scaled down for a balanced layout. */
#hero-title {
  font-size: clamp(3rem, 5.4vw, 5.6rem);
  max-width: 980px;
  line-height: 1.03;
  letter-spacing: -.055em;
}

@media (max-width: 1020px) {
  #hero-title {
    font-size: clamp(2.85rem, 8vw, 4.65rem);
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  #hero-title {
    font-size: clamp(2.25rem, 10vw, 3.45rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -.045em !important;
    max-width: 100% !important;
  }
}

@media (max-width: 360px) {
  #hero-title {
    font-size: clamp(2rem, 9.6vw, 2.45rem) !important;
  }
}


/* Mobile: keep the decorative hop cone visible without changing the desktop layout. */
@media (max-width: 760px) {
  .hero-bg-mark {
    right: -18px;
    top: 108px;
    width: min(68vw, 300px);
    height: min(88vw, 390px);
    opacity: .11;
    transform: rotate(10deg);
  }
}

/* Mobile hop cone visibility fix: override earlier mobile hiding rules only. */
@media (max-width: 760px) {
  .hero-bg-mark {
    display: block !important;
    visibility: visible !important;
    position: absolute !important;
    top: 112px !important;
    right: clamp(6px, 3vw, 18px) !important;
    bottom: auto !important;
    left: auto !important;
    width: clamp(190px, 62vw, 300px) !important;
    height: clamp(270px, 84vw, 410px) !important;
    max-width: none !important;
    max-height: none !important;
    opacity: .20 !important;
    background: url("assets/hopfen_transparent.png") no-repeat center / contain !important;
    transform: rotate(10deg) !important;
    pointer-events: none !important;
    z-index: 0 !important;
  }

  .hero-grid {
    position: relative !important;
    z-index: 1 !important;
  }
}

@media (max-width: 360px) {
  .hero-bg-mark {
    top: 106px !important;
    right: 4px !important;
    width: 190px !important;
    height: 280px !important;
    opacity: .24 !important;
  }
}

/* Mobile: keep the decorative hop cone in the Maschinen section visible. */
@media (max-width: 760px) {
  .machine-section::before {
    content: "" !important;
    display: block !important;
    visibility: visible !important;
    position: absolute !important;
    top: 72px !important;
    left: -18px !important;
    right: auto !important;
    bottom: auto !important;
    width: clamp(180px, 58vw, 275px) !important;
    height: clamp(250px, 74vw, 360px) !important;
    max-width: none !important;
    max-height: none !important;
    opacity: .14 !important;
    background: url("assets/hopfen_transparent.png") no-repeat center / contain !important;
    transform: rotate(-18deg) !important;
    pointer-events: none !important;
    z-index: 0 !important;
  }

  .machine-section > .container {
    position: relative !important;
    z-index: 1 !important;
  }
}

@media (max-width: 360px) {
  .machine-section::before {
    top: 78px !important;
    left: -10px !important;
    width: 190px !important;
    height: 270px !important;
    opacity: .17 !important;
  }
}
