:root {
  --green: #4c6505;
  --green-dark: #263805;
  --green-soft: #77911f;
  --purple: #76257d;
  --purple-dark: #57195e;
  --cream: #fffaf0;
  --paper: #f5eddd;
  --ink: #24300e;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(33, 47, 6, 0.18);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--purple);
  border-radius: 0 0 .5rem .5rem;
}

.skip-link:focus { top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3.5rem);
  min-height: 92px;
  padding: .7rem clamp(1.2rem, 4vw, 4.5rem);
  background: rgba(252, 237, 174, .5);
  box-shadow: 0 8px 30px rgba(38, 56, 5, .09);
  backdrop-filter: blur(6px);
}

.brand { width: min(100%, 270px); }
.brand img { width: 100%; height: auto; }

.desktop-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(1.2rem, 2.4vw, 2.4rem);
}

.desktop-nav a {
  position: relative;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -.4rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after { transform: scaleX(1); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .72rem 1rem;
  color: var(--white);
  background: var(--purple);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}

.header-phone:hover { background: var(--purple-dark); transform: translateY(-2px); }
.header-phone svg { width: 1.15rem; fill: currentColor; }

.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
 /* min-height: min(760px, calc(100vh - 0px));*/
	 min-height: 100vh;
  padding: clamp(3rem, 6vw, 4rem) clamp(1.25rem, 6vw, 4rem);
  overflow: hidden;
  isolation: isolate;
  background: url("pflanzenberatung-gartenpflege-werneuchen.webp") center center / cover no-repeat;
}

.hero-logo {
  position: absolute;
  top: clamp(1.75rem, 3vw, 4rem);
  left: 50%;
  width: clamp(310px, 40vw, 550px);
  transform: translateX(-50%);
	
}
.hero-logo img { width: 100%; height: auto; }


.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(0deg, rgba(20, 32, 2, .42), transparent 44%);
}

.hero-copy {
  width: min(100%, 400px);
  margin-left: auto;
  padding: clamp(1.1rem, 3vw, 2rem);
  color: var(--white);
  background: linear-gradient(140deg, rgba(38, 56, 5, .88), rgba(76, 101, 5, .05));
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 2px 38px 2px 38px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(3px);
}

.eyebrow {
  margin: 0 0 .85rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-copy h1 {
   margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 2.75vw, 2.55rem);
  font-weight: 500;
  letter-spacing: 0em;
  line-height: .96;
}

.hero-lead {
  max-width: 34rem;
  margin: .7rem 0 2rem;
  font-size: clamp(1.18rem, 2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.38;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 50px;
  padding: .78rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.primary-button {
  color: var(--purple-dark);
  background: var(--white);
  box-shadow: 0 10px 25px rgba(25, 28, 5, .22);
}

.primary-button:hover,
.secondary-button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(25, 28, 5, .28); }
.primary-button svg, .text-link svg { width: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.4; }

.hero-contact {
  position: absolute;
  top: 40%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  filter: drop-shadow(0 8px 20px rgba(20, 20, 0, .2));
	box-shadow: 0 0 10px 10px rgba(20, 20, 0, .2);
}

.hero-contact a { text-decoration: none; }
.hero-contact__phone {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem 1.05rem;
  color: var(--white);
  background: var(--purple);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 700;
width: 100%;
}
.hero-contact__phone svg { width: 1.8rem; fill: currentColor; }
.hero-contact__mail {
  padding: .45rem .85rem;
  color: var(--white);
  background: var(--green-dark);
  font-size: 1rem;
  font-weight: 700;
	width: 100%;
}

.scroll-hint {
  position: absolute;
  bottom: 1.4rem;
  left: clamp(1.2rem, 4vw, 4.5rem);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.scroll-hint svg { width: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; }

.services {
  position: relative;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.2rem, 5vw, 5.5rem) clamp(4.5rem, 8vw, 7rem);
  color: var(--white);
  background:
    radial-gradient(circle at 10% 10%, rgba(144, 171, 50, .24), transparent 30%),
    linear-gradient(145deg, var(--green), #3b5103 66%, var(--green-dark));
}

.section-intro {
  width: min(100%, 720px);
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.section-intro h2,
.about-content h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4vw, 4.3rem);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.05;
}

.section-intro > p:last-child {
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, .8);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.4vw, 2.3rem);
  width: min(100%, 1320px);
  margin: 0 auto;
}

