:root {
  --green-950: #0d2d16;
  --green-900: #123b1d;
  --green-800: #1d5129;
  --green-700: #2e6a36;
  --lime: #90ad22;
  --lime-light: #b9cf54;
  --cream: #f7f5ef;
  --white: #ffffff;
  --text: #1f2b22;
  --muted: #667168;
  --shadow: 0 16px 42px rgba(13, 45, 22, 0.12);
  --radius: 22px;
}


/* =========================
   GLOBAL
   ========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}


/* =========================
   HEADER / NAVIGATION
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(18, 59, 29, 0.08);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  color: var(--green-900);
}

.brand-mark span {
  color: var(--lime);
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--green-900);
}

.brand-text small {
  color: var(--muted);
  font-size: 0.68rem;
}

.header-logo {
  height: 70px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--lime);
}

.nav-cta {
  background: var(--green-900);
  color: white !important;
  padding: 11px 18px;
  border-radius: 999px;
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--green-900);
}


/* =========================
   HERO
   ========================= */

.hero {
  min-height: 680px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(247, 245, 239, 0.98) 0%,
      rgba(247, 245, 239, 0.91) 40%,
      rgba(247, 245, 239, 0.24) 70%,
      rgba(13, 45, 22, 0.15) 100%
    ),
    url("assets/hero-banner.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(
    90deg,
    var(--lime),
    var(--green-900)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 690px;
  padding: 90px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--lime);
}

.hero .eyebrow {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  transform: translateY(-15px);
}

h1 {
  margin: 0.45rem 0 1rem;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  color: var(--green-950);
}

h1 span {
  color: var(--lime);
}

.hero p {
  max-width: 620px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #465149;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid transparent;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--green-900);
  color: white;
  box-shadow: 0 10px 25px rgba(18, 59, 29, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--green-800);
}

.btn-secondary {
  border-color: var(--green-900);
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.65);
}

.btn-secondary:hover {
  background: white;
  transform: translateY(-2px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
  color: var(--green-900);
  font-weight: 700;
  font-size: 0.93rem;
}

.hero-points span::before {
  content: "✓";
  color: var(--lime);
  margin-right: 7px;
  font-weight: 900;
}


/* =========================
   ALLGEMEINE SECTIONS
   ========================= */

section {
  padding: 90px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  color: var(--green-950);
}

.section-head p {
  margin: 0;
  max-width: 580px;
  color: var(--muted);
}


/* =========================
   CARDS
   ========================= */

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

.card {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(18, 59, 29, 0.06);
}

.icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #eef3d5;
  color: var(--green-900);
  font-size: 1.55rem;
  margin-bottom: 20px;
}

.icon svg {
  width: 30px;
  height: 30px;
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.card h3 {
  margin: 0 0 8px;
  color: var(--green-950);
}

.card p {
  margin: 0;
  color: var(--muted);
}


/* =========================
   SPLIT / PANELS
   ========================= */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: stretch;
}

.panel-dark {
  background: linear-gradient(
    145deg,
    var(--green-950),
    var(--green-800)
  );
  color: white;
  border-radius: 30px;
  padding: 46px;
  box-shadow: var(--shadow);
}

.panel-dark h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.panel-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check-list li::before {
  content: "✓";
  color: var(--lime-light);
  font-weight: 900;
}

.quote-card {
  background: white;
  border-radius: 30px;
  padding: 44px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-card blockquote {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--green-900);
}

.quote-card strong {
  margin-top: 22px;
}


/* =========================
   CTA
   ========================= */

.cta-band {
  padding: 36px 0;
  background: var(--lime);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-inner h2 {
  margin: 0;
  color: var(--green-950);
}

.cta-inner p {
  margin: 0.3rem 0 0;
  color: #304019;
}


/* =========================
   PAGE HERO
   ========================= */

.page-hero {
  padding: 100px 0 70px;
  background: linear-gradient(
    145deg,
    var(--green-950),
    var(--green-800)
  );
  color: white;
}

.page-hero h1 {
  color: white;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
}


/* =========================
   KONTAKT
   ========================= */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: start;
}

.contact-info {
  position: relative;

  background:
    linear-gradient(
      145deg,
      #0d3f1b 0%,
      #124b20 55%,
      #163f20 100%
    );

  color: #ffffff;

  padding: 50px 42px;

  border-radius: 32px;

  overflow: hidden;

  border: 1px solid rgba(185, 207, 84, 0.18);

  box-shadow:
    0 24px 55px rgba(13, 45, 22, 0.22),
    0 0 42px rgba(185, 207, 84, 0.20);
}


/* Helle Lichtkante oben */

