:root {
  --ink: #182019;
  --muted: #5d6b61;
  --cream: #f6f1e4;
  --paper: #fffdf8;
  --green: #145535;
  --green-dark: #0c3522;
  --green-light: #dfece2;
  --gold: #f3bf24;
  --gold-soft: #fff3bd;
  --line: #d8dfd7;
  --danger: #932c2c;
  --shadow: 0 20px 60px rgba(17, 57, 35, .14);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 810px; }
.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 9px 13px;
  border-radius: 5px;
  background: white;
  box-shadow: var(--shadow);
}

.topbar { background: var(--green-dark); color: white; font-size: 14px; }
.topbar .wrap {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding-block: 8px;
}
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(20, 85, 53, .12);
  background: rgba(255, 253, 248, .96);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 47px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--gold);
  font: 800 22px/1 Georgia, serif;
}
.brand strong { display: block; font: 700 22px/1.05 Georgia, serif; }
.brand small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.navlinks { display: flex; align-items: center; gap: 22px; }
.navlinks a {
  position: relative;
  padding-block: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.navlinks a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.navlinks a:hover::after,
.navlinks a[aria-current="page"]::after { transform: scaleX(1); }
.menu {
  display: none;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--green-dark);
  color: white;
}
.hero.compact { min-height: 500px; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 31, 19, .94) 0%, rgba(7, 31, 19, .72) 48%, rgba(7, 31, 19, .18) 100%),
    var(--hero) center/cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--gold) 0 27%, transparent 27% 100%);
}
.hero .wrap { position: relative; }
.hero-copy { max-width: 750px; padding-block: 90px; }
.eyebrow {
  margin: 0 0 12px;
  color: #e8ad00;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero .eyebrow, .callout .eyebrow { color: var(--gold); }
h1, h2, h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.1;
}
h1 { margin-bottom: 24px; font-size: clamp(43px, 6vw, 74px); font-weight: 600; }
h2 { margin-bottom: 18px; font-size: clamp(31px, 4vw, 48px); font-weight: 600; }
h3 { margin-bottom: 10px; font-size: 25px; }
.lead {
  max-width: 700px;
  color: rgba(255,255,255,.92);
  font-size: clamp(19px, 2vw, 23px);
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  background: var(--gold);
  color: #17211b;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 0, 0, .12); }
.button:focus-visible, .menu:focus-visible, .gallery a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.button.alt { border-color: rgba(255,255,255,.78); background: transparent; color: white; }
.button.dark { border-color: var(--green); background: var(--green); color: white; }
.button:disabled { opacity: .6; cursor: wait; }

.section { padding-block: 90px; }
.section.small { padding-block: 56px; }
.section.tint { background: var(--cream); }
.section.green { background: var(--green-dark); color: white; }
.intro { max-width: 790px; margin-bottom: 42px; }
.intro p { color: var(--muted); font-size: 19px; }
.section.green .intro p { color: rgba(255,255,255,.78); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 42px; align-items: center; }
.align-start { align-items: start; }
.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 30px rgba(20,48,31,.05);
}
.card p { color: var(--muted); }
.card :last-child { margin-bottom: 0; }
.number {
  display: block;
  margin-bottom: 18px;
  color: #be8700;
  font: 700 35px/1 Georgia, serif;
}
.photo {
  width: 100%;
  min-height: 390px;
  max-height: 560px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}
.photo.short { min-height: 310px; }
.list { padding: 0; margin: 0; list-style: none; }
.list li {
  position: relative;
  padding: 9px 0 9px 28px;
  border-bottom: 1px solid var(--line);
}
.list li:last-child { border-bottom: 0; }
.list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}
.callout {
  padding: clamp(30px, 5vw, 54px);
  border-radius: var(--radius);
  background: var(--green);
  color: white;
  box-shadow: var(--shadow);
}
.callout p { color: rgba(255,255,255,.85); }
.tag {
  display: inline-flex;
  margin: 0 6px 8px 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 750;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.fact { padding: 26px; background: white; }
.fact strong { display: block; color: var(--green); font: 650 29px/1.2 Georgia, serif; }
.fact span { color: var(--muted); font-size: 14px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery a {
  position: relative;
  min-height: 185px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--green-light);
}
.gallery a::after {
  content: "Vergrößern";
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(8, 35, 22, .82);
  color: white;
  font-size: 12px;
  opacity: 0;
  transition: opacity .2s ease;
}
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; }
.gallery img {
  width: 100%;
  height: 100%;
  min-height: 185px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .25s ease;
}
.gallery a:hover img { transform: scale(1.025); }
.gallery.featured { grid-template-columns: 1.6fr 1fr 1fr; }
.gallery.featured a:first-child { grid-row: span 2; }
.gallery.featured a:first-child img { aspect-ratio: auto; }

