/*
Theme Name: Lennartz Gartenbau
Theme URI: https://lennartz-gartenbau.de/
Author: Lennartz Garten- & Landschaftsbau
Author URI: https://lennartz-gartenbau.de/
Description: Apple-inspirierte, minimalistische One-Page-Theme für Lennartz Garten- & Landschaftsbau. Premium Typografie, sanfte Animationen, vollständig responsive.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lennartz
Tags: one-page, business, custom-colors, custom-logo, custom-menu, featured-images, responsive
*/

/* ---------- Design Tokens ---------- */
:root {
  --background: #fafaf7;
  --foreground: #1a1f1a;
  --muted: #f3f3ee;
  --muted-foreground: #6b716b;
  --primary: #2f5d3a;
  --primary-glow: #4a8a5a;
  --primary-foreground: #ffffff;
  --border: rgba(0,0,0,0.08);
  --shadow-soft: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --shadow-elevated: 0 20px 60px -15px rgba(30,60,40,.25);
  --ease-apple: cubic-bezier(0.32, 0.72, 0, 1);
  --radius: 16px;
}

/* ---------- Reset & Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Inter","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background:var(--background);
  color:var(--foreground);
  line-height:1.6;
  font-size:16px;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none;transition:color .3s var(--ease-apple)}
a:hover{color:var(--primary)}
h1,h2,h3,h4{letter-spacing:-.025em;font-weight:600;margin:0 0 .5em}
.display{letter-spacing:-.045em;font-weight:700;line-height:1.02}

/* ---------- Layout ---------- */
.container{max-width:1200px;margin:0 auto;padding:0 24px}
section{padding:96px 0}
@media (min-width:768px){section{padding:140px 0}}

/* ---------- Header ---------- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:50;
  background:rgba(250,250,247,.72);
  backdrop-filter:saturate(180%) blur(20px);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid var(--border);
}
.site-header .inner{display:flex;align-items:center;justify-content:space-between;height:56px;max-width:1200px;margin:0 auto;padding:0 24px}
.site-brand{display:flex;align-items:center;gap:8px;font-weight:600;font-size:15px}
.site-brand .dot{width:8px;height:8px;border-radius:50%;background:var(--primary)}
.site-brand .muted{color:var(--muted-foreground);font-weight:400}
.main-nav{display:none;gap:32px}
@media (min-width:768px){.main-nav{display:flex}}
.main-nav a{font-size:13px;color:rgba(26,31,26,.8)}
.main-nav a:hover,.main-nav a.active{color:var(--foreground)}
.btn-call{
  display:none;align-items:center;gap:6px;
  background:var(--primary);color:#fff;
  padding:8px 16px;border-radius:999px;font-size:13px;font-weight:500;
}
@media (min-width:768px){.btn-call{display:inline-flex}}
.menu-toggle{display:inline-flex;background:none;border:0;width:36px;height:36px;border-radius:50%;align-items:center;justify-content:center;cursor:pointer}
@media (min-width:768px){.menu-toggle{display:none}}
.mobile-nav{display:none;flex-direction:column;padding:16px 24px;border-top:1px solid var(--border);background:rgba(250,250,247,.95)}
.mobile-nav.open{display:flex}
.mobile-nav a{padding:12px 0;font-size:16px}

/* ---------- Hero ---------- */
.hero{
  position:relative;height:100vh;min-height:640px;
  margin-top:-56px;display:flex;align-items:center;justify-content:center;
  text-align:center;color:#fff;overflow:hidden;
}
.hero .bg{position:absolute;inset:0;background-size:cover;background-position:center;transform:scale(1.05);transition:transform 20s linear}
.hero .overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.35) 0%,rgba(0,0,0,.15) 40%,rgba(0,0,0,.75) 100%)}
.hero .content{position:relative;z-index:2;padding:0 24px;max-width:900px}
.hero .eyebrow{font-size:13px;font-weight:500;letter-spacing:.25em;text-transform:uppercase;color:rgba(255,255,255,.85);margin-bottom:16px}
.hero h1{font-size:clamp(40px,8vw,88px);line-height:1.02;letter-spacing:-.045em;font-weight:700;margin:0 0 24px}
.hero p{font-size:18px;color:rgba(255,255,255,.85);max-width:560px;margin:0 auto 40px}
.hero-cta{display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center}
@media (min-width:640px){.hero-cta{flex-direction:row}}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 28px;border-radius:999px;font-size:14px;font-weight:500;cursor:pointer;border:0;transition:all .3s var(--ease-apple)}
.btn-primary{background:#fff;color:var(--foreground)}
.btn-primary:hover{transform:scale(1.03);color:var(--foreground)}
.btn-ghost{background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.4);backdrop-filter:blur(10px)}
.btn-ghost:hover{background:rgba(255,255,255,.2);color:#fff}
.btn-solid{background:var(--primary);color:#fff}
.btn-solid:hover{opacity:.9;color:#fff}
.btn-outline{background:transparent;color:var(--foreground);border:1px solid var(--border)}

/* ---------- Section Headers ---------- */
.section-eyebrow{font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--primary);margin-bottom:16px}
.section-title{font-size:clamp(32px,5vw,60px);line-height:1.05;letter-spacing:-.045em;font-weight:700;max-width:800px}
.section-title .muted{color:var(--muted-foreground)}

/* ---------- Services Grid ---------- */
.services-grid{display:grid;gap:24px;grid-template-columns:1fr;margin-top:64px}
@media (min-width:640px){.services-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.services-grid{grid-template-columns:repeat(3,1fr)}}
.service-card{background:#fff;border-radius:24px;overflow:hidden;box-shadow:var(--shadow-soft);transition:transform .6s var(--ease-apple),box-shadow .6s var(--ease-apple)}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-elevated)}
.service-card .img{aspect-ratio:4/3;overflow:hidden;background:var(--muted)}
.service-card .img img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ease-apple)}
.service-card:hover .img img{transform:scale(1.05)}
.service-card .body{padding:28px}
.service-card .label{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--primary)}
.service-card h3{font-size:24px;margin:12px 0 8px}
.service-card p{color:var(--muted-foreground);font-size:15px;margin:0}

