/* ==========================================================
   Dienstleistung Hauser – Stylesheet
   ========================================================== */

:root {
  --dark: #16241d;
  --dark-2: #1f3327;
  --dark-3: #28402f;
  --accent: #4f9d69;
  --accent-light: #6cbf85;
  --accent-dark: #37744a;
  --bg: #f6f8f6;
  --white: #ffffff;
  --text: #202a24;
  --text-light: #5b6a62;
  --border: #e1e6e2;
  --shadow: 0 10px 30px rgba(22, 36, 29, 0.08);
  --shadow-strong: 0 20px 50px rgba(22, 36, 29, 0.16);
  --radius: 14px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--dark);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--text-light); }

a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); }

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

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

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  background: rgba(79, 157, 105, 0.12);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(79, 157, 105, 0.35);
}
.btn-primary:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover { background: var(--dark-2); color: var(--white); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 36, 29, 0.96);
  backdrop-filter: blur(6px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.brand-mark {
  height: 46px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark img {
  height: 100%;
  width: auto;
  display: block;
}
.brand small {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  font-size: 0.96rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); border-bottom-color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, #24402f 0%, var(--dark) 55%, #101a15 100%);
  color: var(--white);
  padding: 110px 0 130px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 30%, rgba(79,157,105,0.35), transparent 45%),
    radial-gradient(circle at 70% 90%, rgba(79,157,105,0.18), transparent 40%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 720px; }
.hero-inner h1 { color: var(--white); }
.hero p.lead { color: rgba(255,255,255,0.82); font-size: 1.15rem; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 56px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
}
.hero-badge svg { flex-shrink: 0; color: var(--accent-light); }

.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #223a2c 100%);
  color: var(--white);
  padding: 76px 0 70px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 620px; margin: 0 auto; }
.breadcrumb { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.75); }

/* ---------- Cards / Services ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(79,157,105,0.12);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon-badge svg { width: 28px; height: 28px; }

.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 14px; }
.card .card-link { font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; }

/* Service detail block (leistungen page) */
.service-block {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block .icon-badge { width: 68px; height: 68px; margin-bottom: 0; }
.service-block .icon-badge svg { width: 32px; height: 32px; }
.service-block ul { padding-left: 20px; margin: 14px 0 0; color: var(--text-light); }
.service-block li { margin-bottom: 6px; }

/* ---------- Why us / process ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 40px; }
.why-item { display: flex; gap: 16px; }
.why-item .num {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--dark); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
}
.why-item h3 { margin-bottom: 6px; font-size: 1.05rem; }
.why-item p { margin-bottom: 0; font-size: 0.95rem; }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.process-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 18px 22px;
  text-align: center;
}
.process-step .step-num {
  width: 34px; height: 34px; margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem;
}
.process-step h3 { font-size: 0.98rem; margin-bottom: 6px; }
.process-step p { font-size: 0.85rem; margin-bottom: 0; }

/* ---------- Dark band / CTA ---------- */
.band-dark {
  background: var(--dark);
  color: var(--white);
}
.band-dark p { color: rgba(255,255,255,0.75); }
.band-dark h2 { color: var(--white); }

.cta-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-split h2 { margin-bottom: 6px; }

/* ---------- Area / coverage list ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  background: rgba(79,157,105,0.1);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-row { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-row:last-child { margin-bottom: 0; }
.contact-row .icon-badge { width: 44px; height: 44px; margin-bottom: 0; flex-shrink: 0; }
.contact-row .icon-badge svg { width: 22px; height: 22px; }
.contact-row h4 { margin-bottom: 4px; font-size: 0.95rem; color: var(--dark); }
.contact-row p { margin-bottom: 0; font-size: 0.95rem; }

.placeholder-note {
  display: inline-block;
  background: #fff4d6;
  color: #7a5b00;
  border: 1px solid #f0dca0;
  border-radius: 8px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 600;
}

form.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--dark); }
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text);
  background: #fbfcfb;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}
.field-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--text-light); }
.field-check input { margin-top: 4px; }
.form-note { font-size: 0.82rem; color: var(--text-light); margin: 0; }
#form-status { font-size: 0.9rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: #101c16;
  color: rgba(255,255,255,0.72);
  padding: 64px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: rgba(255,255,255,0.68); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--accent-light); }
.footer-about p { color: rgba(255,255,255,0.65); font-size: 0.92rem; max-width: 320px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; margin-bottom: 14px; }
.footer-brand .brand-mark { height: 34px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}
.legal-content h2 { font-size: 1.3rem; margin-top: 2.2em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.05rem; margin-top: 1.6em; }
.legal-content p, .legal-content li { color: var(--text-light); }
.legal-content .todo {
  background: #fff4d6;
  border: 1px solid #f0dca0;
  color: #7a5b00;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- WhatsApp button ---------- */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.whatsapp-fab:hover { transform: scale(1.07); box-shadow: 0 12px 30px rgba(0,0,0,0.34); }
.whatsapp-fab svg { width: 30px; height: 30px; fill: #fff; }

@media (max-width: 640px) {
  .whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-fab svg { width: 27px; height: 27px; }
}

/* ---------- Social icons (footer) ---------- */
.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.social-icon:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }
.social-icon svg { width: 19px; height: 19px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.25);
}
.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-inner p {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  margin: 0;
  max-width: 640px;
}
.cookie-banner-inner a { color: var(--accent-light); }
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.9);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.cookie-settings-link {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.cookie-settings-link:hover { color: var(--accent-light); }

@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav ul { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 20px 24px 28px;
    gap: 18px;
  }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-split { flex-direction: column; align-items: flex-start; }
  .hero { padding: 80px 0 90px; }

  .site-header .container { height: 72px; }
  .brand { gap: 8px; font-size: 0.95rem; }
  .brand-mark { height: 38px; }
  .brand small { display: none; }
  .main-nav .btn-primary { display: none; }
}
