:root {
  --bg: #f5f6f5;
  --surface: #ffffff;
  --surface-soft: #f0f4f3;
  --line: #dde4e0;
  --line-strong: #c9d4ce;
  --text: #1f2924;
  --muted: #65736c;
  --primary: #34584b;
  --accent: #8eadb2;
  --contrast: #f3b24d;
  --max: 1140px;
  --radius-lg: 18px;
  --radius: 10px;
  --shadow-soft: 0 16px 36px rgba(30, 52, 44, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 480px at 100% -15%, #e0ece8 0%, transparent 58%),
    radial-gradient(900px 380px at 0% 8%, #edf1ec 0%, transparent 54%),
    var(--bg);
  line-height: 1.65;
}

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 212, 206, 0.45);
}

.header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand-wording {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.55rem;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.005em;
}

.brand-claim {
  font-size: 1.02rem;
  color: #234237;
  font-weight: 500;
}


.site-nav {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 1.3rem;
}

.site-nav a {
  color: #2f3b35;
  text-decoration: none;
  padding: 0.15rem 0;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: #1e2a24;
  border-bottom-color: #7f9a8e;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 8px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #2e342d;
}

main {
  padding-bottom: 3rem;
}

.hero {
  padding: 2rem 0 1.8rem;
}

.hero-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 560px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: #dce7e6;
}

.hero-deco {
  position: absolute;
  top: 48px;
  left: 46px;
  width: 78px;
  height: 78px;
  background-image: radial-gradient(#8da79a 2px, transparent 2px);
  background-size: 13px 13px;
  opacity: 0.62;
  z-index: 2;
}

.hero-visual {
  position: absolute;
  inset: 0;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 28, 25, 0.06) 0%, rgba(19, 28, 25, 0.26) 100%);
}

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

.hero-copy {
  position: relative;
  z-index: 3;
  margin: 92px 0 0 62px;
  width: min(470px, calc(100% - 2rem));
  padding: 2rem 2rem 1.7rem;
  background: rgba(245, 250, 248, 0.78);
  border: 1px solid rgba(211, 225, 219, 0.85);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 36px rgba(30, 52, 44, 0.12);
}

.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: #527366;
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  margin: 0 0 0.72rem;
  line-height: 1.22;
  color: #16211c;
  letter-spacing: 0.003em;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  max-width: 14ch;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.14rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.002em;
  color: #213029;
}

h3 {
  font-size: 1.3rem;
  font-weight: 650;
}

p,
li {
  color: #4f5f57;
}

.hero p {
  max-width: 48ch;
}

.hero-actions {
  margin-top: 1.1rem;
  display: flex;
  gap: 0.62rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-family: inherit;
  font-weight: 600;
  border: 1px solid var(--line-strong);
  padding: 0.68rem 1rem;
  border-radius: 8px;
  color: #2a3029;
  background: #fff;
}

.btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn.primary:hover {
  background: #2a493d;
}

.btn.ghost:hover {
  background: #eef4f2;
}

.section {
  padding: 1.3rem 0 0.9rem;
}

.section-head {
  margin-bottom: 0.85rem;
}

.cards-3,
.list-grid,
.contact-grid,
.about-layout {
  display: grid;
  gap: 1rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.list-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-layout {
  grid-template-columns: minmax(260px, 34%) 1fr;
}

.about-text {
  line-height: 1.45;
}

.about-text h2 {
  margin-bottom: 0.4rem;
}

.about-text p {
  margin: 0.22rem 0 0.34rem;
}

.impressum-page {
  padding-top: 0.2rem;
}

.impressum-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(40, 58, 50, 0.05);
  padding: 1rem 1.05rem;
  margin-bottom: 0.9rem;
}

.impressum-card p {
  margin: 0.34rem 0;
}

.leistungen-page .page-intro {
  border-bottom-color: #c4d5cc;
}

.leistungen-grid article {
  border: 1px solid #b9cec1;
  background: linear-gradient(180deg, #f8fcf9 0%, #f2f8f4 100%);
  box-shadow: 0 8px 22px rgba(52, 88, 75, 0.08);
}

.leistungen-grid article h2 {
  color: #2c4f42;
}

.leistungen-grid article ul li::marker {
  color: #4e7566;
}

.monat-news {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0.2rem 0 1rem;
  padding: 0.78rem 1rem;
  border: 1px solid #b8c8be;
  border-radius: 10px;
  background: #aabaae;
  overflow: hidden;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(62, 88, 74, 0.16);
}

.monat-news::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--monat-news-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.82;
  z-index: -2;
}

.monat-news::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(44, 67, 56, 0.44);
  z-index: -1;
}

.monat-news-content {
  min-width: 0;
}

.monat-news-label {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  animation: news-blink 1.6s ease-in-out 3;
  animation-fill-mode: forwards;
}