/* ---------- Showcase (dark) ---------- */
.showcase{background:var(--foreground);color:var(--background);text-align:center}
.showcase .eyebrow{color:var(--primary-glow)}
.showcase h2{font-size:clamp(36px,6vw,72px);line-height:1.05;letter-spacing:-.045em;margin:20px 0 32px}
.showcase h2 .muted{color:rgba(250,250,247,.6)}
.showcase p{color:rgba(250,250,247,.7);font-size:18px;max-width:640px;margin:0 auto 64px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media (min-width:768px){.stats{gap:32px}}
.stat{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.1);border-radius:24px;padding:32px 16px;backdrop-filter:blur(10px)}
.stat .num{font-size:clamp(32px,5vw,60px);font-weight:700;letter-spacing:-.045em}
.stat .label{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:rgba(250,250,247,.6);margin-top:8px}

/* ---------- Gallery ---------- */
.gallery-head{display:flex;flex-direction:column;gap:24px;margin-bottom:56px}
@media (min-width:768px){.gallery-head{flex-direction:row;justify-content:space-between;align-items:flex-end}}
.gallery-grid{display:grid;gap:24px;grid-template-columns:1fr}
@media (min-width:768px){.gallery-grid{grid-template-columns:repeat(3,1fr)}}
.gallery-item{position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:24px;background:var(--muted)}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform 1.4s var(--ease-apple)}
.gallery-item:hover img{transform:scale(1.1)}
.gallery-item .caption{position:absolute;left:0;right:0;bottom:0;padding:28px;color:#fff;background:linear-gradient(180deg,transparent,rgba(0,0,0,.8))}
.gallery-item .caption .sub{font-size:12px;letter-spacing:.15em;text-transform:uppercase;color:rgba(255,255,255,.7)}
.gallery-item .caption .title{font-size:22px;font-weight:600;margin-top:4px}

/* ---------- CTA ---------- */
.cta{background:#eef2ec;text-align:center}
.cta h2{font-size:clamp(32px,5vw,60px);line-height:1.05;letter-spacing:-.045em}
.cta p{color:var(--muted-foreground);font-size:18px;max-width:560px;margin:24px auto 40px}
.cta .actions{display:flex;flex-direction:column;gap:12px;justify-content:center}
@media (min-width:640px){.cta .actions{flex-direction:row}}

/* ---------- Contact Form ---------- */
.contact-grid{display:grid;gap:48px;grid-template-columns:1fr;margin-top:64px}
@media (min-width:1024px){.contact-grid{grid-template-columns:1fr 1fr}}
.contact-info p{color:var(--muted-foreground);margin:8px 0}
.contact-info a{color:var(--foreground);font-weight:500}
.form-field{margin-bottom:20px}
.form-field label{display:block;font-size:13px;font-weight:500;margin-bottom:8px}
.form-field input,.form-field textarea{
  width:100%;padding:14px 16px;border:1px solid var(--border);
  border-radius:12px;background:#fff;font:inherit;
  transition:border-color .3s var(--ease-apple),box-shadow .3s var(--ease-apple);
}
.form-field input:focus,.form-field textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(47,93,58,.1)}
.form-field textarea{min-height:140px;resize:vertical}

/* ---------- Footer ---------- */
.site-footer{border-top:1px solid var(--border);background:rgba(243,243,238,.5);padding:64px 0 0}
.footer-grid{display:grid;gap:48px;grid-template-columns:1fr}
@media (min-width:768px){.footer-grid{grid-template-columns:2fr 1fr 1fr}}
.footer-grid h4{font-size:12px;font-weight:600;letter-spacing:.15em;text-transform:uppercase;color:var(--muted-foreground);margin-bottom:16px}
.footer-grid ul{list-style:none;padding:0;margin:0}
.footer-grid li{margin-bottom:8px;font-size:14px;color:var(--muted-foreground)}
.footer-grid a{color:var(--muted-foreground)}
.footer-grid a:hover{color:var(--primary)}
.footer-bottom{border-top:1px solid var(--border);margin-top:48px;padding:24px 0;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted-foreground)}
@media (min-width:768px){.footer-bottom{flex-direction:row}}

/* ---------- Reveal Animations ---------- */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .9s var(--ease-apple),transform .9s var(--ease-apple)}
.reveal.in{opacity:1;transform:translateY(0)}

/* ---------- Utilities ---------- */
.text-center{text-align:center}
.mt-md{margin-top:24px}


/* =====================================
   THEMIFY HYBRID SUPPORT
   Keeps original Loveable styling intact
===================================== */

.themify-builder-compatible {
    width: 100%;
    max-width: 100%;
}

.themify_builder_content,
.themify_builder_content-frontend {
    width: 100%;
    max-width: 100%;
}

.themify-fullwidth {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Preserve original typography */
.themify_builder_content h1,
.themify_builder_content h2,
.themify_builder_content h3,
.themify_builder_content h4,
.themify_builder_content p,
.themify_builder_content a,
.themify_builder_content li {
    font-family: inherit;
    color: inherit;
}

/* Preserve spacing system */
.themify_builder_content .module_row {
    padding-left: 0;
    padding-right: 0;
}

/* Preserve image responsiveness */
.themify_builder_content img {
    max-width: 100%;
    height: auto;
    border-radius: inherit;
}