.contact-info::before {
  content: "";

  position: absolute;

  top: 0;
  left: 32px;
  right: 32px;

  height: 7px;

  border-radius: 0 0 999px 999px;

  background:
    linear-gradient(
      90deg,
      rgba(185, 207, 84, 0.35),
      #b9cf54,
      rgba(185, 207, 84, 0.35)
    );

  box-shadow:
    0 0 18px rgba(185, 207, 84, 0.55);
}


/* Sehr dezenter Glow oben rechts */

.contact-info::after {
  content: "";

  position: absolute;

  top: -80px;
  right: -80px;

  width: 220px;
  height: 220px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(185, 207, 84, 0.13) 0%,
      rgba(185, 207, 84, 0.04) 45%,
      transparent 72%
    );

  pointer-events: none;
}


/* Überschrift */

.contact-info h2 {
  position: relative;
  z-index: 1;

  color: #ffffff;

  margin-top: 0;

  font-size: 2rem;

  letter-spacing: -0.02em;
}


/* Labels wie Telefon, E-Mail usw. */

.contact-info strong {
  position: relative;
  z-index: 1;

  color: #ffffff;

  font-weight: 800;
}


/* Normaler Text */

.contact-info p {
  position: relative;
  z-index: 1;

  color: rgba(255, 255, 255, 0.90);
}


/* Links */

.contact-info a {
  position: relative;
  z-index: 1;

  color: #ffffff;

  text-decoration-color: rgba(185, 207, 84, 0.85);

  text-decoration-thickness: 2px;

  text-underline-offset: 5px;

  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.contact-info a:hover {
  color: #ffffff;

  text-decoration-color: #b9cf54;
}


/* Einzelne Kontaktzeilen */

.contact-row {
  position: relative;
  z-index: 1;

  padding: 24px 0;

  border-bottom:
    1px solid rgba(185, 207, 84, 0.20);
}

.contact-row:last-child {
  border-bottom: 0;
}


/* Etwas mehr Luft unter der Überschrift */

.contact-info h2 + .contact-row {
  margin-top: 28px;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 620px) {

  .contact-info {
    padding: 38px 28px;

    border-radius: 26px;
  }

  .contact-info::before {
    left: 24px;
    right: 24px;

    height: 6px;
  }

  .contact-info h2 {
    font-size: 1.7rem;
  }

}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 7px;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 750;
  color: var(--green-950);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #ccd5ce;
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  background: #fbfcfa;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(144, 173, 34, 0.2);
  border-color: var(--lime);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.status {
  margin-top: 14px;
  font-weight: 700;
}


/* =========================
   RECHTLICHES
   ========================= */

.legal {
  background: white;
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--shadow);
}

.legal h2 {
  margin-top: 2rem;
  color: var(--green-950);
}

.notice {
  padding: 16px 18px;
  border-left: 4px solid var(--lime);
  background: #f3f6e6;
  border-radius: 10px;
}


/* =========================
   REFERENZEN STARTSEITE
   ========================= */

.references-preview {
  background: #f5f7f1;
  overflow: hidden;
}

.reference-marquee {
  width: 100%;
  overflow: hidden;
  padding: 14px 0 32px;

  mask-image: linear-gradient(
    to right,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );

  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}

.reference-track {
  display: flex;
  width: max-content;
  animation: references-scroll 42s linear infinite;
  will-change: transform;
}

.reference-group {
  display: flex;
  gap: 22px;
  padding-right: 22px;
}

.reference-marquee:hover .reference-track,
.reference-marquee:focus-within .reference-track {
  animation-play-state: paused;
}

.reference-slide {
  position: relative;
  flex: 0 0 min(390px, 82vw);
  width: min(390px, 82vw);
  height: 470px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(20, 45, 25, 0.14);
  background: #183f22;
  text-decoration: none;
  transform: translateZ(0);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

@keyframes references-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.reference-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.reference-slide::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(
    transparent,
    rgba(5, 24, 10, 0.92)
  );
}

.reference-slide span {
  position: absolute;
  z-index: 2;
  left: 25px;
  right: 25px;
  bottom: 24px;
  color: #fff;
  display: grid;
  gap: 7px;
}

.reference-slide strong {
  font-size: 1.35rem;
}

.reference-slide small {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e7eee6;
}

.reference-slide:hover img,
.reference-slide:focus-visible img {
  transform: scale(1.09);
  filter: saturate(1.08);
}

.reference-slide:hover,
.reference-slide:focus-visible {
  transform: scale(1.035);
  box-shadow: 0 24px 58px rgba(20, 45, 25, 0.23);
  z-index: 3;
}

.reference-more {
  margin-top: 10px;
  text-align: center;
}


/* =========================
   REFERENZEN SEITE
   ========================= */

.reference-project {
  scroll-margin-top: 110px;
  padding: 70px 0;
  border-bottom: 1px solid #dfe5dc;
}

.reference-project:last-child {
  border-bottom: 0;
}