.service-card {
  overflow: hidden;
  color: var(--ink);
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: 0 24px 58px rgba(24, 35, 3, .27);
  transition: transform .28s ease, box-shadow .28s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 68px rgba(24, 35, 3, .34);
}

.service-image { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.service-card:hover .service-image img { transform: scale(1.035); }

.service-number {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  background: rgba(118, 37, 125, .92);
  border-radius: 50%;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(30, 10, 30, .24);
}

.service-content { padding: clamp(1.4rem, 2.8vw, 2.25rem); }
.service-content h3 {
  margin: 0 0 .75rem;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 2.8vw, 2.65rem);
  font-weight: 600;
  line-height: 1;
}
.service-content p { margin: 0; }

.section-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  margin: clamp(2.7rem, 5vw, 4.4rem) auto 0;
  text-align: center;
  flex-wrap: wrap;
}
.section-cta p { margin: 0; font-size: 1.05rem; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 900; text-underline-offset: .28rem; }

.about {
  position: relative;
  display: grid;
  min-height: 720px;
  place-items: center;
  padding: clamp(5rem, 10vw, 9rem) 1.2rem;
  color: var(--white);
  isolation: isolate;
  background: url("pflanzenwissen-pflanzenanalyse-beratung.webp") center / cover no-repeat;
}

.about-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 18, 15, .5), rgba(7, 18, 15, .81) 46%, rgba(7, 18, 15, .55));
}

.about-content {
  width: min(100%, 700px);
  padding: clamp(2rem, 5vw, 4.5rem);
  text-align: center;
  background: rgba(12, 27, 23, .72);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 3px 42px 3px 42px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(7px);
}

.about-mark {
  width: 128px;
  height: auto;
  margin: 0 auto 1.2rem;
  object-fit: contain;
}
.about-content h2 { margin-bottom: 1.25rem; }
.about-content p { margin: 0 auto 1rem; font-size: 1.06rem; }
.secondary-button { margin-top: 1rem; color: var(--white); background: var(--purple); }

.site-footer {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.2rem, 5vw, 5.5rem) 1.4rem;
  color: var(--white);
  background: linear-gradient(140deg, var(--purple), var(--purple-dark));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.25fr;
  gap: 2.5rem;
  width: min(100%, 1200px);
  margin: 0 auto;
}

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand img { width: 110px; height: 42px; object-fit: contain; object-position: left center; margin-bottom: .8rem; }
.footer-brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; }
.footer-brand span { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }

address, .footer-contact { display: flex; flex-direction: column; font-style: normal; }
address strong { margin-bottom: .35rem; }
.footer-contact a { width: fit-content; font-weight: 700; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: .25rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 1200px);
  margin: 3rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .75);
  font-size: .82rem;
}

.legal-links { display: flex; gap: 1rem; }
.legal-links a { text-decoration: none; }
.legal-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: .2rem; }

.mobile-contact { display: none; }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: minmax(220px, 310px) 1fr auto; min-height: 82px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; justify-self: end; }
  .mobile-menu summary { display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; border: 1px solid rgba(76,101,5,.3); border-radius: 50%; }
  .mobile-menu summary span { display: block; width: 20px; height: 2px; background: var(--green-dark); }
  .mobile-menu nav {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    display: grid;
    min-width: 210px;
    padding: .6rem;
    background: var(--cream);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .mobile-menu nav a { padding: .75rem .85rem; border-radius: 8px; font-weight: 800; text-decoration: none; }
  .mobile-menu nav a:hover { background: var(--paper); }
  .service-grid { max-width: 760px; grid-template-columns: 1fr; }
  .service-card { display: grid; grid-template-columns: minmax(240px, .9fr) 1.1fr; }
  .service-content { display: flex; flex-direction: column; justify-content: center; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 74px; }
  body { padding-bottom: 64px; }
  .site-header { grid-template-columns: 1fr auto; min-height: 74px; padding: .55rem 1rem; }
  .brand { width: min(68vw, 215px); }
  .header-phone { display: none; }
  .hero {
    
    align-items: flex-end;
    padding: 7.5rem 1rem 7.5rem;
    background-image:
      /*linear-gradient(0deg, rgba(28, 43, 4, .84) 5%, rgba(28, 43, 4, .2) 67%, rgba(28, 43, 4, .08)),*/
      url("pflanzenberatung-gartenpflege-werneuchen.webp");
    background-position: 25% center;
  }
  .hero-copy { margin: 0; padding: 1.5rem; border-radius: 2px 28px 2px 28px; background: rgba(48, 70, 6, .82); }
  
  .hero-contact { display: none}
  .scroll-hint { display: none; }
  .services { padding-inline: 1rem; }
  .service-grid { gap: 1.4rem; }
  .service-card { display: block; }
  .service-content { padding: 1.5rem; }
  .about { min-height: 700px; padding-inline: .8rem; }
  .about-content { padding: 2rem 1.25rem; border-radius: 2px 28px 2px 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
  .mobile-contact {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: var(--white);
    box-shadow: 0 -8px 28px rgba(28, 35, 5, .22);
  }
  .mobile-contact a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 64px; font-weight: 900; text-decoration: none; }
  .mobile-contact a:first-child { background: var(--green); }
  .mobile-contact a:last-child { background: var(--purple); }
  .mobile-contact svg { width: 1.15rem; fill: currentColor; }
}

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

