:root{
  --brown:#8B5A2B;
  --green:#228B22;

  --bg:#f5f6f4;
  --card:#ffffff;
  --text:#1e1e1e;
  --muted:#555;

  --shadow: 0 12px 30px rgba(0,0,0,.08);
  --radius2: 26px;
  --max: 1100px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto;
  background:
    radial-gradient(800px 400px at 10% 0%, rgba(34,139,34,.06), transparent 50%),
    radial-gradient(800px 400px at 90% 10%, rgba(139,90,43,.08), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height:1.55;
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* ========= Topbar + 3-dot menu ========= */
.topbar{
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 60;
}

.menuBtn{
  appearance:none;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  width: 44px;
  height: 44px;
  display:grid;
  place-items:center;
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  cursor:pointer;
  transition: transform .15s ease, border-color .15s ease;
}

.menuBtn:hover{
  transform: translateY(-1px);
  border-color: rgba(0,0,0,.16);
}

.dots{
  display:flex;
  gap:6px;
  align-items:center;
  justify-content:center;
}
.dots i{
  width:6px;
  height:6px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--green), var(--brown));
  display:block;
}

.menuPanel{
  position:absolute;
  top: 52px;
  right: 0;
  width: 190px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  border:1px solid rgba(0,0,0,.10);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  display:none;
}

.menuPanel.is-open{ display:block; }

.menuPanel a{
  display:block;
  padding: 10px 10px;
  border-radius: 12px;
  font-weight: 800;
  color: #222;
}
.menuPanel a:hover{
  background: rgba(34,139,34,.08);
}

/* ========= Hero (Logo groß + mittig, weniger Abstand) ========= */
.hero{
  padding: 54px 0 10px; /* wichtig: kleiner Abstand nach unten */
  text-align:center;
}

.hero__inner{
  display:block;
}

.heroLogo{
  display:block;
  margin: 0 auto 10px;
  width: min(640px, 88vw);  /* groß & mittig */
  height: auto;
}

.heroTitle{
  margin: 0;
  font-size: clamp(1.65rem, 4.4vw, 2.6rem);
  line-height: 1.08;
}

.amp{
  color: var(--green);
  text-shadow: 0 0 18px rgba(34,139,34,.18);
}

/* ========= Sections (Abstände reduziert, v.a. am Handy) ========= */
.section{
  padding: 40px 0;
}
.section--first{
  padding-top: 12px;  /* direkt nach Hero -> minimal */
}

.section--alt{
  background: linear-gradient(180deg, rgba(0,0,0,.03), transparent 65%);
}

.sectionHead{
  margin-bottom: 16px;
}
.sectionHead h2{
  margin:0;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.muted{ color: var(--muted); }
.small{ font-size:.92rem; }

/* ========= Buttons ========= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px solid rgba(0,0,0,.10);
  background: white;
  color: var(--text);
  font-weight: 900;
  letter-spacing:.01em;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}
.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(0,0,0,.16);
  box-shadow: 0 14px 28px rgba(0,0,0,.10);
}
.btn svg{
  width:18px; height:18px;
  fill: currentColor;
  opacity:.95;
}
.btn--primary{
  background: linear-gradient(135deg, #228B22, #2ea62e);
  border-color: #228B22;
  color:white;
}
.btn--ghost{
  background:white;
  border:1px solid rgba(0,0,0,.12);
  color:#333;
}

/* ========= Leistungen Cards ========= */
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card{
  position:relative;
  background: white;
  border:1px solid rgba(0,0,0,.06);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 18px;
  overflow:hidden;
}

/* Handwerk-Akzentlinie */
.card::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:6px;
  background: linear-gradient(90deg, var(--green), var(--brown));
}

/* dezente Innen-Glow-Ecken */
.card::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(520px 240px at 10% 0%, rgba(34,139,34,.10), transparent 55%),
    radial-gradient(520px 240px at 95% 5%, rgba(139,90,43,.12), transparent 55%);
  pointer-events:none;
}

.card > *{ position:relative; }

.card__top{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 10px;
}

.icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(34,139,34,.06);
  border: 1px solid rgba(0,0,0,.08);
  display:grid;
  place-items:center;
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}
.icon svg{
  width: 22px; height: 22px;
  fill: var(--green);
}

.card h3{
  margin:0;
  font-size: 1.1rem;
  color: var(--text);
}

.list{
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}
.list li{ margin: 6px 0; }

/* ========= Photowall ========= */
.photowall{
  display:flex;
  gap: 14px;
  overflow-x:auto;
  padding: 8px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.photowall::-webkit-scrollbar{ height: 10px; }
.photowall::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.12);
  border-radius:999px;
}

.shot{
  flex: 0 0 auto;
  width: clamp(220px, 28vw, 320px);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius2);
  overflow:hidden;
  background:white;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}
.shot img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
}

/* ========= About ========= */
.about{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  align-items:center;
}

.about__img img{
  width:100%;
  border-radius: var(--radius2);
  border:1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow);
  display:block;
  object-fit:cover;
  aspect-ratio: 4 / 5;
}

/* ========= Kontakt ========= */
.section--contact{
  padding-bottom: 60px;
}

.contactCard{
  border-radius: var(--radius2);
  background: white;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  text-align:center;
}

.contactRow{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin: 14px 0 12px;
}
.contactRow--center{ justify-content:center; }

.divider{
  height:1px;
  background: rgba(0,0,0,.10);
  margin: 18px 0;
}

/* ========= Footer ========= */
.footer{
  padding: 16px 0 26px;
  border-top: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.65);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.footer p{ margin:0; }

/* ========= Reveal ========= */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

/* ========= Mobile ========= */
@media (max-width: 920px){
  .container{ width: calc(100% - 28px); }

  .topbar{ top: 10px; right: 10px; }
  .menuBtn{ width: 42px; height: 42px; border-radius: 14px; }

  .hero{ padding: 42px 0 6px; }        /* Abstand oben/unten stark reduziert */
  .heroLogo{ width: min(520px, 96vw); margin-bottom: 8px; }
  .heroTitle{ font-size: clamp(1.45rem, 5.4vw, 2.0rem); }

  .section{ padding: 32px 0; }
  .section--first{ padding-top: 8px; } /* Abstand zu Leistungen sehr klein */

  .grid3{ grid-template-columns: 1fr; }

  .about{ grid-template-columns: 1fr; }

  .contactRow--center{ justify-content:stretch; }
  .contactRow--center .btn{ width:100%; }
}
.footerLink{
  font-weight:700;
  color:#555;
}
.footerLink:hover{
  color:#228B22;
}
