/* ===== HLG — Hessische Landgesellschaft mbH =====
   Theme: Land Green + Earth Brown (organic / nature)
   Primary green #86BC25 · Earth brown #3C3027 · Cream #F7F4EC
================================================== */

:root {
  --green: #86BC25;
  --green-dark: #6a9a17;
  --green-soft: #a9d456;
  --earth: #3C3027;
  --earth-2: #4d4035;
  --cream: #F7F4EC;
  --cream-2: #efeada;
  --ink: #2b2620;
  --muted: #6f675c;
  --line: #e4ddcd;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(60,48,39,.07);
  --shadow-md: 0 14px 40px rgba(60,48,39,.12);
  --shadow-lg: 0 28px 70px rgba(60,48,39,.18);
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-head: 'Fraunces', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

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

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

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--earth); letter-spacing: -.01em; }

a { color: inherit; text-decoration: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-primary { background: var(--green); color: #1f2b06; box-shadow: 0 10px 24px rgba(134,188,37,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(134,188,37,.45); background: var(--green-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--earth); border-color: var(--earth); }
.btn-secondary:hover { background: var(--earth); color: var(--cream); transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(247,244,236,.92); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); padding: 10px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 46px; width: auto; display: block; transition: height .25s ease; }
.logo .logo-light { display: block; }
.logo .logo-dark { display: none; }
.site-header.scrolled .logo .logo-light { display: none; }
.site-header.scrolled .logo .logo-dark { display: block; }
.site-header.scrolled .logo img { height: 40px; }
.nav-right { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--cream); position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--green); transition: width .25s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.site-header.scrolled .nav-links a { color: var(--earth); }

.lang-btn {
  background: transparent; border: 2px solid rgba(247,244,236,.6); color: var(--cream);
  width: 46px; height: 38px; border-radius: 999px; font-weight: 700; font-size: 13px;
  cursor: pointer; transition: all .2s;
}
.lang-btn:hover, .lang-btn.active { background: var(--green); border-color: var(--green); color: #1f2b06; }
.site-header.scrolled .lang-btn { border-color: var(--line); color: var(--earth); }
.site-header.scrolled .lang-btn:hover, .site-header.scrolled .lang-btn.active { background: var(--green); border-color: var(--green); color: #1f2b06; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 26px; height: 2px; background: var(--cream); border-radius: 2px; transition: all .3s; }
.site-header.scrolled .hamburger span { background: var(--earth); }

.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px; height: 100vh;
  background: var(--earth); z-index: 200; padding: 90px 32px 32px; display: flex; flex-direction: column; gap: 8px;
  transition: right .3s ease; box-shadow: var(--shadow-lg);
}
.mobile-menu.open { right: 0; }
.mobile-menu a { color: var(--cream); font-weight: 500; font-size: 18px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }

/* ===== Hero ===== */
.hero {
  position: relative; padding: 168px 0 200px; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(134,188,37,.22), transparent 60%),
    linear-gradient(160deg, #443729 0%, #3C3027 55%, #34291f 100%);
  color: var(--cream);
}
.hero-inner { position: relative; z-index: 3; max-width: 760px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(134,188,37,.16); border: 1px solid rgba(134,188,37,.45);
  color: var(--green-soft); padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; margin-bottom: 26px;
}
.badge svg { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); color: var(--cream); font-weight: 700; }
.hero-subtitle { font-size: 1.12rem; color: rgba(247,244,236,.82); margin-top: 22px; max-width: 640px; }
.hero-cta { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero .btn-secondary { color: var(--cream); border-color: rgba(247,244,236,.5); }
.hero .btn-secondary:hover { background: var(--cream); color: var(--earth); border-color: var(--cream); }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; max-width: 720px; }
.hstat { position: relative; padding-left: 16px; }
.hstat::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: var(--green); }
.hstat-num { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--cream); line-height: 1; }
.hstat-label { display: block; font-size: 13px; color: rgba(247,244,236,.7); margin-top: 8px; }

.hero-hills { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.hero-hills svg { width: 100%; height: 210px; display: block; }
.hero-hills .hill-3 { fill: #efeada; opacity: .18; }
.hero-hills .hill-2 { fill: var(--green); opacity: .28; }
.hero-hills .hill-1 { fill: var(--white); }

/* ===== Trust bar ===== */
.trust-bar { background: var(--white); margin-top: -1px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.trust-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item svg { width: 30px; height: 30px; color: var(--green); flex-shrink: 0; }
.trust-value { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--earth); }
.trust-label { font-size: 13px; color: var(--muted); }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--cream); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-dark); background: rgba(134,188,37,.12); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
.section-description { color: var(--muted); font-size: 1.06rem; margin-top: 16px; }

