
:root{
  --ink:#1b1919;
  --muted:#686868;
  --line:#e5e5e5;
  --paper:#ffffff;
  --soft:#f5f5f3;
  --yellow:#f2cf00;
  --yellow-dark:#d6b800;
  --max:1180px;
  --radius:18px;
  --shadow:0 18px 45px rgba(0,0,0,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.55;
}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{width:min(calc(100% - 40px),var(--max));margin-inline:auto}
.kicker{
  display:inline-flex;align-items:center;gap:.55rem;
  text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:800;
}
.kicker:before{content:"";width:34px;height:4px;background:var(--yellow);border-radius:99px}
.section{padding:86px 0}
.section.soft{background:var(--soft)}
.section-head{max-width:760px;margin-bottom:38px}
.section-head h2{font-size:clamp(2rem,4vw,3.25rem);line-height:1.05;margin:.65rem 0 1rem;letter-spacing:-.035em}
.section-head p{font-size:1.08rem;color:var(--muted);margin:0}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
  min-height:48px;padding:0 20px;border-radius:12px;text-decoration:none;font-weight:800;
  border:1px solid transparent;transition:.18s ease;
}
.btn.primary{background:var(--yellow);color:#111}
.btn.primary:hover{background:#ffe21f;transform:translateY(-1px)}
.btn.dark{background:#191919;color:#fff}
.btn.dark:hover{background:#000;transform:translateY(-1px)}
.btn.ghost{border-color:#d8d8d8;background:#fff;color:#111}
.btn.ghost:hover{border-color:#aaa;color:#111}
.btns{display:flex;flex-wrap:wrap;gap:10px}
.btn svg{width:18px;height:18px;flex:0 0 18px}

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);
  backdrop-filter:blur(13px);border-bottom:1px solid rgba(0,0,0,.07)
}
.nav{height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand img{width:260px;height:auto}
.menu{display:flex;align-items:center;gap:24px}
.menu a{text-decoration:none;font-size:.95rem;font-weight:750}
.menu a:hover{color:#766500}
.menu-toggle{display:none;border:0;background:#fff;font-size:1.5rem;padding:8px;border-radius:8px}

/* Hero */
.hero{
  min-height:690px;position:relative;display:grid;align-items:end;overflow:hidden;background:#111;
}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 48%}
.hero:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.80) 0%,rgba(0,0,0,.56) 46%,rgba(0,0,0,.20) 75%,rgba(0,0,0,.12) 100%);
}
.hero-content{position:relative;z-index:2;color:#fff;padding:110px 0 76px;max-width:760px}
.hero .kicker{color:#fff}
.hero h1{font-size:clamp(3rem,7vw,6rem);line-height:.94;letter-spacing:-.055em;margin:20px 0 22px;max-width:920px}
.hero p{font-size:clamp(1.05rem,2vw,1.3rem);max-width:660px;color:rgba(255,255,255,.84);margin:0 0 30px}
.hero-note{margin-top:28px;display:flex;gap:22px;flex-wrap:wrap;color:rgba(255,255,255,.78);font-weight:650;font-size:.93rem}
.hero-note span:before{content:"•";color:var(--yellow);font-size:1.4em;margin-right:8px}

/* Leistungen */
.services{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.service{
  border:1px solid var(--line);border-radius:var(--radius);padding:26px;background:#fff;
  min-height:220px;transition:.2s ease
}
.service:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#d7d7d7}
.service .num{font-size:.8rem;font-weight:900;color:#8c7800;letter-spacing:.1em}
.service h3{margin:26px 0 10px;font-size:1.35rem;line-height:1.15}
.service p{color:var(--muted);margin:0}

/* About */
.about-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:46px;align-items:center}
.about-photo{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.about-photo img{width:100%;aspect-ratio:4/3;object-fit:cover}
.about-copy h2{font-size:clamp(2rem,4vw,3.2rem);line-height:1.04;letter-spacing:-.035em;margin:12px 0 18px}
.about-copy p{font-size:1.05rem;color:var(--muted)}
.machine-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.machine-list span{background:#fff;border:1px solid #ddd;border-radius:999px;padding:8px 12px;font-size:.9rem;font-weight:700}

/* Gallery */
.gallery{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:220px;gap:12px}
.gallery figure{margin:0;border-radius:16px;overflow:hidden;position:relative;background:#ddd;cursor:zoom-in}
.gallery figure:nth-child(1){grid-column:span 7;grid-row:span 2}
.gallery figure:nth-child(2){grid-column:span 5}
.gallery figure:nth-child(3){grid-column:span 5}
.gallery figure:nth-child(4){grid-column:span 4}
.gallery figure:nth-child(5){grid-column:span 4}
.gallery figure:nth-child(6){grid-column:span 4}
.gallery figure:nth-child(7){grid-column:span 6}
.gallery figure:nth-child(8){grid-column:span 3}
.gallery figure:nth-child(9){grid-column:span 3}
.gallery img{width:100%;height:100%;object-fit:cover;transition:.3s ease}
.gallery figure:hover img{transform:scale(1.025)}
.gallery figcaption{
  position:absolute;left:14px;bottom:14px;background:rgba(20,20,20,.78);color:#fff;
  padding:7px 10px;border-radius:8px;font-size:.82rem;font-weight:700;backdrop-filter:blur(5px)
}

/* CTA & Kontakt */
.cta{
  background:#181818;color:#fff;border-radius:26px;padding:52px;
  display:grid;grid-template-columns:1.3fr .7fr;gap:32px;align-items:center
}
.cta h2{font-size:clamp(2.1rem,4vw,3.7rem);line-height:1;margin:0 0 16px;letter-spacing:-.045em}
.cta p{margin:0;color:#cfcfcf;max-width:670px}
.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:34px}
.contact-card{border:1px solid var(--line);border-radius:16px;padding:22px;text-decoration:none;background:#fff}
.contact-card strong{display:block;margin-bottom:6px}
.contact-card span{color:var(--muted)}
.contact-card:hover{border-color:#b7a000}

/* Footer */
.footer{padding:30px 0;border-top:1px solid var(--line);font-size:.9rem;color:#666}
.footer-row{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.footer-links{display:flex;gap:16px;flex-wrap:wrap}
.footer a{text-decoration:none}
.footer a:hover{text-decoration:underline}

/* Legal pages */
.legal-shell{min-height:100vh;background:#f6f6f4}
.legal-top{padding:26px 0;border-bottom:1px solid #ddd;background:white}
.legal-top img{width:220px}
.legal{max-width:850px;margin:0 auto;padding:60px 20px 90px}
.legal h1{font-size:clamp(2.4rem,5vw,4rem);letter-spacing:-.04em}
.legal h2{margin-top:34px}
.legal p,.legal li{color:#4f4f4f}
.legal .back{display:inline-flex;margin-bottom:28px;font-weight:800;text-decoration:none}

/* Lightbox */
.lightbox{
  position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.92);
  display:none;align-items:center;justify-content:center;padding:22px
}
.lightbox.open{display:flex}
.lightbox img{max-width:min(1300px,94vw);max-height:88vh;border-radius:10px}
.lightbox button{
  position:absolute;right:20px;top:18px;border:0;background:rgba(255,255,255,.12);
  color:#fff;width:46px;height:46px;border-radius:50%;font-size:1.7rem;cursor:pointer
}

/* Responsive */
@media(max-width:900px){
  .brand img{width:210px}
  .menu{display:none;position:absolute;top:84px;left:0;right:0;background:#fff;padding:20px;box-shadow:0 12px 30px rgba(0,0,0,.12);flex-direction:column;align-items:flex-start}
  .menu.open{display:flex}
  .menu-toggle{display:block}
  .services{grid-template-columns:1fr 1fr}
  .about-grid{grid-template-columns:1fr}
  .cta{grid-template-columns:1fr;padding:36px}
  .contact-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .wrap{width:min(calc(100% - 28px),var(--max))}
  .nav{height:74px}
  .brand img{width:180px}
  .menu{top:74px}
  .hero{min-height:650px}
  .hero-content{padding-bottom:52px}
  .hero h1{font-size:3.35rem}
  .section{padding:64px 0}
  .services{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr;grid-auto-rows:250px}
  .gallery figure,.gallery figure:nth-child(n){grid-column:auto;grid-row:auto}
  .cta{padding:30px 22px}
}
