/* ─── Tokens ─── */
:root {
  --bark:    #2d1f0e;
  --soil:    #4a321b;
  --branch:  #947552;
  --leaf:    #4e7302;
  --moss:    #6a9745;
  --sage:    #9db885;
  --fern:    #d0e0bf;
  --cream:   #f7f2ea;
  --linen:   #fdfaf5;
  --stone:   #c8bfb0;
  --fog:     #eae4d8;
  --white:   #ffffff;
  --text:    #ffffff;
  --muted:   #6b5d4e;

  --ff-serif: 'Playfair Display', Georgia, serif;
  --ff-sans:  'Lato', sans-serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-h: 70px;
  --section-pad: 5rem 6%;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-sans);
  color: var(--text);
  background: var(--linen);
  overflow-x: hidden;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--ff-sans); border: none; background: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--moss); border-radius: 3px; }

/* ─── Reveal ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-36px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-l.in { opacity: 1; transform: none; }
.reveal-r { opacity: 0; transform: translateX(36px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-r.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.32s; }
.d4 { transition-delay: 0.44s; }

/* ─── NAV ─── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 900;
  display: flex; align-items: center;
  padding: 0 6%;
  transition: background 0.4s, box-shadow 0.4s;
}
#nav.scrolled {
  background: rgba(253,250,245,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--stone);
}
.nav-brand {
  display: flex; align-items: center; gap: 0.65rem;
}
.nav-logo-img {
  height: 40px; width: auto; object-fit: contain;
  transition: filter 0.4s;
}
#nav.scrolled .nav-logo-img { filter: brightness(0.85); }
.nav-logo {
  font-family: var(--ff-serif); font-size: 1.25rem; font-weight: 700;
  color: var(--linen); letter-spacing: 0.01em; line-height: 1.2;
  transition: color 0.4s;
}
#nav.scrolled .nav-logo { color: var(--bark); }
.nav-logo small {
  display: block; font-family: var(--ff-sans);
  font-size: 0.65rem; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.7;
}
.nav-sp { flex: 1; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); position: relative; transition: color 0.3s;
}
#nav.scrolled .nav-links a { color: var(--branch); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1.5px; background: var(--leaf);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--leaf); }
.nav-links a:hover::after { width: 100%; }
.nav-cta-btn {
  padding: 0.5rem 1.3rem;
  border: 1.5px solid rgba(255,255,255,0.55); border-radius: 4px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff !important; transition: background 0.3s, border-color 0.3s;
}
#nav.scrolled .nav-cta-btn { border-color: var(--leaf); color: var(--leaf) !important; }
.nav-cta-btn:hover { background: var(--leaf) !important; border-color: var(--leaf) !important; color: #fff !important; }
#nav.scrolled .nav-cta-btn:hover { color: #fff !important; }

/* Hamburger */
.hbg { display: none; flex-direction: column; gap: 5px; padding: 4px; z-index: 1000; }
.hbg span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s, background 0.4s; }
#nav.scrolled .hbg span { background: var(--bark); }
.hbg.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hbg.open span:nth-child(2) { opacity: 0; }
.hbg.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mob-menu {
  position: fixed; top: 0; right: -100%;
  width: min(300px, 82vw); height: 100vh;
  background: var(--linen); z-index: 950;
  padding: calc(var(--nav-h) + 2rem) 2rem 3rem;
  display: flex; flex-direction: column;
  box-shadow: -6px 0 32px rgba(45,31,14,0.15);
  transition: right 0.42s var(--ease);
}
.mob-menu.open { right: 0; }
.mob-menu a {
  font-family: var(--ff-serif); font-size: 1.6rem; font-weight: 400;
  color: var(--bark); padding: 0.55rem 0;
  border-bottom: 1px solid var(--stone);
  transition: color 0.25s, padding-left 0.25s;
}
.mob-menu a:last-child { border-bottom: none; }
.mob-menu a:hover { color: var(--leaf); padding-left: 0.4rem; }
.mob-overlay {
  position: fixed; inset: 0;
  background: rgba(45,31,14,0.4); z-index: 940;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.mob-overlay.open { opacity: 1; pointer-events: all; }

/* ─── HERO ─── */
#hero {
  position: relative; height: 100vh; min-height: 580px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://leandrohallo-vszjm.wordpress.com/wp-content/uploads/2026/04/burlea-obstbaumschnitt-69d0fbdaac28d.png') center/cover no-repeat;
  transform: scale(1.04); transition: transform 6s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-ovl {
  position: absolute; inset: 0;
  background: linear-gradient(175deg, rgba(45,31,14,0.72) 0%, rgba(74,50,27,0.6) 55%, rgba(76,110,53,0.25) 100%);
}
.hero-ovl::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  opacity: 0.6; pointer-events: none;
}
.hero-content { position: relative; text-align: center; padding: 0 1.5rem; max-width: 760px; }
.hero-logo-wrap {
  margin-bottom: 1.5rem;
  opacity: 0; animation: fup 0.9s 0.1s var(--ease) forwards;
}
.hero-logo {
  height: 90px; width: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0,0,0,0.3));
}
.hero-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage);
  margin-bottom: 1.1rem; opacity: 0; animation: fup 0.8s 0.3s var(--ease) forwards;
}
.hero-h1 {
  font-family: var(--ff-serif); font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 400; line-height: 1.1; color: #fff; margin-bottom: 1.25rem;
  opacity: 0; animation: fup 1s 0.55s var(--ease) forwards;
}
.hero-h1 em { font-style: italic; color: var(--fern); }
.hero-sub {
  font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,0.8);
  max-width: 520px; margin: 0 auto 2.2rem; line-height: 1.75;
  opacity: 0; animation: fup 0.9s 0.8s var(--ease) forwards;
}
.hero-btns {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fup 0.9s 1s var(--ease) forwards;
}
.btn-prim {
  padding: 0.8rem 1.9rem; background: var(--leaf); color: #fff;
  border-radius: 4px; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.3s, transform 0.2s;
}
.btn-prim:hover { background: var(--bark); transform: translateY(-2px); }
.btn-ghost {
  padding: 0.8rem 1.9rem; border: 1.5px solid rgba(255,255,255,0.5); color: #fff;
  border-radius: 4px; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }
