:root {
  --bg: #f5f2ea;
  --surface: #ffffff;
  --surface-soft: #ebe7dc;
  --ink: #171914;
  --muted: #61655c;
  --line: rgba(23, 25, 20, 0.14);
  --green: #78933c;
  --green-dark: #4d6225;
  --lime: #c6e85b;
  --orange: #f48c45;
  --shadow: 0 24px 70px rgba(14, 18, 10, 0.12);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 40px), var(--max));
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
  letter-spacing: 0;
  font-size: 1.05rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 650;
}

nav a {
  text-decoration: none;
}

.nav-contact {
  padding: 10px 17px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #12140f;
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 14, 10, 0.32), rgba(11, 14, 10, 0.05)),
    url("bilder/Vl1b5r6JVL.jpg") center 45% / cover no-repeat;
  transform: scale(1.015);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 7, 0.45) 0%, rgba(8, 10, 7, 0.08) 36%, rgba(8, 10, 7, 0.88) 100%),
    radial-gradient(circle at 77% 52%, rgba(198, 232, 91, 0.17), transparent 30%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 170px 0 68px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-dark .eyebrow,
.contact .eyebrow {
  color: var(--lime);
}

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

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  font-weight: 900;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.052em;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.2;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.07rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--lime);
}

.button-primary:hover {
  background: #d8f579;
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero-note {
  width: fit-content;
  max-width: 720px;
  margin: 25px 0 0;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(10, 13, 9, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 13px;
  backdrop-filter: blur(8px);
  font-size: 0.94rem;
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 115px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.48fr 1.52fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 62px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: start;
}

.intro-text {
  max-width: 720px;
  color: var(--muted);
}

.intro-text .large {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.38;
  font-weight: 720;
}

.status-card {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.status-dot {
  position: absolute;
  top: 34px;
  right: 34px;
  width: 12px;
  height: 12px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(198, 232, 91, 0.2);
}

.status-label {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-card ul {
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.section-dark {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  color: #fff;
  background: var(--ink);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.benefit-grid article {
  min-height: 300px;
  padding: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.benefit-grid h3 {
  margin-top: 55px;
}

.benefit-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.number {
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.model-card {
  padding: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.model-card-accent {
  color: #fff;
  background: var(--green-dark);
}

.model-tag {
  width: fit-content;
  margin-bottom: 30px;
  padding: 7px 12px;
  color: var(--green-dark);
  background: rgba(198, 232, 91, 0.36);
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-card-accent .model-tag {
  color: var(--ink);
  background: var(--lime);
}

.model-card > p {
  color: var(--muted);
}

.model-card-accent > p {
  color: rgba(255, 255, 255, 0.75);
}

dl {
  margin: 36px 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.model-card-accent dl div {
  border-color: rgba(255, 255, 255, 0.17);
}

dt {
  color: var(--muted);
}

.model-card-accent dt {
  color: rgba(255, 255, 255, 0.65);
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.price-box {
  padding: 24px;
  background: var(--surface-soft);
  border-radius: 17px;
}

.model-card-accent .price-box {
  color: var(--ink);
  background: var(--lime);
}

.price-box span,
.price-box strong,
.price-box small {
  display: block;
}

.price-box span {
  margin-bottom: 5px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-box strong {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.price-box small {
  color: var(--muted);
  line-height: 1.45;
}

.section-soft {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  background: var(--surface-soft);
}

.gallery-block + .gallery-block {
  margin-top: 82px;
}

.gallery-title {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 24px;
}

.gallery-title h3 {
  margin-bottom: 0;
  font-size: 2rem;
}

.gallery-title p {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--muted);
  text-align: right;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-grid figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(120, 147, 60, 0.16), rgba(244, 140, 69, 0.14)),
    #d7d8cd;
  border-radius: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.035);
}

.madagascar {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 85px;
  align-items: center;
}

.madagascar-copy p:not(.eyebrow) {
  color: var(--muted);
}

.madagascar-copy h2 {
  margin-bottom: 30px;
}

.application-list {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-content: center;
}

.application-list span {
  padding: 13px 17px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 750;
}

.contact {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  color: #fff;
  background:
    radial-gradient(circle at 85% 5%, rgba(198, 232, 91, 0.23), transparent 27%),
    var(--green-dark);
}

.contact-card {
  max-width: 880px;
}

.contact h2 {
  margin-bottom: 26px;
}

.contact-card > p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.contact-actions {
  margin-top: 30px;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 48px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
}

.project-links a {
  color: #fff;
  font-weight: 750;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: center;
  padding: 30px max(20px, calc((100% - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.62);
  background: #10120e;
  font-size: 0.88rem;
}

footer p {
  margin: 0;
}

footer a {
  color: #fff;
}

.brand-footer {
  color: #fff;
}


.gallery-grid figure {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(7, 10, 7, 0.82);
  backdrop-filter: blur(8px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-inner {
  position: relative;
  width: min(94vw, 1400px);
}

.lightbox img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
  background: #0d100c;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(18, 20, 15, 0.92);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}

.lightbox-caption {
  margin-top: 12px;
  color: rgba(255,255,255,0.84);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 74px;
  }

  nav a:not(.nav-contact) {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .section-heading,
  .intro-grid,
  .madagascar {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-heading {
    margin-bottom: 45px;
  }

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

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

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

  footer {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand {
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav-contact {
    padding: 8px 13px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    width: min(calc(100% - 28px), var(--max));
    padding-bottom: 38px;
  }

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

  .section {
    width: min(calc(100% - 28px), var(--max));
    padding: 82px 0;
  }

  .section-dark,
  .section-soft,
  .contact {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.4rem);
  }

  .status-card,
  .model-card {
    padding: 27px;
  }

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

  .benefit-grid article {
    min-height: 230px;
  }

  .benefit-grid h3 {
    margin-top: 30px;
  }

  .gallery-title {
    display: block;
  }

  .gallery-title p {
    margin-top: 8px;
    text-align: left;
  }

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

  .gallery-grid figure {
    border-radius: 12px;
  }

  dl div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
  }

  dd {
    text-align: left;
  }

  .project-links {
    display: grid;
  }

  footer {
    padding: 28px 14px;
  }
}
