/* rollrasen.wien – HGP Haus & Gartenservice KG */

:root {
  --green-dark: #2e5526;
  --green: #4c8a3c;
  --green-light: #5f9e4c;
  --soil: #6b4f2e;
  --bg: #fcfdfb;
  --bg-soft: #f1f6ec;
  --ink: #20281c;
  --ink-soft: #4a5544;
  --line: #dde7d6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Signatur: frisch verlegte Rasenbahnen */
.turf-band {
  height: 14px;
  background: repeating-linear-gradient(
    90deg,
    var(--green-dark) 0 90px,
    var(--green) 90px 180px,
    var(--green-light) 180px 270px,
    var(--green) 270px 360px
  );
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green-dark);
  text-decoration: none;
}
.brand span { color: var(--soil); font-weight: 600; }
.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 0;
}
.nav a:hover { color: var(--green-dark); }
.nav-cta {
  background: var(--green-dark);
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 4px;
}
.nav-cta:hover { background: var(--green); }

/* Hero */
.hero {
  background: var(--bg-soft);
  padding: 56px 0 48px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--green-dark);
  max-width: 22ch;
}
.hero p {
  margin-top: 16px;
  max-width: 58ch;
  font-size: 1.125rem;
  color: var(--ink-soft);
}
.hero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Inhalt */
main { padding: 48px 0 24px; }
main h1 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--green-dark);
}
main h2 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--green-dark);
  margin: 44px 0 14px;
}
main h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 30px 0 10px;
}
main p { margin-bottom: 16px; }
main ul, main ol { margin: 0 0 16px 22px; }
main li { margin-bottom: 8px; }
main a { color: var(--green-dark); }
main a:hover { color: var(--green); }

/* Karten für Leistungen (Startseite) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 24px 0 8px;
  padding: 0;
  list-style: none;
}
.cards li { margin: 0; }
.card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 6px;
  padding: 20px;
  text-decoration: none;
  color: var(--ink);
  height: 100%;
}
.card:hover { border-top-color: var(--soil); }
.card strong {
  display: block;
  color: var(--green-dark);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.card span { color: var(--ink-soft); font-size: 0.95rem; }

/* CTA-Box */
.cta-box {
  background: var(--bg-soft);
  border-left: 4px solid var(--green-dark);
  border-radius: 0 6px 6px 0;
  padding: 26px;
  margin: 44px 0;
}
.cta-box .cta-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.cta-box p { margin-bottom: 14px; }

.btn {
  display: inline-block;
  background: var(--green-dark);
  color: #fff;
  padding: 13px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}
.btn:hover { background: var(--green); color: #fff; }
.btn-soil { background: var(--soil); }
.btn-soil:hover { background: #5a4226; }

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
}
.contact-card strong { display: block; color: var(--green-dark); margin-bottom: 4px; }

form .field { margin-bottom: 16px; }
form label { display: block; font-weight: 700; margin-bottom: 5px; }
form input, form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  background: #fff;
}
form input:focus, form textarea:focus, a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--green-light);
  outline-offset: 1px;
}
.form-note { font-size: 0.9rem; color: var(--ink-soft); }
.form-ok {
  background: var(--bg-soft);
  border-left: 4px solid var(--green);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.form-error {
  background: #fbf0ec;
  border-left: 4px solid #a8512e;
  padding: 16px 20px;
  margin-bottom: 24px;
}

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: #e8f0e2;
  margin-top: 56px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 40px;
  padding-bottom: 28px;
}
.footer-brand { font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a, .site-footer a { color: #e8f0e2; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 16px;
  padding-bottom: 20px;
  font-size: 0.9rem;
  color: #c4d6ba;
}

@media (max-width: 600px) {
  .hero { padding: 40px 0 36px; }
  main { padding: 36px 0 16px; }
}

/* Nach-oben-Pfeil */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 40;
}
.back-to-top:hover {
  background: var(--green);
  color: #fff;
}
@media (max-width: 600px) {
  .back-to-top {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    font-size: 21px;
  }
}

/* Bilder am Handy nicht zu hoch */
@media (max-width: 600px) {
  main img {
    max-height: 240px;
    object-fit: cover;
  }
}

/* FINAL: Bildgrößen vereinheitlicht */
main img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center 70%;
  border-radius: 6px;
  margin: 6px 0 20px;
  display: block;
}
@media (max-width: 600px) {
  main img {
    max-height: 200px;
  }
}