/* ===== Services ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  position: relative; overflow: hidden;
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--green), var(--green-soft)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, rgba(134,188,37,.16), rgba(134,188,37,.05)); margin-bottom: 22px;
}
.service-icon svg { width: 30px; height: 30px; color: var(--green-dark); }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 15px; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px 26px 30px; text-align: left;
  position: relative; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.step-number {
  width: 52px; height: 52px; border-radius: 50%; background: var(--earth); color: var(--cream);
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ===== Why ===== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { text-align: center; padding: 30px 22px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center;
  background: var(--earth); color: var(--green-soft);
}
.why-icon svg { width: 30px; height: 30px; }
.why-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 14.5px; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s ease, border-color .25s ease; }
.faq-item.open { box-shadow: var(--shadow-md); border-color: rgba(134,188,37,.5); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: var(--earth); }
.faq-icon { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: rgba(134,188,37,.14); color: var(--green-dark); display: flex; align-items: center; justify-content: center; font-size: 20px; transition: transform .3s ease, background .3s ease, color .3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--green); color: #1f2b06; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { padding: 0 26px 24px; color: var(--muted); font-size: 15px; }

/* ===== Contact ===== */
.contact-section { background: var(--cream); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.contact-info > p { color: var(--muted); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item svg { width: 24px; height: 24px; color: var(--green-dark); flex-shrink: 0; margin-top: 3px; }
.contact-item strong { display: block; font-family: var(--font-head); color: var(--earth); font-size: 15px; margin-bottom: 2px; }
.contact-item p { color: var(--muted); font-size: 15px; }

.contact-form-wrapper { background: var(--white); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--cream); transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(134,188,37,.18); background: #fff; }
.contact-form textarea { resize: vertical; }
.contact-form .has-error, .contact-form .invalid { border-color: #d9534f !important; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.consent input { width: auto; margin-top: 3px; }
.consent a { color: var(--green-dark); font-weight: 600; text-decoration: underline; }
.contact-form .btn-primary { justify-content: center; margin-top: 4px; }

.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.form-success svg { width: 56px; height: 56px; color: var(--green); margin-bottom: 16px; }
.form-success p { font-family: var(--font-head); font-size: 1.15rem; color: var(--earth); }

/* ===== Footer ===== */
.site-footer { background: var(--earth); color: rgba(247,244,236,.75); padding: 66px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 52px; margin-bottom: 18px; }
.footer-description { font-size: 14.5px; max-width: 340px; }
.footer-heading { color: var(--cream); font-size: 1rem; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14.5px; transition: color .2s; }
.footer-links a:hover { color: var(--green-soft); }
.footer-bottom { margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(247,244,236,.14); display: flex; flex-direction: column; gap: 8px; }
.footer-copyright { font-size: 13.5px; color: var(--cream); }
.footer-disclaimer { font-size: 12.5px; color: rgba(247,244,236,.55); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); }
  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 130px 0 150px; }
  .services-grid, .steps, .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
}


/* ===== Legal pages ===== */
.legal-header { position: static; background: var(--cream); border-bottom: 1px solid var(--line); padding: 16px 0; }
.legal-header .header-inner { display: flex; align-items: center; justify-content: space-between; }
.legal-header .logo img { height: 44px; width: auto; display: block; }
.btn-outline { background: transparent; border: 2px solid var(--earth); color: var(--earth); padding: 10px 22px; font-size: 14px; }
.btn-outline:hover { background: var(--earth); color: var(--cream); }

.legal-page { padding: 60px 0 80px; background: var(--white); }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal-effective { color: var(--muted); margin-bottom: 2.4rem; font-size: 15px; }
.legal-content { max-width: 820px; }
.legal-content p { color: var(--ink); margin-bottom: 1.1rem; font-size: 15.5px; }
.legal-content h2 { font-size: 1.35rem; color: var(--earth); margin: 2.2rem 0 .9rem; padding-left: 14px; border-left: 4px solid var(--green); }
.legal-content ul { margin: 0 0 1.2rem 1.2rem; display: flex; flex-direction: column; gap: 8px; }
.legal-content li { color: var(--muted); font-size: 15px; }
.legal-content li strong { color: var(--earth); }
.legal-content a { color: var(--green-dark); font-weight: 600; text-decoration: underline; }
.legal-back { margin-top: 3rem; text-align: center; }

.legal-footer { padding: 34px 0; }
.legal-footer .footer-bottom { margin-top: 0; padding-top: 0; border-top: none; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.legal-links { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.legal-links a { color: rgba(247,244,236,.8); transition: color .2s; }
.legal-links a:hover { color: var(--green-soft); }