.reference-copy {
  max-width: 780px;
  margin-bottom: 30px;
}

.reference-copy h2 {
  margin: 0.35rem 0 1rem;
}


/* =========================
   STANDARD REFERENZ-GALERIE
   3 sichtbare Bilder
   ========================= */

.reference-gallery {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: repeat(2, 310px);
  gap: 18px;
}

.reference-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.reference-gallery img:first-child {
  grid-row: 1 / 3;
}

.reference-gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 18px 42px rgba(20, 45, 25, 0.2);
  position: relative;
  z-index: 2;
}


/* =========================
   REFERENZ 2
   2 gleich grosse Bilder
   ========================= */

.reference-gallery-2 {
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: none !important;
}

.reference-gallery-2 img,
.reference-gallery-2 img:first-child {
  height: 520px !important;
  grid-row: auto !important;
  grid-column: auto !important;
}


/* =========================
   VERSTECKTE GALERIEBILDER
   ========================= */

.gallery-hidden-images {
  display: none !important;
}


/* =========================
   REFERENZ LIGHTBOX
   ========================= */

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px 85px;
  background: rgba(7, 15, 9, 0.96);
  backdrop-filter: blur(7px);
}

.project-lightbox.active {
  display: flex;
}

.project-lightbox-content {
  width: min(1100px, 100%);
  height: min(850px, 92vh);
  display: flex;
  flex-direction: column;
  gap: 14px;
}


/* =========================
   LIGHTBOX GROSSES BILD
   ========================= */

.project-lightbox-main {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-lightbox-main img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}


/* =========================
   LIGHTBOX ZÄHLER
   ========================= */

.project-lightbox-counter {
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}


/* =========================
   LIGHTBOX THUMBNAILS
   ========================= */

.project-lightbox-thumbnails {
  display: flex;
  gap: 10px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 5px 5px 10px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.project-lightbox-thumb {
  flex: 0 0 auto;
  width: 105px;
  height: 72px;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 10px;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  transition:
    opacity 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.project-lightbox-thumb:hover {
  opacity: 0.9;
}

.project-lightbox-thumb.active {
  opacity: 1;
  border-color: var(--lime);
  transform: translateY(-2px);
}

.project-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* =========================
   LIGHTBOX SCHLIESSEN
   ========================= */

.project-lightbox-close {
  position: absolute;
  top: 18px;
  right: 26px;
  z-index: 5;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.project-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.17);
  transform: scale(1.05);
}


/* =========================
   LIGHTBOX PFEILE
   ========================= */

.project-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  color: white;
  font-size: 30px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.project-lightbox-arrow:hover {
  background: var(--green-700);
  transform:
    translateY(-50%)
    scale(1.06);
}

.project-lightbox-prev {
  left: 20px;
}

.project-lightbox-next {
  right: 20px;
}


/* =========================
   FOOTER
   ========================= */

.site-footer {
  background: var(--green-950);
  color: white;
  padding: 54px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--lime-light);
}

.footer-grid > div {
  padding-top: 0;
}

.footer-logo {
  display: block;
  height: 70px;
  width: auto;
  margin: 0 0 18px 0;
}

.footer-grid strong {
  display: block;
  line-height: 42px;
  margin: 0 0 18px 0;
}

.footer-grid > div:not(:first-child) p {
  margin-top: 0;
}

.footer-grid > div:first-child {
  transform: translateY(-20px);
}

.footer-grid > div:first-child p {
  margin-top: 10px;
  transform: translateY(-9px);
}

.footer-bottom {
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}


/* =========================
   TEAM / ÜBER UNS
   ========================= */

.team-section {
  padding-top: 90px;
  padding-bottom: 100px;
}

.team-head {
  margin-bottom: 45px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.team-member {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f3ed;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      135deg,
      #f3f5ef 0%,
      #e8ecdf 100%
    );
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.photo-placeholder span {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #8b9183;
}

.team-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.team-content {
  padding: 30px 32px 34px;
}

.team-role {
  display: block;
  margin-bottom: 7px;
  color: #91a82f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.team-content h3 {
  margin: 0 0 15px;
  font-size: 1.65rem;
}

.team-content p {
  margin: 0;
  line-height: 1.7;
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 900px) {

  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    min-height: 620px;
    background-position: 58% center;
  }

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

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

}


/* =========================
   REFERENZEN MOBILE
   ========================= */