.monat-news-text {
  margin: 0.18rem 0 0;
  font-size: 1.08rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.monat-news-link {
  margin-left: auto;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.monat-news-link:hover,
.monat-news-link:focus-visible {
  background: rgba(255, 255, 255, 0.34);
}

@keyframes news-blink {
  0% { opacity: 1; }
  45% { opacity: 0.38; }
  100% { opacity: 1; }
}

.cards-3 article,
.list-grid article,
.contact-card,
.contact-form,
.text-block,
.about-photo {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem;
  box-shadow: 0 8px 24px rgba(40, 58, 50, 0.05);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 206px;
  padding: 0.95rem 1rem 0.9rem;
}

.service-card p {
  max-width: calc(100% - 112px);
  margin-bottom: 0;
}

.service-icon {
  position: absolute;
  right: 10px;
  bottom: 6px;
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
  filter: grayscale(1);
  object-fit: contain;
}

.service-icon-mower {
  width: 82px;
}

.service-icon-trimmer {
  width: 88px;
  right: 11px;
}

.service-icon-trowel {
  width: 72px;
  right: 14px;
}

.page-intro {
  padding: 2rem 0 1.05rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.1rem;
}

.page-intro h1 {
  font-size: clamp(1.4rem, 2.3vw, 1.95rem);
  font-weight: 650;
  max-width: none;
}

.page-intro.narrow {
  max-width: 72ch;
}

.page-intro.agb-intro h1 {
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
}

.list-grid ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  min-height: 220px;
  background: #dfe6dc;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease;
}

.gallery-item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(13, 16, 13, 0.82));
  color: #f3f4f1;
  padding: 0.55rem 0.65rem;
  font-size: 0.9rem;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-link {
  margin-top: 0.8rem;
}

.lightbox-source-hidden {
  display: none !important;
}

a {
  color: #48655a;
}

.about-photo {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  display: block;
}

.contact-form {
  display: grid;
  gap: 0.4rem;
}

.contact-icon-stack {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 0.45rem;
}

.contact-icon-link {
  display: inline-block;
  line-height: 0;
  width: 48px;
  height: 48px;
}

.contact-icon-link img {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  object-fit: cover;
  border: 1px solid #c9d4ce;
  border-radius: 7px;
  display: block;
}

.form-notice {
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.form-notice.success {
  background: #eaf3ea;
  border: 1px solid #b8d0b8;
  color: #2f5234;
}

.form-notice.error {
  background: #f9ecec;
  border: 1px solid #e2bcbc;
  color: #7f2f2f;
}

.form-notice p {
  margin: 0.15rem 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.3rem;
  font-size: 0.93rem;
  line-height: 1.45;
  color: #425048;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
}

.checkbox-line label {
  font-weight: 400;
  color: #425048;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(18, 24, 21, 0.55);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal-card {
  width: min(860px, 100%);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(22, 36, 31, 0.2);
  padding: 1rem 1rem 1.2rem;
  position: relative;
}

.modal-card h2 {
  margin-right: 2.2rem;
}

.modal-card h3 {
  margin: 0.9rem 0 0.35rem;
  font-size: 1.02rem;
  color: #244035;
}

.modal-card p {
  margin: 0.25rem 0 0.55rem;
}

.modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  border: 1px solid var(--line);
  background: #f7faf8;
  color: #2e3a35;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.modal-fallback {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  color: #5d6963;
}

label {
  color: #2b302a;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  font: inherit;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.62rem 0.68rem;
  background: #fff;
  color: #232823;
}

input:focus,
textarea:focus {
  outline: 2px solid #d6dfd1;
  outline-offset: 0;
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid #d4dbd7;
  background: linear-gradient(180deg, #f1f3f2 0%, #e9edeb 100%);
  margin-top: 2.3rem;
}

.footer-grid {
  display: block;
  padding: 1.1rem 0 0.9rem;
  position: relative;
  z-index: 2;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #73817b;
  text-decoration: none;
  padding: 0.1rem 0;
  font-weight: 400;
  font-size: 0.88rem;
  letter-spacing: 0.002em;
}

.footer-links a:hover {
  color: #54645e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  border-top: 1px solid #d4dbd7;
  padding: 0.72rem 0 0.9rem;
  color: #707c76;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.footer-quote-inline {
  color: #42534d;
  font-size: 1.04em;
}

.footer-sep {
  color: #99a6a0;
}

.footer-dot-grid {
  position: absolute;
  top: 10px;
  right: 22px;
  width: 92px;
  height: 92px;
  opacity: 0.45;
  background-image: radial-gradient(#8fa39a 1.55px, transparent 1.55px);
  background-size: 12px 12px;
  z-index: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: rgba(9, 11, 9, 0.9);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox figure {
  margin: 0;
  width: min(1080px, 100%);
  text-align: center;
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.lightbox figcaption {
  margin-top: 0.74rem;
  color: #d2d8d2;
}

.lightbox button {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(15, 18, 15, 0.7);
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

@media (max-width: 980px) {
  .cards-3,
  .list-grid,
  .contact-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-stage {
    min-height: 540px;
  }

  .hero-copy {
    margin: 72px auto 0;
    width: min(520px, calc(100% - 2rem));
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(var(--max), calc(100% - 1.2rem));
  }

  .header-inner {
    min-height: 74px;
    grid-template-columns: auto auto;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .brand-claim {
    font-size: 0.88rem;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0.6rem;
    right: 0.6rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.42rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

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

  .site-nav a {
    border-radius: 8px;
  }

  .hero {
    padding-top: 1.2rem;
  }

  .hero-stage {
    min-height: 560px;
  }

  .hero-deco {
    top: 22px;
    left: 22px;
    transform: scale(0.82);
  }

  .hero-copy {
    margin: 78px auto 0;
    padding: 1.2rem 1rem 1rem;
    width: calc(100% - 1.2rem);
  }

  .hero-copy h1 {
    font-size: clamp(1.5rem, 7.4vw, 2rem);
  }

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

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

  .monat-news {
    flex-wrap: wrap;
  }

  .monat-news-link {
    margin-left: 0;
  }

  .lightbox button {
    width: 36px;
    height: 36px;
  }
}