.machine {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 42px rgba(17, 57, 35, .07);
}
.machine + .machine { margin-top: 42px; }
.machine-head {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 38px;
  align-items: center;
}
.machine-head img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  border-radius: 10px;
}
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
  padding: 0;
  list-style: none;
}
.specs li { padding-block: 6px; border-bottom: 1px solid var(--line); }
.machine .gallery { margin-top: 28px; }
.notice {
  padding: 18px 20px;
  border-left: 5px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: var(--gold-soft);
}
.availability {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #725300;
  font-size: 13px;
  font-weight: 800;
}

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; }
.contact-lines a {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-weight: 750;
}
label { display: block; margin-bottom: 18px; font-weight: 700; }
input, textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px;
  border: 1px solid #aeb9b1;
  border-radius: 6px;
  background: white;
  color: var(--ink);
}
input:focus, textarea:focus { outline: 3px solid rgba(243,191,36,.45); border-color: var(--green); }
textarea { min-height: 165px; resize: vertical; }
.form-note { color: var(--muted); font-size: 14px; }
.form-status { min-height: 26px; font-weight: 700; }
.form-status.ok { color: var(--green); }
.form-status.error { color: var(--danger); }
.trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.legal-page h1 { color: var(--green-dark); }
.legal-page h2 { margin-top: 46px; font-size: 30px; }
.legal-page h3 { margin-top: 30px; font-size: 22px; }
.legal-page li { margin-bottom: 7px; }
.legal-page a { color: var(--green); }
.draft-note {
  margin-bottom: 36px;
  padding: 18px 20px;
  border: 2px solid var(--gold);
  border-radius: 10px;
  background: var(--gold-soft);
}
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.footer { padding-block: 50px 28px; background: var(--green-dark); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr .7fr; gap: 40px; }
.footer h3 { font-size: 20px; }
.footer p { color: rgba(255,255,255,.72); }
.footer a {
  display: block;
  margin-bottom: 7px;
  color: rgba(255,255,255,.82);
  text-decoration: none;
}
.footer a:hover { color: white; text-decoration: underline; }
.footer .brand { margin-bottom: 14px; }
.footer .brand small { color: rgba(255,255,255,.62); }
.legal {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.62);
  font-size: 13px;
}
.preview-state { color: var(--gold); }

.lightbox {
  width: min(1160px, calc(100% - 30px));
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #07170f;
  color: white;
}
.lightbox::backdrop { background: rgba(3, 13, 8, .9); }
.lightbox img {
  width: 100%;
  height: min(82vh, 900px);
  object-fit: contain;
}
.lightbox button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50%;
  background: rgba(0,0,0,.7);
  color: white;
  font-size: 25px;
  cursor: pointer;
}
.lightbox p { margin: 0; padding: 10px 16px; }

@media (max-width: 980px) {
  .menu { display: block; }
  .navlinks {
    display: none;
    position: absolute;
    top: 86px;
    right: 0;
    left: 0;
    padding: 20px max(20px, calc((100vw - 1160px) / 2));
    border-top: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }
  .navlinks.open { display: grid; }
  .navlinks a { padding: 9px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .contact-grid, .machine-head { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .topbar .wrap { justify-content: center; gap: 14px; font-size: 12px; }
  .topbar .email { display: none; }
  .brand strong { font-size: 18px; }
  .brand small { font-size: 9px; }
  .hero { min-height: 550px; }
  .hero.compact { min-height: 450px; }
  .hero-copy, .section { padding-block: 64px; }
  .grid-4, .facts, .footer-grid { grid-template-columns: 1fr; }
  .gallery, .gallery.featured { grid-template-columns: 1fr 1fr; }
  .gallery.featured a:first-child { grid-row: auto; grid-column: span 2; }
  .machine { padding: 20px; }
  .machine-head img { height: 300px; }
  .specs { grid-template-columns: 1fr; }
  .legal { display: block; }
}

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