.hero-scroll-ind {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  color: rgba(255,255,255,0.5); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
  opacity: 0; animation: fup 1s 1.5s var(--ease) forwards;
}
.scroll-ln {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
  animation: sp 2.2s 2s infinite;
}
@keyframes fup { to { opacity: 1; transform: none; } }
@keyframes sp { 0%,100%{opacity:0.4} 50%{opacity:0.9} }

/* ─── SECTION BASE ─── */
section { padding: var(--section-pad); }
.sec-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--moss); margin-bottom: 0.6rem;
}
.sec-h2 {
  font-family: var(--ff-serif); font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 400; color: var(--bark); line-height: 1.18; margin-bottom: 1rem;
}
.sec-h2 em { font-style: italic; color: var(--leaf); }
.sec-p { font-size: 1rem; color: var(--muted); line-height: 1.8; max-width: 540px; }
.inner { max-width: 1120px; margin: 0 auto; }

/* ─── LEISTUNGEN ─── */
#leistungen { background: var(--cream); }
.leistungen-grid {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.leistungen-img img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 6px 80px 6px 80px;
}
.leistungen-text .sec-p { margin-bottom: 1.5rem; }

/* Leistungs-Liste */
.leistungs-liste { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.leistungs-item { display: flex; align-items: flex-start; gap: 0.85rem; }
.leistungs-ico { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
.leistungs-item strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--bark); margin-bottom: 0.1rem; }
.leistungs-item p { font-size: 0.88rem; color: var(--muted); margin: 0; line-height: 1.5; }

