/* ============================================================
   Stecknitz Grün – Inhaber Ansgar Knade
   Design-Grundlage: Visitenkarte (Grüntöne, Serifen-Wortmarke,
   Schreibschrift-Akzent, geschwungene grüne Ecken)
   ============================================================ */

:root {
  --green-950: #0e3a1c;
  --green-900: #14532d;
  --green-800: #166427;
  --green-700: #1b7a2e;
  --green-600: #249235;
  --green-500: #35a847;
  --green-100: #e3f2e5;
  --green-50:  #f0f7f0;
  --ink:       #17211a;
  --ink-soft:  #46554b;
  --paper:     #fbfcfa;
  --white:     #ffffff;
  --line:      #dde7dd;
  --radius:    14px;
  --shadow-sm: 0 1px 3px rgba(20, 60, 30, .08);
  --shadow-md: 0 6px 24px rgba(20, 60, 30, .12);
  --shadow-lg: 0 18px 48px rgba(14, 58, 28, .18);
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-brand: "DM Serif Display", "Playfair Display", Georgia, serif;
  --font-script: "Allura", "Segoe Script", cursive;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Typography ---------- */

h1, h2, h3 { font-family: var(--font-brand); line-height: 1.15; color: var(--green-950); }

h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

.eyebrow {
  font-family: var(--font-script);
  /* Allura läuft klein – daher etwas größer als üblich */
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  color: var(--green-600);
  display: block;
  margin-bottom: .35rem;
}

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
section[id] { scroll-margin-top: 90px; }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--ink-soft); margin-top: .8rem; font-size: 1.1rem; }

.center { text-align: center; }
.center.section-head { margin-inline: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: 1.02rem;
  padding: .9rem 1.7rem;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(27, 122, 46, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(27, 122, 46, .42); }

.btn-ghost {
  background: var(--white);
  color: var(--green-800);
  border: 2px solid var(--green-600);
}
.btn-ghost:hover { background: var(--green-50); transform: translateY(-2px); }

.btn-light {
  background: var(--white);
  color: var(--green-800);
  box-shadow: var(--shadow-md);
}
.btn-light:hover { transform: translateY(-2px); }

/* ---------- Header ---------- */

.topbar {
  background: var(--green-950);
  color: #d8ecd9;
  font-size: .9rem;
  padding: .45rem 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar-contacts { display: flex; gap: 1.4rem; flex-wrap: wrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .55rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none !important;
}
.brand img, .brand svg { height: 54px; width: auto; }
.brand-text { line-height: 1.05; }
.brand-name {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  display: block;
}
.brand-sub {
  font-family: var(--font-script);
  color: var(--green-700);
  font-size: 1.45rem;
  margin-top: -.35rem;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--green-700); text-decoration: none; }
.nav-links a.active { color: var(--green-700); border-bottom-color: var(--green-600); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--green-900);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, var(--green-100), transparent 60%),
    linear-gradient(180deg, var(--white), var(--green-50));
}

/* geschwungene grüne Ecken wie auf der Visitenkarte */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 34px solid transparent;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  top: -300px;
  left: -300px;
  border-bottom-color: var(--green-700);
  transform: rotate(45deg);
}
.hero::after {
  bottom: -300px;
  right: -300px;
  border-top-color: var(--green-700);
  transform: rotate(45deg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .4rem 1rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--green-800);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.2rem;
}
.hero-badge .dot {
  width: 9px; height: 9px;
  background: var(--green-500);
  border-radius: 50%;
}

.hero p.lead {
  margin-top: 1.1rem;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 56ch;
}

.hero-services {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.hero-services span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .95rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--green-900);
}

.hero-actions {
  margin-top: 1.9rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green-950);
}

.hero-visual { display: flex; justify-content: center; }
.hero-visual img, .hero-visual svg { width: min(400px, 80vw); height: auto; filter: drop-shadow(0 18px 40px rgba(14, 58, 28, .18)); }

/* ---------- Trust strip ---------- */

.trust-strip { background: var(--green-950); color: #eaf5ea; }
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-block: 1.3rem;
}
.trust-item { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .98rem; }
.trust-item svg { flex: none; width: 26px; height: 26px; }

/* ---------- Cards ---------- */

.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .55rem; display: flex; align-items: center; gap: .6rem; }
.card p { color: var(--ink-soft); font-size: 1rem; }
.card .icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--green-100);
  display: grid;
  place-items: center;
  color: var(--green-800);
}
.card .icon svg { width: 26px; height: 26px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .9rem;
  font-weight: 700;
  color: var(--green-700);
}

