/* Garten- & Baumpflege Purfürst – Platzhalterseite
   Farben aus dem Logo übernommen. Keine externen Ressourcen. */

:root {
  --bg: #0a0b0b;
  --ink: #f7f7f5;
  --muted: #9aa196;
  --green: #91b62d;
  --green-soft: #a8d13a;
  --line: rgba(247, 247, 245, .12);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

a { color: var(--green); }
a:hover { color: var(--green-soft); }

/* ---------- Startseite: Hero ---------- */

.hero {
  flex: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 34px 24px 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 10px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  width: min(330px, 78vw);
  height: auto;
  display: block;
}

h1 {
  margin: 20px 0 0;
  font-size: clamp(1.35rem, 4.6vw, 2.05rem);
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.25;
}

.lead {
  margin: 14px 0 0;
  max-width: 33rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.6vw, 1.075rem);
  text-wrap: balance;
}

/* Kontakt */

.contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.action {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 12px 22px 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.action:hover,
.action:focus-visible {
  border-color: var(--green);
  background: rgba(145, 182, 45, .09);
  color: var(--ink);
  transform: translateY(-1px);
}

.action .icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
}

.action .icon svg { width: 15px; height: 15px; fill: #0a0b0b; display: block; }

.place {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: .875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Illustration */

.hero-art {
  width: 100%;
  display: flex;
  justify-content: center;
}

.scene {
  width: min(290px, 80vw);
  height: auto;
  display: block;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, .84fr);
    justify-items: stretch;
    gap: 60px;
    padding: 30px 40px 20px;
  }
  .hero-copy { align-items: flex-start; text-align: left; }
  .contact { justify-content: flex-start; }
  .hero-art { justify-content: flex-end; }
  .scene { width: 100%; max-width: 440px; }
}

/* Bewegung: der Wind – Krone wiegt sich, geschnittene Blätter fallen */

@media (prefers-reduced-motion: no-preference) {
  .scene .crown {
    transform-box: view-box;
    transform-origin: 234px 290px;
    animation: sway 9s ease-in-out infinite alternate;
  }
  .scene .fall path {
    transform-box: fill-box;
    transform-origin: center;
    animation: fall 7s ease-in infinite;
  }
  .scene .fall path:nth-child(2) { animation-duration: 8.4s; animation-delay: 2.6s; }
  .scene .fall path:nth-child(3) { animation-duration: 6.2s; animation-delay: 4.8s; }
}

@keyframes sway {
  from { transform: rotate(-.8deg); }
  to   { transform: rotate(.8deg); }
}

@keyframes fall {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  72%  { opacity: 1; }
  100% { transform: translate(-16px, 82px) rotate(42deg); opacity: 0; }
}

/* ---------- Fußzeile ---------- */

.site-footer {
  padding: 20px 24px 26px;
  text-align: center;
  font-size: .875rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 2px;
}

.site-footer a:hover,
.site-footer a:focus-visible { color: var(--green); text-decoration: underline; }

.site-footer .sep { opacity: .45; margin: 0 10px; }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */

.page {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 34px 24px 8px;
}

.page-head {
  display: block;
  margin-bottom: 34px;
}

.page-head img {
  width: 150px;
  height: auto;
  display: block;
}

.page h1 {
  margin: 0 0 26px;
  font-size: clamp(1.5rem, 5vw, 2rem);
  letter-spacing: .05em;
}

.page h2 {
  margin: 34px 0 8px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.page h3 {
  margin: 22px 0 4px;
  font-size: 1rem;
  font-weight: 600;
}

.page h4 {
  margin: 18px 0 4px;
  font-size: .9375rem;
  font-weight: 600;
  color: #c8cfc0;
}

.page p { margin: 0 0 14px; }
.page ul { margin: 0 0 14px; padding-left: 20px; }
.page li { margin-bottom: 6px; }

.page .address { font-style: normal; }

.page .note {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
