
:root{
  --green:#75bf34;
  --dark:#111516;
  --black:#0b0f10;
  --muted:#66706b;
  --line:#d9e4dc;
  --bg:#ffffff;
  --soft:#f6f8f6;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--dark);
  background:var(--bg);
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
.container{width:min(1180px,92%);margin:auto}
.topbar{
  background:linear-gradient(135deg,#0b0f10,#171d1d);
  border-bottom:3px solid var(--green);
  box-shadow:0 8px 30px rgba(0,0,0,.18);
}
.nav{
  display:grid;
  grid-template-columns:270px 1fr;
  align-items:center;
  gap:16px 28px;
  padding:12px 0 16px;
}
.brand img{
  width:250px;
  max-height:112px;
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.35));
}
.menu{
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:flex-end;
  font-weight:800;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:#fff;
}
.menu a:hover{color:var(--green)}
.cta{
  background:var(--green);
  color:white!important;
  padding:10px 16px;
  border-radius:999px;
}
.header-contact{
  grid-column:1 / -1;
  justify-self:end;
  color:#dfe7e2;
  font-size:14px;
  font-weight:700;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.header-contact a:hover{color:var(--green)}
.hero{
  position:relative;
  padding:82px 0 76px;
  background:
    linear-gradient(110deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.9) 54%,rgba(17,21,22,.76) 100%),
    radial-gradient(circle at 80% 20%,rgba(117,191,52,.20),transparent 35%),
    var(--soft);
  border-bottom:4px solid var(--green);
}
.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:42px;
  align-items:center;
}
.kicker{color:var(--green);font-weight:900;text-transform:uppercase;letter-spacing:.12em;font-size:14px}
h1{
  font-size:clamp(36px,5vw,64px);
  line-height:1.05;
  margin:14px 0 22px;
  letter-spacing:-.04em;
}
.hero p{font-size:20px;color:#303735;max-width:760px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:13px 20px;
  border-radius:8px;
  border:2px solid var(--green);
  font-weight:900;
}
.btn.primary{background:var(--green);color:#fff}
.btn.secondary{background:#fff;color:var(--dark)}
.hero-card{
  background:rgba(255,255,255,.93);
  border:1px solid var(--line);
  border-left:5px solid var(--green);
  padding:28px;
  border-radius:18px;
  box-shadow:0 20px 70px rgba(0,0,0,.12);
}
.hero-card h3{margin:0 0 12px;font-size:23px}
.hero-card ul{padding-left:18px;margin:0;color:#303735}
.quick-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.quick-links a{
  background:#101514;
  color:#fff;
  border-radius:8px;
  padding:10px 12px;
  font-weight:800;
  font-size:14px;
}
.quick-links a:hover{background:var(--green)}
.section{padding:78px 0}
.section.alt{background:var(--soft)}
.section-title{max-width:820px;margin-bottom:38px}
.section-title h2{font-size:clamp(30px,4vw,44px);line-height:1.12;margin:0 0 14px}
.section-title p{color:var(--muted);font-size:18px;margin:0}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{
  background:#fff;
  border:1px solid var(--line);
  border-top:4px solid var(--green);
  padding:26px;
  border-radius:14px;
  min-height:210px;
  box-shadow:0 8px 30px rgba(0,0,0,.04);
}
.card h3{font-size:21px;margin:0 0 10px}
.card p{margin:0;color:#46504c}
.split{display:grid;grid-template-columns:.9fr 1.1fr;gap:40px;align-items:start}
.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:30px}
.checks{display:grid;gap:12px;margin-top:22px}
.check{display:flex;gap:12px;align-items:flex-start}
.check:before{content:"";width:10px;height:10px;border-radius:50%;background:var(--green);margin-top:8px;flex:none}
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.placeholder{
  height:190px;
  background:linear-gradient(135deg,#111516,#26302b);
  border-radius:14px;
  border:1px solid #2c382f;
  position:relative;
  overflow:hidden;
}
.placeholder span{
  position:absolute;
  left:18px;
  bottom:16px;
  color:#fff;
  font-weight:900;
  letter-spacing:.05em;
}
.placeholder:before{content:"";position:absolute;inset:auto 0 0 0;height:5px;background:var(--green)}
.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:28px}
.contact-box{background:var(--dark);color:#fff;padding:32px;border-radius:16px}
.contact-box h3{margin-top:0}
.contact-line{padding:10px 0;border-bottom:1px solid rgba(255,255,255,.15)}
.contact-note{margin-top:18px;color:#cdd8d1}
.form{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.form label{font-weight:700;font-size:14px}
.form input,.form select,.form textarea{width:100%;padding:13px 12px;border:1px solid var(--line);border-radius:8px;font:inherit;margin-top:6px}
.form .full{grid-column:1/-1}
.form textarea{min-height:140px}
.footer{background:#0d1010;color:#dbe3df;padding:34px 0;border-top:4px solid var(--green)}
.footer small{color:#98a39d}
@media (max-width:900px){
  .nav{grid-template-columns:1fr}
  .brand img{width:240px}
  .menu{justify-content:flex-start;flex-wrap:wrap}
  .header-contact{justify-self:start}
  .hero-grid,.split,.contact-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr 1fr}
  .gallery{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){
  .nav{padding:12px 0}
  .cards,.gallery,.form{grid-template-columns:1fr}
  .brand img{width:225px}
  .menu{gap:14px;font-size:12px}
  .cta{padding:9px 14px}
  .header-contact{font-size:13px}
  .hero{padding:68px 0}
  .hero p{font-size:18px}
}


.hero-photo-card{
  padding:0;
  overflow:hidden;
}
.hero-photo-card img{
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
}
.hero-card-content{
  padding:26px 28px 28px;
}
.gallery-real{
  grid-template-columns:repeat(4,1fr);
}
.gallery-item{
  position:relative;
  display:block;
  height:230px;
  overflow:hidden;
  border-radius:14px;
  border:1px solid #2c382f;
  background:#111516;
  box-shadow:0 10px 28px rgba(0,0,0,.10);
}
.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease, opacity .35s ease;
}
.gallery-item:hover img{
  transform:scale(1.05);
  opacity:.88;
}
.gallery-item span{
  position:absolute;
  left:14px;
  right:14px;
  bottom:12px;
  color:#fff;
  font-weight:900;
  letter-spacing:.04em;
  text-shadow:0 2px 12px rgba(0,0,0,.75);
}
.gallery-item:before{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:45%;
  background:linear-gradient(transparent,rgba(0,0,0,.72));
  z-index:1;
}
.gallery-item span{z-index:2}
@media (max-width:900px){
  .gallery-real{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){
  .gallery-real{grid-template-columns:1fr}
  .gallery-item{height:260px}
  .hero-photo-card img{height:230px}
}

.whatsapp-link{
  color:#9be76b!important;
}
.whatsapp-link:hover{
  color:#ffffff!important;
}


.lang-switch{
  grid-column:1 / -1;
  justify-self:end;
  display:flex;
  align-items:center;
  gap:8px;
  color:#dfe7e2;
  font-size:13px;
  font-weight:900;
  letter-spacing:.08em;
}
.lang-switch a{
  color:#dfe7e2;
  padding:5px 7px;
  border-radius:6px;
}
.lang-switch a.active,
.lang-switch a:hover{
  background:var(--green);
  color:#fff;
}
.whatsapp-link{color:#9be76b!important}
.whatsapp-link:hover{color:#ffffff!important}
@media (max-width:900px){
  .lang-switch{justify-self:start}
}

/* Updated full project gallery */
.gallery-real{
  grid-template-columns:repeat(4,1fr);
}
.gallery-item{
  height:220px;
}
@media (max-width:1100px){
  .gallery-real{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:800px){
  .gallery-real{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:560px){
  .gallery-real{grid-template-columns:1fr;}
  .gallery-item{height:260px;}
}

/* Grouped gallery update: fewer category titles, no caption on every image */
.gallery-group{
  margin-top:34px;
}
.gallery-group:first-of-type{
  margin-top:0;
}
.gallery-group h3{
  font-size:24px;
  margin:0 0 14px;
  padding-left:14px;
  border-left:5px solid var(--green);
}
.gallery-compact{
  margin-bottom:28px;
}
.gallery-photo-only span,
.gallery-photo-only:before{
  display:none!important;
}
.gallery-photo-only{
  height:220px;
}
.gallery-photo-only img{
  filter:none;
}
@media (max-width:560px){
  .gallery-photo-only{height:255px;}
}

/* Clean header update: contact details are visible only in Kontakt section */
.header-contact{
  display:none!important;
}

/* Team / third generation photo */
.team-photo-block{
  grid-column:1 / -1;
  margin-top:26px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 14px 45px rgba(0,0,0,.08);
}
.team-photo-block img{
  width:100%;
  max-height:620px;
  object-fit:cover;
  object-position:center;
  display:block;
}
.team-photo-caption{
  padding:24px 28px 28px;
  border-top:4px solid var(--green);
}
.team-photo-caption h3{
  margin:0 0 8px;
  font-size:26px;
}
.team-photo-caption p{
  margin:0;
  color:#46504c;
  font-size:17px;
}
@media (max-width:600px){
  .team-photo-block img{
    max-height:520px;
  }
  .team-photo-caption{
    padding:20px;
  }
  .team-photo-caption h3{
    font-size:22px;
  }
}

/* Original team photo: shown without AI changes */
.team-photo-block img{
  object-fit:contain!important;
  background:#111516;
  max-height:none!important;
}

/* EU ready additions */
.footer a{
  color:#dbe3df;
  text-decoration:underline;
}
.legal-page{
  max-width:920px;
}
.legal-page h1{
  font-size:clamp(34px,5vw,54px);
  margin-bottom:24px;
}
.legal-page h2{
  margin-top:28px;
  font-size:24px;
}
.legal-page p{
  color:#303735;
  font-size:17px;
}
.legal-note{
  margin-top:34px;
  padding:16px 18px;
  border-left:5px solid var(--green);
  background:var(--soft);
}

/* Final polish: header image behind logo */
.topbar{
  background:
    linear-gradient(90deg, rgba(11,15,16,.88), rgba(11,15,16,.76)),
    url("assets/header-greenhouse-bg.jpg") center center / cover no-repeat!important;
}
.nav{
  padding-top:22px!important;
  padding-bottom:22px!important;
}
.brand img{
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.65))!important;
}

/* Grouped portfolio gallery */
.gallery-group{
  margin-top:36px;
}
.gallery-group:first-of-type{
  margin-top:0;
}
.gallery-group h3{
  font-size:24px;
  margin:0 0 14px;
  padding-left:14px;
  border-left:5px solid var(--green);
}
.gallery-compact{
  margin-bottom:28px;
}
.gallery-photo-only span,
.gallery-photo-only:before{
  display:none!important;
}
.gallery-photo-only{
  height:220px;
}
.gallery-photo-only img{
  filter:none;
}
@media (max-width:1100px){
  .gallery-real{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:800px){
  .gallery-real{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:560px){
  .gallery-real{grid-template-columns:1fr;}
  .gallery-photo-only{height:255px;}
}

/* Stronger contact CTA */
.whatsapp-cta{
  background:#f1f8ed;
  border:1px solid #d8ebcd;
  border-left:5px solid var(--green);
  border-radius:12px;
  padding:16px 18px;
  margin:18px 0 20px;
}
.whatsapp-cta p{
  margin:0 0 12px;
  color:#303735;
  font-weight:700;
}
.whatsapp-cta a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--green);
  color:#fff;
  padding:11px 16px;
  border-radius:8px;
  font-weight:900;
}

/* Original team photo shown naturally */
.team-photo-block img{
  object-fit:contain!important;
  background:#111516;
  max-height:none!important;
}

/* Hero card image and title polish */
.hero-photo-card img{
  height:300px!important;
  object-fit:cover!important;
  object-position:center!important;
}
.hero-card-content h3{
  font-size:clamp(26px, 4vw, 34px)!important;
  line-height:1.18!important;
}
@media (max-width:600px){
  .hero-photo-card img{
    height:230px!important;
  }
  .hero-card-content h3{
    font-size:28px!important;
  }
}