.btn-outline-dark {
  display: inline-block; padding: 0.75rem 1.8rem;
  border: 1.5px solid var(--branch); color: var(--branch); border-radius: 4px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.btn-outline-dark:hover { background: var(--branch); color: #fff; transform: translateY(-2px); }

/* ─── ABOUT ─── */
#about { background: var(--linen); }
.about-grid {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center;
}
.about-text { order: -1; }
.about-text .sec-p { margin-bottom: 1.5rem; }
.about-img img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: 80px 6px 80px 6px;
}

/* ─── GALLERY ─── */
#galerie { background: var(--fog); }
.galerie-header { text-align: center; margin-bottom: 2.5rem; }
.gallery-grid {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 1rem; height: 600px;
}
.gal-main { grid-row: 1 / 3; grid-column: 1 / 2; overflow: hidden; border-radius: 12px; }
.gal-sm { overflow: hidden; border-radius: 12px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gal-main:hover img, .gal-sm:hover img { transform: scale(1.04); }

/* Reihe 2 */
.gallery-grid-row2 {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; height: 280px;
}
.gal-sm3 { overflow: hidden; border-radius: 12px; }
.gal-sm3 img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gal-sm3:hover img { transform: scale(1.04); }

/* ─── KONTAKT ─── */
#kontakt { background: var(--linen); }
.kontakt-inner { max-width: 580px; margin: 0 auto; text-align: center; }
.kontakt-inner .sec-h2 { margin-bottom: 0.5rem; }
.kontakt-inner .sec-p { margin: 0 auto 2.5rem; }
.c-form {
  background: #fff; border-radius: 16px;
  padding: 2.5rem; box-shadow: 0 4px 40px rgba(45,31,14,0.08); text-align: left;
}
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f-group { margin-bottom: 1rem; }
.f-group label {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--branch); margin-bottom: 0.4rem;
  display: flex; justify-content: space-between; align-items: center;
}
.char-count {
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0;
  text-transform: none; color: var(--muted);
  transition: color 0.25s;
}
.char-count.char-warn { color: #b03030; font-weight: 700; }
.f-group input, .f-group textarea {
  width: 100%; padding: 0.72rem 1rem;
  border: 1.5px solid var(--stone); border-radius: 6px;
  font-family: var(--ff-sans); font-size: 0.95rem; color: var(--text);
  background: var(--cream); outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.f-group input:focus, .f-group textarea:focus {
  border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(24,107,31,0.12); background: #fff;
}
.f-group input.err, .f-group textarea.err { border-color: #b03030; }
.f-group textarea { resize: vertical; min-height: 120px; max-height: 300px; }
.f-err { font-size: 0.75rem; color: #b03030; margin-top: 0.3rem; display: none; }
.f-err.show { display: block; }

/* Datenschutz-Checkbox */
.f-datenschutz {
  display: flex; align-items: flex-start; gap: 0.6rem;
  margin: 0.5rem 0 0.25rem; padding: 1rem;
  background: var(--cream); border-radius: 8px;
}
.f-datenschutz input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0;
  margin-top: 0.15rem; accent-color: var(--leaf);
  cursor: pointer;
}
.f-datenschutz label {
  font-size: 0.82rem; color: var(--muted); line-height: 1.5;
  cursor: pointer; letter-spacing: 0; text-transform: none; font-weight: 400;
}
.f-datenschutz label a { color: var(--leaf); text-decoration: underline; }
.f-datenschutz label a:hover { color: var(--bark); }

.f-submit {
  width: 100%; padding: 0.9rem; background: var(--leaf); color: #fff;
  border-radius: 6px; border: none; font-family: var(--ff-sans); font-size: 0.88rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; margin-top: 1rem; transition: background 0.3s, transform 0.2s;
}
.f-submit:hover { background: var(--bark); transform: translateY(-2px); }
.f-success { display: none; text-align: center; padding: 2rem 0; }
.f-success.show { display: block; }
.f-success .ico { font-size: 3rem; margin-bottom: 0.75rem; }
.f-success h3 { font-family: var(--ff-serif); font-size: 1.5rem; color: var(--bark); margin-bottom: 0.4rem; }
.f-success p { color: var(--muted); font-size: 0.9rem; }

/* ─── STANDORT ─── */
#standort { background: var(--fog); }
.standort-inner { max-width: 1120px; margin: 0 auto; }
.standort-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
.info-item { margin-bottom: 1.5rem; }
.info-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--moss); margin-bottom: 0.25rem;
}
.info-val { font-size: 1rem; color: var(--text); }
.map-wrap { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 30px rgba(45,31,14,0.12); height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* ─── FOOTER ─── */
footer { background: var(--bark); padding: 2rem 6%; }
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.f-logo { font-family: var(--ff-serif); font-size: 1.05rem; font-weight: 700; color: var(--cream); }
.f-logo small { display: block; font-family: var(--ff-sans); font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage); margin-top: 0.2rem; }
.f-sp { flex: 1; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem; }
.f-socials { display: flex; gap: 0.6rem; }
.soc-ico {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 0.75rem;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
}
.soc-ico:hover { background: var(--leaf); border-color: var(--leaf); color: #fff; transform: scale(1.12); }

/* Legal links */
.f-legal { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.f-copy { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.f-sep { color: rgba(255,255,255,0.2); font-size: 0.78rem; }
.f-legal-link {
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
  transition: color 0.25s; text-decoration: none;
}
.f-legal-link:hover { color: var(--sage); }

/* ─── BACK TO TOP ─── */
#btt {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 800;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--leaf); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer;
  box-shadow: 0 4px 18px rgba(24,107,31,0.45);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity 0.4s, transform 0.4s var(--ease), background 0.3s;
}
#btt.show { opacity: 1; pointer-events: all; transform: none; }
#btt:hover { background: var(--bark); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hbg { display: flex; }
  .leistungen-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .leistungen-img img { aspect-ratio: 4/3; border-radius: 6px 40px 6px 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-text { order: 0; }
  .about-img img { aspect-ratio: 4/3; border-radius: 40px 6px 40px 6px; }
  .about-stats { gap: 1rem; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .gal-main { grid-row: auto; grid-column: auto; height: 320px; }
  .gal-sm { height: 200px; }
  .gallery-grid-row2 { grid-template-columns: 1fr; height: auto; }
  .gal-sm3 { height: 200px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .standort-grid { grid-template-columns: 1fr; }
  .map-wrap { height: 300px; }
  .f-row { grid-template-columns: 1fr; }
  .footer-right { align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .f-sp { display: none; }
}

@media (max-width: 540px) {
  :root { --section-pad: 3.5rem 5%; }
  .hero-h1 { font-size: 2.4rem; }
  .about-stats { flex-direction: column; gap: 0.8rem; }
  .stat { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
}