:root {
  --color-primary: #339966;
  --color-primary-dark: #007A32;
  --color-dark: #000C09;
  --color-light: #f4f6f4;
  --color-accent: #BF7F7F;

  --font-header: 'Golos Text', sans-serif;
  --font-text: 'Golos Text', sans-serif;

  --radius: 14px;
  --container-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 110px; }

body {
  font-family: var(--font-text);
  color: var(--color-dark);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--color-dark);
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 16px;
  font-family: var(--font-header);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-size: 1rem;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.22);
}
.btn-primary:not(:hover) { transform: translateY(0); }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; border-radius: 16px; }
.btn-outline:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }

/* Placeholder image block */
.placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: repeating-linear-gradient(45deg, #dfe6e1, #dfe6e1 12px, #eef2ef 12px, #eef2ef 24px);
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c8a82;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: .9rem;
  text-align: center;
  padding: 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 68px; width: auto; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { color: var(--color-dark); font-weight: 600; font-family: var(--font-header); }
.main-nav a:hover { color: var(--color-primary); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-actions .btn { padding: 12px 22px; font-size: .9rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.4rem; color: var(--color-primary); padding: 4px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 1000px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--color-dark);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero .hero-bg-placeholder {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, #1b1f1c, #1b1f1c 14px, #23271f 14px, #23271f 28px);
}
.hero { background-size: cover; background-position: center 25%; background-repeat: no-repeat; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.8) 35%, rgba(0,0,0,.25) 70%, rgba(0,0,0,0) 95%);
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 620px; padding-top: 100px; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 700; margin-bottom: 22px; }
h2 { font-weight: 600; }
.hero h1 .highlight { color: #fff; border-bottom: 4px solid var(--color-primary); }
.hero-subtext { max-width: 520px; margin-bottom: 24px; opacity: .92; }
.hero-list { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 12px; }
.hero-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.hero-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-dark);
  font-size: .75rem;
}
.hero-actions { margin-bottom: 28px; }
.hero-actions .btn { min-width: 390px; justify-content: center; }
.hero-contact { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 600; }
.hero-contact a { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.hero-contact a:hover { color: var(--color-primary); }
.hero-contact .icon { color: inherit; }

/* ---------- About ---------- */
.about { padding: 60px 0 36px; text-align: center; }
.about .section-heading { max-width: 700px; margin: 0 auto 40px; }
.about-image {
  max-width: 1140px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
.about-image .placeholder-img { height: 630px; border-radius: var(--radius); }
.about-image img { width: 100%; height: 630px; object-fit: cover; border-radius: var(--radius); display: block; }

/* ---------- Services ---------- */
.section-heading { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.section-heading h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.section-heading h2 .accent { color: var(--color-primary); }
.text-primary { color: var(--color-primary); }
.section-heading-rule {
  width: 220px;
  height: 3px;
  background: var(--color-primary);
  margin: 24px auto 0;
}
.services { padding: 36px 0 60px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  display: flex;
  flex-direction: column;
}
.service-card .placeholder-img { aspect-ratio: 4/3; border-radius: 0; }
.service-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.service-card-body {
  background: var(--color-primary);
  color: #fff;
  padding: 28px;
  flex: 1;
}
.service-card-body h3 { color: #fff; margin-bottom: 14px; }
.service-card-body ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.service-card-body ul li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.service-card-body ul li::before { content: "•"; }

/* ---------- Ablauf / Process ---------- */
.process { padding: 54px 0; background: var(--color-primary); }
.process .section-heading h2 { color: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 30px; }
.process-card { text-align: center; }
.process-card .placeholder-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  margin-bottom: 0;
  height: auto;
  min-height: unset;
}
.process-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); display: block; }
.process-step-number {
  width: 56px; height: 56px;
  margin: 24px auto 16px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--color-accent);
  color: #fff;
  font-family: var(--font-header);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.process-card h3 { display: block; margin-bottom: 0; color: #fff; font-weight: 700; }
.process-card h3::after { content: ''; display: block; width: 80px; height: 2px; background: var(--color-accent); margin: 14px auto 0; }
.process-card p { color: #fff; margin: 0; }

/* ---------- Customer satisfaction (green wave section) ---------- */
.satisfaction {
  position: relative;
  background: var(--color-primary);
  color: #fff;
  padding: 66px 0 54px;
  margin-top: 24px;
}
.satisfaction::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: transparent;
}
.satisfaction h2 { color: #fff; text-align: center; font-size: clamp(2.1rem, 4vw, 3.2rem); }
.satisfaction-rule {
  width: 260px;
  height: 3px;
  background: var(--color-accent);
  margin: 16px auto 30px;
}
.satisfaction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.satisfaction-text p { color: rgba(255,255,255,.9); }
.satisfaction-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 12px 28px rgba(0,0,0,.2);
}
.satisfaction-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.satisfaction-card ul li { display: flex; align-items: center; gap: 14px; font-weight: 700; color: var(--color-dark); }
.satisfaction-check {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .85rem;
}

/* ---------- Projekte ---------- */
.projects { padding: 60px 0; text-align: center; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 30px;
  text-align: center;
}
.project-card { display: flex; flex-direction: column; }
.project-card .placeholder-img {
  aspect-ratio: 1/1;
  border-radius: 24px;
  height: auto;
  min-height: unset;
  flex-shrink: 0;
}
.project-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 24px; display: block; flex-shrink: 0; }
.project-card h3 { margin: 20px 0 8px; font-size: 1.15rem; font-weight: 700; }
.project-card p { color: #6b6b6b; margin: 0; font-size: .95rem; }
.projects-cta { margin-top: 50px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; color: var(--color-dark); padding: 48px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.footer-grid h4 { color: var(--color-dark); font-size: 1rem; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { color: var(--color-dark); font-weight: 600; }
.footer-grid a:hover { color: var(--color-primary); }
.footer-bottom { text-align: center; padding: 24px 0; font-size: .85rem; opacity: .6; color: var(--color-dark); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo img { height: 80px; width: auto; }
.footer-credit { font-size: .8rem; color: #6b6b6b; margin-top: 14px; }
.footer-credit a { color: #6b6b6b; text-decoration: underline; font-weight: 400; }
.footer-contact-name { font-weight: 700; margin-bottom: 14px; }
.footer-contact-name span { font-weight: 400; color: #6b6b6b; }
.footer-contact-list { margin-bottom: 0; }
.footer-contact-list li { display: flex; align-items: center; gap: 12px; color: var(--color-dark); margin-bottom: 12px; }
.footer-contact-list svg { flex-shrink: 0; color: var(--color-dark); }
.footer-contact-phones { gap: 24px; }
.footer-contact-phones span { display: flex; align-items: center; gap: 8px; }

/* ---------- CTA contact section ---------- */
.cta-contact { padding: 60px 0; }
.cta-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.cta-contact-img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-contact-card { background: var(--color-primary); color: #fff; border-radius: var(--radius); padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.cta-contact-card h2 { color: #fff; font-size: clamp(1.2rem, 2vw, 1.6rem); }
.cta-contact-card p { color: rgba(255,255,255,.9); margin-bottom: 24px; }
.cta-contact-card .btn-primary { background: #fff; color: var(--color-dark); align-self: flex-start; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.cta-contact-card .btn-primary:hover { background: var(--color-light); box-shadow: 0 6px 16px rgba(0,0,0,.22); }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 24px; }
.modal-overlay.open { display: flex; }
.modal-box { background: #fff; border-radius: var(--radius); max-width: 520px; width: 100%; padding: 40px; max-height: 80vh; overflow-y: auto; position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 1.4rem; cursor: pointer; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--color-dark); color: #fff; padding: 20px 24px; z-index: 999; display: none; }
.cookie-banner.show { display: block; }
.cookie-banner .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.cookie-banner p { margin: 0; font-size: .9rem; max-width: 600px; }
.cookie-actions { display: flex; gap: 12px; }

/* ---------- Inner pages (legal/forms) ---------- */
.legal-content { padding: 160px 0 80px; max-width: 800px; margin: 0 auto; background: #fff; color: #000; }
.legal-content h1 { margin-bottom: 1em; }
.legal-content h2 { margin-top: 2em; }
.legal-content h3 { margin-top: 1.5em; }
.legal-placeholder-note { background: #fff7e6; border: 1px solid #f0c36d; border-radius: 8px; padding: 14px 18px; font-size: .9rem; margin-bottom: 30px; }

.form-section { padding: 160px 0 100px; background: var(--color-light); }
.form-card { max-width: 640px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 48px; box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.form-row { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-weight: 600; font-family: var(--font-header); }
.form-row input, .form-row textarea, .form-row select {
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 8px;
  font-family: var(--font-text);
  font-size: 1rem;
}
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- Scroll-in animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  /* Header & mobile nav */
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 12px 24px 20px;
    gap: 0;
    z-index: 200;
  }
  .main-nav.open a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(0,0,0,.07);
    font-size: 1rem;
  }
  .header-actions .btn { display: none; }
  .nav-toggle { display: block; }

  /* Hero */
  .hero { min-height: 500px; }
  .hero-content { padding-top: 120px; padding-bottom: 40px; }
  .hero-actions .btn { min-width: unset; width: 100%; text-align: center; justify-content: center; }
  .hero-contact { flex-direction: column; gap: 12px; }

  /* Sections */
  .services-grid,
  .process-grid,
  .projects-grid,
  .satisfaction-grid,
  .cta-contact-grid,
  .form-cols { grid-template-columns: 1fr; }

  /* About image smaller on mobile */
  .about-image img, .about-image .placeholder-img { height: 260px; }

  /* CTA image hidden on mobile */
  .cta-contact-img { display: none; }
  .cta-contact-card { padding: 28px 20px; }
  .cta-contact-card h2 { font-size: 1.15rem; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }
  .footer-brand { align-items: flex-start; }
  .footer-logo img { height: 60px; }
  .footer-contact-list .footer-contact-phones { flex-direction: column; gap: 10px; align-items: flex-start; }
  .footer-contact-phones span { display: flex; }

  /* Cookie banner */
  .cookie-banner .container { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}