/* ---------- Split section (Verkaufsversprechen, Über uns) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split .visual {
  background: linear-gradient(160deg, var(--green-100), var(--green-50));
  border-radius: 22px;
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  place-items: center;
}
.split .visual img, .split .visual svg { width: min(340px, 100%); height: auto; }
.split p { color: var(--ink-soft); margin-top: .9rem; }

.checklist { list-style: none; margin-top: 1.2rem; display: grid; gap: .65rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 600; }
.checklist li svg { flex: none; width: 22px; height: 22px; margin-top: .15rem; color: var(--green-600); }

/* ---------- Steps (So funktioniert es) ---------- */

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -22px;
  left: 1.4rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  color: #fff;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 6px 16px rgba(27, 122, 46, .35);
}
.step h3 { margin-bottom: .45rem; }
.step p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Region ---------- */

.region-tags { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.region-tags a {
  background: var(--white);
  border: 1.5px solid var(--green-600);
  color: var(--green-800);
  border-radius: 999px;
  padding: .5rem 1.2rem;
  font-weight: 700;
  transition: background .15s ease, color .15s ease;
}
.region-tags a:hover { background: var(--green-700); color: #fff; text-decoration: none; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
  border-radius: 24px;
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 260px at 10% 110%, rgba(255,255,255,.10), transparent 65%),
    radial-gradient(500px 260px at 90% -10%, rgba(255,255,255,.10), transparent 65%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 640px; margin: .9rem auto 0; color: #e2f2e2; font-size: 1.1rem; }
.cta-band .actions { margin-top: 1.8rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta-band .contact-lines { margin-top: 1.4rem; display: flex; justify-content: center; gap: 1.8rem; flex-wrap: wrap; font-weight: 600; }
.cta-band .contact-lines a { color: #fff; }

/* ---------- Page hero (Unterseiten) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 400px at 90% -20%, var(--green-100), transparent 60%),
    linear-gradient(180deg, var(--white), var(--green-50));
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.page-hero p { margin-top: .9rem; color: var(--ink-soft); max-width: 62ch; font-size: 1.12rem; }
.breadcrumb { font-size: .92rem; color: var(--ink-soft); margin-bottom: 1rem; }
.breadcrumb a { color: var(--green-700); font-weight: 600; }

/* ---------- Service detail rows ---------- */

.service-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.3rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 0; }
.service-row .icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--green-100);
  color: var(--green-800);
  display: grid;
  place-items: center;
}
.service-row .icon svg { width: 34px; height: 34px; }
.service-row p { color: var(--ink-soft); margin-top: .4rem; }

/* ---------- Object list (Gewerbekunden) ---------- */

.object-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: 1.2rem; }
.object-grid li {
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
}
.object-grid li svg { flex: none; width: 20px; height: 20px; color: var(--green-600); }

/* ---------- Kontakt ---------- */

.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }

.contact-card {
  background: var(--green-950);
  color: #eaf5ea;
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
}
.contact-card h3 { color: #fff; margin-bottom: 1.1rem; }
.contact-card ul { list-style: none; display: grid; gap: 1.05rem; }
.contact-card li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-card li svg { flex: none; width: 22px; height: 22px; margin-top: .2rem; color: var(--green-500); }
.contact-card a { color: #fff; font-weight: 600; }
.contact-card .small { font-size: .9rem; color: #b7d4b9; margin-top: 1.4rem; }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit;
  padding: .75rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--green-500);
  outline-offset: 1px;
  border-color: var(--green-500);
}
.form .hint { font-size: .9rem; color: var(--ink-soft); margin-top: .9rem; }
.form button { border: 0; cursor: pointer; font-family: inherit; margin-top: 1.2rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--green-950); color: #cfe4cf; margin-top: clamp(3rem, 7vw, 5rem); }
.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.2rem;
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
}
.footer-brand img { height: 64px; width: auto; margin-bottom: .9rem; background: #fff; border-radius: 16px; padding: 5px; }
.footer-brand p { font-size: .96rem; max-width: 34ch; }
.site-footer h4 {
  font-family: var(--font-brand);
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: .9rem;
}
.site-footer ul { list-style: none; display: grid; gap: .5rem; }
.site-footer a { color: #cfe4cf; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .92rem;
}
.footer-bottom a { color: #cfe4cf; }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img, .hero-visual svg { width: min(280px, 60vw); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.4rem; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-layout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, .98);
    gap: 1.8rem;
    font-size: 1.2rem;
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 55;
  }
  .nav-links.open { transform: none; }
  .nav-toggle { display: block; position: relative; z-index: 56; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .grid-2, .grid-3, .object-grid, .form-grid, .steps { grid-template-columns: 1fr; }
  .steps { row-gap: 2.4rem; }
  .trust-strip .container { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .topbar .topbar-note { display: none; }
  .service-row { grid-template-columns: 1fr; }
}