/* Rechtliche Unterseiten */
.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 92% 0%, rgba(119, 145, 31, .16), transparent 30rem),
    var(--cream);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 112px;
  padding: 1rem clamp(1.2rem, 5vw, 5.5rem);
  background: rgba(255, 250, 240, .94);
  border-bottom: 1px solid rgba(76, 101, 5, .14);
}

.legal-logo {
  display: block;
  width: min(56vw, 300px);
}

.legal-logo img {
  width: 100%;
  height: auto;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.legal-back:hover,
.legal-back:focus-visible {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: .3rem;
}

.legal-main {
  width: min(100% - 2rem, 980px);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.legal-intro {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.legal-intro .eyebrow {
  color: var(--purple);
}

.legal-intro h1 {
  margin: 0;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 500;
  line-height: .98;
}

.legal-intro p:last-child {
  max-width: 46rem;
  margin: 1.3rem 0 0;
  color: rgba(36, 48, 14, .78);
  font-size: 1.08rem;
}

.legal-content {
  padding: clamp(1.5rem, 5vw, 4.5rem);
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(76, 101, 5, .14);
  border-radius: 3px 42px 3px 42px;
  box-shadow: 0 24px 70px rgba(38, 56, 5, .11);
}

.legal-content section + section {
  margin-top: 2.7rem;
  padding-top: 2.7rem;
  border-top: 1px solid rgba(76, 101, 5, .16);
}

.legal-content h2 {
  margin: 0 0 .9rem;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 600;
  line-height: 1.15;
}

.legal-content h3 {
  margin: 1.7rem 0 .55rem;
  color: var(--green-dark);
  font-size: 1.08rem;
  line-height: 1.35;
}

.legal-content p,
.legal-content ul {
  margin: .7rem 0 0;
}

.legal-content ul {
  padding-left: 1.3rem;
}

.legal-content li + li {
  margin-top: .35rem;
}

.legal-content a {
  color: var(--purple-dark);
  font-weight: 700;
  text-underline-offset: .2rem;
  overflow-wrap: anywhere;
}

.legal-address {
  display: grid;
  gap: .12rem;
  margin-top: .8rem;
  font-style: normal;
}

.legal-note {
  padding: 1rem 1.15rem;
  background: var(--paper);
  border-left: 4px solid var(--purple);
  border-radius: 0 12px 12px 0;
}

.legal-footer {
  padding: 2rem clamp(1.2rem, 5vw, 5.5rem);
  color: var(--white);
  background: linear-gradient(140deg, var(--purple), var(--purple-dark));
}

.legal-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  width: min(100%, 1200px);
  margin: 0 auto;
}

.legal-footer nav {
  display: flex;
  gap: 1rem;
}

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

.legal-footer a:hover,
.legal-footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .25rem;
}

@media (max-width: 640px) {
  .legal-header {
    min-height: 88px;
    gap: 1rem;
  }

  .legal-logo {
    width: min(58vw, 230px);
  }

  .legal-back span {
    display: none;
  }

  .legal-content {
    padding: 1.5rem 1.1rem;
    border-radius: 2px 28px 2px 28px;
  }

  .legal-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
