/* ===== Höbra Garten- & Landschaftsbau ===== */
:root {
  --dark: #163A2B;
  --dark2: #1B4332;
  --forest: #2D6A4F;
  --leaf: #40916C;
  --leaf-light: #52B788;
  --mint: #95D5B2;
  --mint-soft: #EAF4EE;
  --bg: #ffffff;
  --bg-soft: #F6FAF7;
  --ink: #16241D;
  --ink-soft: #33473C;
  --muted: #647568;
  --line: #E1EBE3;
  --wood: #B08968;
  --radius: 18px;
  --shadow: 0 12px 32px rgba(22, 58, 43, .1);
  --shadow-lg: 0 26px 60px rgba(22, 58, 43, .22);
  --f-disp: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--f-body); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-disp); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
.hl { color: var(--leaf-light); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; font-family: var(--f-body); cursor: pointer; border: 1.5px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s; }
.btn .arr { transition: transform .18s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--forest); color: #fff; box-shadow: 0 10px 24px rgba(45,106,79,.35); }
.btn-primary:hover { background: var(--dark2); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--forest); box-shadow: var(--shadow-lg); }
.btn-light:hover { transform: translateY(-2px); }

/* Header */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 60; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; }
.wordmark { font-family: var(--f-disp); font-weight: 700; font-size: 22px; letter-spacing: -.01em; color: var(--ink); }
.wordmark b { color: var(--leaf); font-weight: 700; }
.hero-over .wordmark { color: #fff; }
.hero-over .wordmark b { color: var(--mint); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 500; font-size: 15px; color: var(--ink-soft); transition: color .15s; }
.hero-over .nav a { color: rgba(255,255,255,.88); }
.nav a:hover { color: var(--leaf); }
.hero-over .nav a:hover { color: #fff; }
.nav-cta { background: var(--forest); color: #fff !important; padding: 10px 22px; border-radius: 999px; box-shadow: 0 8px 18px rgba(45,106,79,.3); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: currentColor; border-radius: 2px; color: var(--ink); }
.hero-over .burger span { background: #fff; }

/* Hero */
.hero { position: relative; background: var(--dark); color: #fff; padding: 130px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(900px 500px at 80% 10%, rgba(82,183,136,.28), transparent 60%), radial-gradient(700px 500px at 10% 90%, rgba(45,106,79,.35), transparent 55%); }
.hero-leaves { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.pill { display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #D8F3E2; margin-bottom: 24px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); margin-bottom: 22px; }
.lead { font-size: clamp(16px, 2vw, 19px); color: #C8DBCE; max-width: 480px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-illustration { width: 100%; max-width: 400px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.3)); }

/* Strip */
.strip { background: var(--bg-soft); padding: 20px 0; border-bottom: 1px solid var(--line); }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.strip span { color: var(--muted); font-size: 13px; }
.strip b { color: var(--forest); font-family: var(--f-disp); font-size: 14.5px; font-weight: 600; }

/* Sections */
.section { padding: 92px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-sub { color: var(--muted); font-size: 16px; margin-top: 8px; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 700; color: var(--leaf); margin-bottom: 14px; }
.section h2 { font-size: clamp(27px, 4vw, 42px); }
.section-dark { background: var(--dark2); color: #fff; }
.section-dark .eyebrow { color: var(--mint); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s, border-color .22s; }
.card-hot { border: 2px solid var(--leaf-light); box-shadow: 0 16px 40px rgba(64,145,108,.22); }
.card-badge { position: absolute; top: -13px; left: 26px; background: var(--forest); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .07em; }
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-ic { width: 50px; height: 50px; border-radius: 13px; background: var(--mint-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card-ic svg { width: 25px; height: 25px; fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19.5px; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 15px; }

/* Pflastermuster */
.pattern-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 200px)); gap: 20px; justify-content: start; }
.pattern-card { max-width: 200px; background: var(--dark); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; overflow: hidden; transition: transform .22s, box-shadow .22s; }
.pattern-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pattern-swatch { display: block; width: 100%; height: auto; }
.pattern-card figcaption { padding: 10px 14px; font-family: var(--f-disp); font-weight: 600; font-size: 13.5px; color: #fff; text-align: center; }
@media (max-width: 760px) { .pattern-grid { grid-template-columns: repeat(2, minmax(0, 180px)); justify-content: center; } }

/* Referenzen-Galerie */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s; }
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gallery-ph { height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.gallery-ph svg { width: 34px; height: 34px; fill: none; stroke: rgba(255,255,255,.75); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gallery-ph span { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: .08em; }
.gallery-a { background: linear-gradient(155deg, #2D6A4F, #1B4332); }
.gallery-b { background: linear-gradient(155deg, #40916C, #2D6A4F); }
.gallery-c { background: linear-gradient(155deg, #163A2B, #0D251B); }
.gallery-d { background: linear-gradient(155deg, #52B788, #40916C); }
.gallery-e { background: linear-gradient(155deg, #B08968, #8B5E34); }
.gallery-f { background: linear-gradient(155deg, #1B4332, #163A2B); }
.gallery-item figcaption { padding: 14px 18px; font-family: var(--f-disp); font-weight: 600; font-size: 15px; color: var(--ink); }

/* Partner */
.partner-card { display: flex; align-items: center; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow); max-width: 720px; transition: transform .22s, box-shadow .22s, border-color .22s; }
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--leaf-light); }
.partner-logo { flex-shrink: 0; width: 60px; height: 60px; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 14px rgba(22,58,43,.18); }
.partner-info { flex: 1; min-width: 0; }
.partner-info h3 { font-size: 18.5px; margin-bottom: 5px; }
.partner-info p { color: var(--muted); font-size: 14.5px; }
.partner-arr { flex-shrink: 0; font-size: 14px; font-weight: 600; color: var(--forest); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.partner-card:hover .partner-arr .arr { transform: translateX(4px); }
.partner-arr .arr { transition: transform .18s; }
@media (max-width: 620px) { .partner-card { flex-wrap: wrap; } .partner-arr { width: 100%; justify-content: flex-end; } }

/* About */
.about-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about-text p { color: #C8DBCE; font-size: 16.5px; margin-top: 8px; max-width: 480px; }
.about-stats { display: flex; gap: 34px; margin-top: 32px; flex-wrap: wrap; }
.about-stats strong { display: block; font-family: var(--f-disp); font-size: 28px; color: #fff; }
.about-stats span { font-size: 13px; color: #9DB8A8; }
.about-visual svg { width: 100%; max-width: 320px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .22s, border-color .22s; }
.why-item:hover { transform: translateY(-5px); border-color: var(--leaf-light); }
.why-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--forest); display: flex; align-items: center; justify-content: center; font-size: 19px; color: #fff; margin-bottom: 14px; }
.why-item h4 { font-size: 17.5px; margin-bottom: 7px; }
.why-item p { color: var(--muted); font-size: 14.5px; }

/* CTA */
.cta { position: relative; padding: 80px 0; background: var(--forest); overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 85% 120%, rgba(255,255,255,.14), transparent 60%); }
.cta-inner { position: relative; text-align: center; color: #fff; }
.cta h2 { font-size: clamp(27px, 4vw, 40px); margin-bottom: 12px; }
.cta p { color: #DDEFE3; font-size: 17px; margin-bottom: 28px; }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-text h2 { font-size: clamp(25px,4vw,38px); }
.contact-text p { color: var(--muted); font-size: 16.5px; margin-top: 12px; }
.contact-direct { font-weight: 500; line-height: 2; margin-top: 20px !important; }
.contact-direct a { color: var(--forest); font-size: 17px; }
.contact-direct span { color: var(--ink-soft); }
.contact-form { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 15px; box-shadow: var(--shadow); }
.contact-form label { display: flex; flex-direction: column; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); gap: 7px; }
.contact-form input, .contact-form textarea { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 14.5px; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(64,145,108,.14); }
.form-hint { font-size: 13.5px; color: var(--forest); font-weight: 600; min-height: 18px; }

/* Legal pages */
.legal-header { border-bottom: 1px solid var(--line); }
.legal-header .header-inner { height: 68px; }
.legal-main { padding: 64px 0 96px; }
.legal-main .container { max-width: 760px; }
.legal-main h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.legal-updated { color: var(--muted); font-size: 14px; margin-bottom: 44px; }
.legal-main h2 { font-family: var(--f-disp); font-size: 21px; margin: 40px 0 12px; }
.legal-main h2:first-of-type { margin-top: 0; }
.legal-main p, .legal-main li { color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; }
.legal-main p { margin-bottom: 14px; }
.legal-main ul { margin: 0 0 14px 22px; }
.legal-main a { color: var(--forest); text-decoration: underline; text-underline-offset: 2px; }
.legal-main strong { color: var(--ink); }
.legal-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin: 18px 0; }
.legal-placeholder { background: #fff7ed; color: #9a3412; border: 1px dashed #fb923c; border-radius: 8px; padding: 2px 8px; font-size: 14px; font-style: normal; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--forest); margin-bottom: 28px; }

/* Footer */
.site-footer { background: var(--dark); color: #9DB8A8; padding: 46px 0 36px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 18px; }
.foot-brand .wordmark { color: #fff; }
.foot-brand .wordmark b { color: var(--mint); }
.foot-brand p { font-size: 14px; margin-top: 8px; }
.foot-meta { font-size: 13.5px; }
.site-footer a:hover { color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .about-inner, .cards, .why-grid, .contact-inner { grid-template-columns: 1fr; }
  .hero-visual, .about-visual { max-width: 280px; margin: 0 auto; }
  .nav { position: fixed; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 0; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-150%); transition: transform .28s ease; }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 24px; width: 100%; color: var(--ink-soft) !important; }
  .burger { display: flex; }
}