@media (max-width: 760px) {

  .reference-slide {
    height: 410px;
    flex-basis: 84vw;
  }

  .reference-project {
    padding: 52px 0;
  }

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

  .reference-gallery img,
  .reference-gallery img:first-child {
    height: 360px;
    grid-row: auto;
    grid-column: auto;
  }

  .reference-gallery-2 {
    grid-template-columns: 1fr !important;
  }

  .reference-gallery-2 img,
  .reference-gallery-2 img:first-child {
    height: 360px !important;
  }


  /* Popup */

  .project-lightbox {
    padding: 65px 12px 15px;
  }

  .project-lightbox-content {
    height: 100%;
  }

  .project-lightbox-main img {
    border-radius: 9px;
  }

  .project-lightbox-arrow {
    width: 44px;
    height: 44px;
    font-size: 23px;
    background: rgba(0, 0, 0, 0.45);
  }

  .project-lightbox-prev {
    left: 7px;
  }

  .project-lightbox-next {
    right: 7px;
  }

  .project-lightbox-close {
    top: 10px;
    right: 12px;
    width: 46px;
    height: 46px;
    font-size: 35px;
  }

  .project-lightbox-thumb {
    width: 82px;
    height: 58px;
  }

}


/* =========================
   TEAM MOBILE
   ========================= */

@media (max-width: 720px) {

  .team-section {
    padding-top: 65px;
    padding-bottom: 70px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .photo-placeholder {
    min-height: 280px;
  }

  .team-content {
    padding: 25px 24px 28px;
  }

  .team-content h3 {
    font-size: 1.45rem;
  }

}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 620px) {

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0;
  }

  .brand-text {
    display: none;
  }

  .hero {
    width: 100%;
    min-height: auto;
    background-position: center;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 65px 24px 75px;
    box-sizing: border-box;
  }

  h1 {
    font-size: 3rem;
    line-height: 0.95;
  }

  section {
    padding: 68px 0;
  }

  .hero p {
    width: 100%;
    max-width: 100%;
    font-size: 1.05rem;
  }

  .actions {
    width: 100%;
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
  }

  .hero-points {
    width: 100%;
    gap: 10px 18px;
  }

  .split,
  .contact-grid,
  .cards,
  .form-grid,
  .footer-grid {
    width: 100%;
    grid-template-columns: 1fr !important;
  }

  .panel-dark,
  .quote-card {
    width: 100%;
    max-width: 100%;
    padding: 28px 24px;
  }

  .panel-dark h2 {
    font-size: 2.3rem;
  }

  .quote-card blockquote {
    font-size: 1.15rem;
  }

  .section-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-group.full {
    grid-column: auto;
  }

  .panel-dark,
  .quote-card,
  .legal,
  .contact-form {
    padding: 28px;
  }

  .footer-grid > div:first-child {
    transform: none;
  }

  .footer-grid > div:first-child p {
    transform: none;
  }

}


/* =========================
   KLEINE HANDYS
   ========================= */

@media (max-width: 600px) {

  .lightbox {
    padding: 16px;
  }

}


/* =========================
   REDUZIERTE BEWEGUNG
   ========================= */

@media (prefers-reduced-motion: reduce) {

  .reference-track {
    animation: none;
  }

  .reference-marquee {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }

}/* =========================
   LEISTUNGEN DETAILSEITE
   ========================= */

.services-intro {
  padding-bottom: 35px;
}

.service-detail {
  padding: 70px 0;
}

.service-detail-alt {
  background: rgba(255, 255, 255, 0.45);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 45px;
  align-items: start;
}

.service-number {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(144, 173, 34, 0.25);
}

.service-detail-content {
  max-width: 850px;
}

.service-detail-content h2 {
  margin: 0.4rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--green-950);
}

.service-detail-content p {
  color: var(--muted);
  max-width: 760px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 25px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.service-list li {
  position: relative;
  padding-left: 24px;
  font-weight: 650;
  color: var(--green-900);
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 900;
}


@media (max-width: 760px) {

  .service-detail {
    padding: 50px 0;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-number {
    font-size: 3rem;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

}/* =========================
   LEISTUNGSKARTEN KLICKBAR
   ========================= */

.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card-link:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 48px rgba(13, 45, 22, 0.16);

  border-color:
    rgba(144, 173, 34, 0.35);
}

.service-card-link:hover h3 {
  color: var(--green-800);
/* =========================
   LEISTUNGS-ICONS – FINAL
   ========================= */

.icon {
  width: 56px;
  height: 56px;

  display: grid;
  place-items: center;

  border-radius: 16px;

  background: #eef3d5;

  margin-bottom: 20px;

  overflow: hidden;
}

.icon img.service-icon-image {
  display: block;
  object-fit: contain;
}

/* Einzelne Grössen fein abgestimmt */

.icon img.maler-icon {
  width: 34px;
  height: 34px;
}

.icon img.gipser-icon {
  width: 40px;
  height: 40px;
}

.icon img.tapezier-icon {
  width: 36px;
  height: 36px;
}

.icon img.innen-aussen-icon {
  width: 32px;
  height: 32px;
}

.icon img.fenster-icon {
  width: 32px;
  height: 32px;
}

.icon img.mieterwechsel-icon {
  width: 34px;
  height: 34px;
}