/* ============================================================
   EPB LUCCHETTO GmbH — Biogasanlagen Service · Bad Pyrmont
   Brand-driven design from the logo palette
   Graphite · Biogas-Grün · Wasser-Blau · Sonnen-Amber
   ============================================================ */

@import url('fonts.css');

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  /* Brand (sampled from logo) */
  --green:        #4e9e28;
  --green-bright: #62bd35;
  --green-deep:   #33711a;
  --green-dark:   #1e4a10;
  --leaf:         #7ccb4d;
  --blue:         #1d70c2;
  --blue-bright:  #2f8ce0;
  --amber:        #f2a93b;
  --silver:       #b9c0c4;

  /* Surfaces */
  --bg-hero:      #0b100d;
  --bg-dark:      #0e1410;
  --bg-dark-2:    #142019;
  --bg-light:     #f4f6f1;
  --bg-light-2:   #fafbf8;
  --bg-white:     #ffffff;

  /* Text */
  --ink:          #14211a;
  --ink-soft:     #42544a;
  --ink-muted:    #6c7d73;
  --on-dark:      #eef3ec;
  --on-dark-70:   rgba(238,243,236,0.72);
  --on-dark-50:   rgba(238,243,236,0.52);
  --on-dark-35:   rgba(238,243,236,0.32);

  /* Lines */
  --line:         #e0e6da;
  --line-strong:  #c9d2c0;
  --line-dark:    rgba(238,243,236,0.12);

  /* Shadows */
  --sh-sm:  0 1px 3px rgba(14,20,16,.08);
  --sh-md:  0 8px 30px rgba(14,20,16,.10);
  --sh-lg:  0 24px 60px rgba(14,20,16,.18);
  --sh-green: 0 8px 26px rgba(51,113,26,.35);

  /* Type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --section-py: clamp(4.5rem, 9vw, 8rem);

  --t-fast: 150ms ease;
  --t-med:  260ms cubic-bezier(.4,0,.2,1);
  --t-slow: 520ms cubic-bezier(.16,1,.3,1);

  --z-base: 10; --z-card: 20; --z-nav: 50; --z-modal: 80; --z-float: 70;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; border-radius: 2px; }
::selection { background: rgba(98,189,53,.30); color: var(--green-dark); }

/* ── Container ───────────────────────────────────────────── */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.4rem; }
@media (min-width:768px){ .container { padding: 0 2rem; } }
@media (min-width:1100px){ .container { padding: 0 3rem; } }

/* ── Scroll progress ─────────────────────────────────────── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--amber), var(--blue) 50%, var(--green-bright));
  z-index: calc(var(--z-nav) + 5); transition: width .1s linear;
}

/* ── Shared headings / eyebrows ──────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 1.1rem;
}
.eyebrow::before { content:''; width: 1.9rem; height: 2px; background: var(--green-bright); border-radius: 2px; }
.eyebrow--light { color: var(--leaf); }
.eyebrow--center { justify-content: center; }

.h-sec {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -.02em; color: var(--ink);
}
.h-sec--light { color: var(--on-dark); }
.sub-sec { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.75; max-width: 58ch; margin-top: 1rem; }
.sub-sec--light { color: var(--on-dark-70); }
.section-head { margin-bottom: 3.25rem; }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .sub-sec { margin-left: auto; margin-right: auto; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: .95rem 1.9rem; border-radius: 999px;
  transition: transform var(--t-med), box-shadow var(--t-med), background var(--t-med), color var(--t-med);
  will-change: transform;
}
.btn svg { transition: transform var(--t-med); }
.btn:hover svg { transform: translateX(4px); }
.btn-green { background: linear-gradient(135deg, var(--green-bright), var(--green-deep)); color: #fff; box-shadow: var(--sh-green); }
.btn-green:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(51,113,26,.45); }
.btn-outline { border: 1.5px solid var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--green); color: var(--green-deep); transform: translateY(-3px); }
.btn-outline--light { border-color: var(--on-dark-35); color: var(--on-dark); }
.btn-outline--light:hover { border-color: var(--leaf); color: var(--leaf); }
.btn-lg { padding: 1.1rem 2.3rem; font-size: 1.02rem; }

/* ── Navbar ──────────────────────────────────────────────── */
#navbar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  padding: 1rem 0; transition: background var(--t-med), box-shadow var(--t-med), padding var(--t-med);
}
#navbar.scrolled {
  background: rgba(11,16,13,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark); padding: .6rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-logo { display: flex; align-items: center; gap: .8rem; }
.nav-logo img { height: 46px; width: auto; }
.nav-logo .nl-text { display: flex; flex-direction: column; line-height: 1.12; }
.nav-logo .nl-name { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; color: var(--on-dark); letter-spacing: .01em; }
.nav-logo .nl-name em { font-style: normal; color: var(--green-bright); }
.nav-logo .nl-sub { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-50); }
.nav-links { display: none; align-items: center; gap: 1.9rem; }
@media (min-width:1000px){ .nav-links { display: flex; } }
.nav-links a {
  font-family: var(--font-display); font-size: .92rem; font-weight: 500;
  color: var(--on-dark-70); position: relative; padding: .3rem 0; transition: color var(--t-fast);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--green-bright); border-radius: 2px; transition: width var(--t-med);
}
.nav-links a:hover, .nav-links a.active { color: var(--on-dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: none; }
@media (min-width:1000px){ .nav-cta { display: inline-flex; padding: .7rem 1.5rem; font-size: .88rem; } }
.nav-burger {
  display: inline-flex; flex-direction: column; gap: 5px; padding: .6rem; z-index: calc(var(--z-nav) + 2);
}
@media (min-width:1000px){ .nav-burger { display: none; } }
.nav-burger span { width: 24px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform var(--t-med), opacity var(--t-med); }
.nav-burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2){ opacity: 0; }
.nav-burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: calc(var(--z-nav) + 1);
  background: rgba(11,16,13,.98); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
  opacity: 0; pointer-events: none; transition: opacity var(--t-med);
}
.nav-mobile.open { opacity: 1; pointer-events: auto; }
.nav-mobile a {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--on-dark-70);
  transition: color var(--t-fast), transform var(--t-med);
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--green-bright); }

/* ── Hero ────────────────────────────────────────────────── */
#hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--bg-hero); color: var(--on-dark); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.08); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,16,13,.55) 0%, rgba(11,16,13,.25) 40%, rgba(11,16,13,.92) 100%),
              linear-gradient(100deg, rgba(11,16,13,.82) 0%, rgba(11,16,13,.25) 60%);
}
.hero-inner { position: relative; z-index: var(--z-base); padding: 9rem 0 5.5rem; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  border: 1px solid var(--line-dark); background: rgba(238,243,236,.06);
  border-radius: 999px; padding: .45rem 1.05rem;
  font-size: .8rem; letter-spacing: .06em; color: var(--on-dark-70); margin-bottom: 1.6rem;
  backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 4px rgba(98,189,53,.22); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 3px rgba(98,189,53,.25);} 50%{ box-shadow: 0 0 0 7px rgba(98,189,53,.08);} }
.hero-h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -.025em; max-width: 15ch;
}
.hero-h1 .hl { color: var(--green-bright); }
.hero-h1 .hl-blue { color: var(--blue-bright); }
.hero-sub { margin-top: 1.5rem; max-width: 54ch; font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--on-dark-70); line-height: 1.75; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero-usps { display: flex; flex-wrap: wrap; gap: 1.6rem 2.6rem; margin-top: 3.4rem; }
.hero-usps .usp { display: flex; align-items: center; gap: .7rem; font-size: .92rem; color: var(--on-dark-70); }
.hero-usps .usp svg { color: var(--green-bright); flex-shrink: 0; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--on-dark-50); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  z-index: var(--z-base);
}
.hero-scroll .mouse { width: 24px; height: 38px; border: 1.5px solid var(--on-dark-35); border-radius: 14px; position: relative; }
.hero-scroll .mouse::after { content:''; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 3px; background: var(--green-bright); animation: wheel 1.8s infinite; }
@keyframes wheel { 0%{ opacity:1; transform: translateY(0);} 70%{ opacity:0; transform: translateY(12px);} 100%{ opacity:0; } }

/* ── Stats band ──────────────────────────────────────────── */
#stats { background: var(--bg-dark); border-top: 1px solid var(--line-dark); padding: 2.6rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width:820px){ .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--green-bright); line-height: 1; }
.stat .num .suffix { color: var(--on-dark); }
.stat .lbl { margin-top: .5rem; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-50); }

/* ── Reveal animations ───────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="left"].revealed, [data-reveal="right"].revealed { transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-media img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── Sections generic ────────────────────────────────────── */
.section { padding: var(--section-py) 0; }
.section--light { background: var(--bg-light); }
.section--white { background: var(--bg-white); }
.section--dark { background: var(--bg-dark); color: var(--on-dark); }

/* ── About split ─────────────────────────────────────────── */
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width:980px){ .about-grid { grid-template-columns: 1.05fr .95fr; gap: 4.5rem; } }
.about-media { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--sh-lg); }
.about-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.about-media:hover img { transform: scale(1.04); }
.about-media .am-tag {
  position: absolute; left: 1.2rem; bottom: 1.2rem;
  background: rgba(11,16,13,.82); backdrop-filter: blur(8px);
  color: var(--on-dark); border-radius: 14px; padding: .9rem 1.2rem;
  font-family: var(--font-display); font-size: .9rem; line-height: 1.35;
  border: 1px solid var(--line-dark);
}
.about-media .am-tag strong { color: var(--green-bright); }
.about-list { margin-top: 1.8rem; display: grid; gap: 1rem; }
.about-list li { display: flex; gap: .85rem; align-items: flex-start; color: var(--ink-soft); }
.about-list svg { flex-shrink: 0; color: var(--green); margin-top: .2rem; }
.about-list strong { color: var(--ink); }

/* ── Service cards ───────────────────────────────────────── */
.svc-grid { display: grid; gap: 1.6rem; }
@media (min-width:700px){ .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1080px){ .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-card {
  background: var(--bg-white); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: var(--line-strong); }
.svc-card .sc-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.svc-card .sc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.svc-card:hover .sc-media img { transform: scale(1.06); }
.svc-card .sc-media::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 55%, rgba(11,16,13,.45)); }
.svc-card .sc-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; }
.svc-card p { margin-top: .65rem; font-size: .95rem; color: var(--ink-soft); flex: 1; }
.svc-card .sc-link {
  margin-top: 1.2rem; display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--green-deep);
}
.svc-card .sc-link svg { transition: transform var(--t-med); }
.svc-card:hover .sc-link svg { transform: translateX(5px); }
.svc-icon {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(11,16,13,.72); backdrop-filter: blur(6px); color: var(--green-bright);
  border: 1px solid var(--line-dark);
}

/* ── Detail service rows (leistungen.html) ───────────────── */
.svc-row { display: grid; gap: 2.4rem; align-items: center; padding: 3.4rem 0; border-top: 1px solid var(--line); }
.svc-row:first-of-type { border-top: none; }
@media (min-width:960px){
  .svc-row { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .svc-row.rev .sr-media { order: 2; }
}
.sr-media { border-radius: 20px; overflow: hidden; box-shadow: var(--sh-md); aspect-ratio: 4/3; }
.sr-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.svc-row:hover .sr-media img { transform: scale(1.04); }
.sr-body h2, .sr-body h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -.015em; }
.sr-body p { margin-top: 1rem; color: var(--ink-soft); }
.sr-body ul { margin-top: 1.3rem; display: grid; gap: .7rem; }
.sr-body li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink-soft); font-size: .97rem; }
.sr-body li svg { flex-shrink: 0; color: var(--green); margin-top: .22rem; }

/* ── Process / journey timeline ──────────────────────────── */
.proc-wrap { position: relative; max-width: 880px; margin: 0 auto; }
.proc-line { position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: var(--line-strong); }
.proc-line .fill { position: absolute; top: 0; left: 0; width: 100%; height: 0%; background: linear-gradient(180deg, var(--green-bright), var(--blue)); transition: height .25s linear; }
@media (min-width:800px){ .proc-line { left: 50%; margin-left: -1px; } }
.proc-step { position: relative; display: flex; gap: 1.6rem; padding: 1.6rem 0 1.6rem 0; }
.proc-num {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-white); border: 2px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink-muted);
  transition: border-color var(--t-med), color var(--t-med), box-shadow var(--t-med), background var(--t-med);
  position: relative; z-index: 2;
}
.proc-step.active .proc-num { border-color: var(--green); color: #fff; background: linear-gradient(135deg, var(--green-bright), var(--green-deep)); box-shadow: var(--sh-green); }
.proc-body h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.proc-body p { margin-top: .5rem; color: var(--ink-soft); font-size: .97rem; max-width: 46ch; }
@media (min-width:800px){
  .proc-step { width: 50%; padding-right: 3.4rem; }
  .proc-step:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 3.4rem; }
  .proc-step:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
  .proc-step:nth-child(odd) .proc-body p { margin-left: auto; }
  .proc-step:nth-child(odd) .proc-num { transform: translateX(50%); }
  .proc-step:nth-child(even) .proc-num { transform: translateX(-50%); }
}

/* ── Qualification cards (no scans, names only) ──────────── */
.qual-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width:680px){ .qual-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1080px){ .qual-grid { grid-template-columns: repeat(3, 1fr); } }
.qual-card {
  position: relative; background: var(--bg-white); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.7rem 1.7rem 1.5rem; display: flex; flex-direction: column; gap: .9rem; overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.qual-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--green-bright), var(--blue)); opacity: 0; transition: opacity var(--t-med);
}
.qual-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--line-strong); }
.qual-card:hover::before { opacity: 1; }
.qc-top { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.qc-issuer {
  display: inline-flex; align-items: center; font-family: var(--font-display);
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: rgba(29,112,194,.08); border-radius: 999px; padding: .35rem .8rem; white-space: nowrap;
}
.qc-valid { font-size: .78rem; color: var(--ink-muted); white-space: nowrap; }
.qc-ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(78,158,40,.1); color: var(--green-deep);
}
.qual-card h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.qual-card p { font-size: .92rem; color: var(--ink-soft); flex: 1; }
.qc-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.qc-tag { font-size: .75rem; border: 1px solid var(--line); border-radius: 999px; padding: .25rem .7rem; color: var(--ink-muted); }
.qual-note {
  margin-top: 2.4rem; text-align: center; font-size: .92rem; color: var(--ink-muted);
  display: flex; align-items: center; justify-content: center; gap: .55rem; flex-wrap: wrap;
}
.qual-note svg { color: var(--green); flex-shrink: 0; }

/* ── Certificates ────────────────────────────────────────── */
.cert-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width:760px){ .cert-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width:1080px){ .cert-grid { grid-template-columns: repeat(4, 1fr); } }
.cert-card {
  background: var(--bg-white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med); cursor: zoom-in;
}
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.cert-card .cc-img { aspect-ratio: 3/4; overflow: hidden; background: var(--bg-light); }
.cert-card .cc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cert-card .cc-body { padding: 1rem 1.1rem 1.15rem; }
.cert-card h3 { font-family: var(--font-display); font-size: .95rem; font-weight: 600; line-height: 1.3; }
.cert-card .cc-meta { margin-top: .35rem; font-size: .78rem; color: var(--ink-muted); letter-spacing: .04em; text-transform: uppercase; }
.cert-badges { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.cert-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--line-dark); background: rgba(238,243,236,.06);
  border-radius: 999px; padding: .5rem 1.05rem; font-size: .84rem; color: var(--on-dark-70);
}
.cert-badge svg { color: var(--green-bright); }

/* ── Lightbox ────────────────────────────────────────────── */
#lightbox {
  position: fixed; inset: 0; z-index: var(--z-modal); background: rgba(11,16,13,.93);
  display: none; align-items: center; justify-content: center; padding: 2rem;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: min(92vw, 860px); max-height: 86vh; border-radius: 10px; box-shadow: var(--sh-lg); }
#lightbox .lb-close {
  position: absolute; top: 1.2rem; right: 1.4rem; color: var(--on-dark);
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(238,243,236,.08); transition: background var(--t-fast);
}
#lightbox .lb-close:hover { background: rgba(238,243,236,.18); }
#lightbox .lb-caption { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: var(--on-dark-70); font-size: .9rem; text-align: center; max-width: 90vw; }

/* ── Work gallery (real jobsite photos) ──────────────────── */
.gal-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width:760px){ .gal-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width:1080px){ .gal-grid { grid-template-columns: repeat(4, 1fr); gap: 1.3rem; } }
.gal-item {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3/4;
  cursor: zoom-in; border: 1px solid var(--line);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.gal-item:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.gal-item:hover img { transform: scale(1.06); }
.gal-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.2rem .95rem .85rem;
  background: linear-gradient(180deg, transparent, rgba(11,16,13,.82));
  color: var(--on-dark); font-family: var(--font-display); font-size: .84rem; font-weight: 600;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--t-med), transform var(--t-med);
}
.gal-item:hover figcaption { opacity: 1; transform: none; }
@media (hover:none){ .gal-item figcaption { opacity: 1; transform: none; } }
/* ── Why us / dark band ──────────────────────────────────── */
.why-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width:980px){ .why-grid { grid-template-columns: .95fr 1.05fr; gap: 4.5rem; } }
.why-items { display: grid; gap: 1.1rem; margin-top: 2rem; }
.why-item {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--bg-dark-2); border: 1px solid var(--line-dark); border-radius: 16px; padding: 1.25rem 1.4rem;
  transition: transform var(--t-med), border-color var(--t-med);
}
.why-item:hover { transform: translateX(6px); border-color: rgba(98,189,53,.4); }
.why-item .wi-ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(98,189,53,.12); color: var(--green-bright); }
.why-item h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--on-dark); }
.why-item p { margin-top: .3rem; font-size: .92rem; color: var(--on-dark-70); }
.why-media { border-radius: 22px; overflow: hidden; box-shadow: var(--sh-lg); position: relative; }
.why-media img { width: 100%; object-fit: cover; }

/* ── Coverage / Einsatzgebiet ────────────────────────────── */
.area-band {
  display: grid; gap: 2.5rem; align-items: center;
  background: linear-gradient(120deg, var(--green-dark), #123c1f 55%, #0f2f42);
  border-radius: 26px; padding: clamp(2rem, 5vw, 3.8rem); color: var(--on-dark);
  position: relative; overflow: hidden;
}
@media (min-width:900px){ .area-band { grid-template-columns: 1.1fr .9fr; } }
.area-band::after {
  content:''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(circle, rgba(98,189,53,.25), transparent 65%);
}
.area-band h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; }
.area-band p { margin-top: 1rem; color: var(--on-dark-70); max-width: 52ch; }
.area-tags { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.area-tag { border: 1px solid rgba(238,243,236,.25); border-radius: 999px; padding: .5rem 1.1rem; font-size: .86rem; color: var(--on-dark); background: rgba(238,243,236,.07); }
.area-tag strong { color: var(--leaf); }

/* ── CTA band ────────────────────────────────────────────── */
.cta-band { text-align: center; padding: var(--section-py) 0; background: var(--bg-dark); color: var(--on-dark); position: relative; overflow: hidden; }
.cta-band::before {
  content:''; position: absolute; left: 50%; top: -180px; transform: translateX(-50%);
  width: 640px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(98,189,53,.16), transparent 65%);
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.02em; position: relative; }
.cta-band p { margin: 1.1rem auto 0; max-width: 54ch; color: var(--on-dark-70); position: relative; }
.cta-band .hero-ctas { justify-content: center; position: relative; }

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width:980px){ .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }
.contact-info { display: grid; gap: 1.2rem; align-content: start; }
.ci-card {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--bg-white); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem 1.4rem;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.ci-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.ci-card .ci-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(78,158,40,.12); color: var(--green-deep); }
.ci-card h3 { font-family: var(--font-display); font-size: .98rem; font-weight: 700; }
.ci-card p, .ci-card a.val { margin-top: .25rem; font-size: .95rem; color: var(--ink-soft); display: block; }
.ci-card a.val:hover { color: var(--green-deep); }

.contact-form {
  background: var(--bg-white); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(1.6rem, 3.5vw, 2.6rem); box-shadow: var(--sh-md);
}
.form-row { display: grid; gap: 1.2rem; margin-bottom: 1.2rem; }
@media (min-width:640px){ .form-row--2 { grid-template-columns: 1fr 1fr; } }
.form-field label { display: block; font-family: var(--font-display); font-size: .85rem; font-weight: 600; margin-bottom: .45rem; color: var(--ink); }
.form-field label .req { color: var(--green-deep); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; font-family: var(--font-body); font-size: .97rem; color: var(--ink);
  background: var(--bg-light-2); border: 1.5px solid var(--line); border-radius: 12px;
  padding: .85rem 1.05rem; transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--green); background: var(--bg-white); box-shadow: 0 0 0 4px rgba(78,158,40,.12);
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; color: var(--ink-muted); margin: 1.1rem 0 1.4rem; }
.form-consent input { margin-top: .25rem; accent-color: var(--green); width: 17px; height: 17px; flex-shrink: 0; }
.form-consent a { color: var(--green-deep); text-decoration: underline; }
.form-status { margin-top: 1rem; padding: .9rem 1.2rem; border-radius: 12px; font-size: .93rem; display: none; }
.form-status.ok { display: block; background: rgba(78,158,40,.12); color: var(--green-dark); border: 1px solid rgba(78,158,40,.3); }
.form-status.err { display: block; background: rgba(200,60,50,.1); color: #a03227; border: 1px solid rgba(200,60,50,.3); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ── Page hero (subpages) ────────────────────────────────── */
.page-hero {
  position: relative; background: var(--bg-hero); color: var(--on-dark);
  padding: 10rem 0 5rem; overflow: hidden;
}
.page-hero .ph-media { position: absolute; inset: 0; }
.page-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero .ph-media::after { content:''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,13,.6), rgba(11,16,13,.94)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.06; max-width: 20ch; }
.page-hero .ph-sub { margin-top: 1.2rem; max-width: 58ch; color: var(--on-dark-70); font-size: 1.05rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-size: .82rem; color: var(--on-dark-50); margin-bottom: 1.3rem; }
.breadcrumbs a:hover { color: var(--on-dark); }
.breadcrumbs .sep { opacity: .5; }
.breadcrumbs [aria-current] { color: var(--leaf); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: .9rem; }
.faq-item { background: var(--bg-white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.4rem; font-family: var(--font-display); font-weight: 600; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .fi-ic { flex-shrink: 0; transition: transform var(--t-med); color: var(--green-deep); }
.faq-item[open] summary .fi-ic { transform: rotate(45deg); }
.faq-item .fi-body { padding: 0 1.4rem 1.25rem; color: var(--ink-soft); font-size: .96rem; }

/* ── Footer ──────────────────────────────────────────────── */
footer { background: var(--bg-hero); color: var(--on-dark-70); }
.footer-main { display: grid; gap: 2.6rem; padding: 4rem 0 3rem; }
@media (min-width:860px){ .footer-main { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 2rem; } }
.footer-brand img { height: 54px; margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-display); font-size: .88rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a { font-size: .93rem; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--green-bright); }
.footer-col .fc-line { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; }
.footer-col .fc-line svg { flex-shrink: 0; color: var(--green-bright); margin-top: .2rem; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 1.4rem 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--on-dark-50); }
.footer-bottom .fb-links { display: flex; gap: 1.4rem; }
.footer-bottom a:hover { color: var(--on-dark); }

/* ── Legal pages ─────────────────────────────────────────── */
.legal { max-width: 820px; margin: 0 auto; padding: 9rem 1.4rem 5rem; }
.legal h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; margin-bottom: 2rem; letter-spacing: -.02em; }
.legal h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin: 2.4rem 0 .8rem; }
.legal h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin: 1.6rem 0 .6rem; }
.legal p, .legal li { color: var(--ink-soft); font-size: .97rem; }
.legal ul { list-style: disc; padding-left: 1.4rem; display: grid; gap: .4rem; margin: .6rem 0; }
.legal a { color: var(--green-deep); text-decoration: underline; }
.legal .note { background: var(--bg-light); border-left: 3px solid var(--green); border-radius: 8px; padding: 1rem 1.2rem; margin: 1.2rem 0; }

/* ── Floating call button (mobile) ───────────────────────── */
.float-call {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: var(--z-float);
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
  color: #fff; display: grid; place-items: center; box-shadow: var(--sh-green);
  transition: transform var(--t-med);
}
.float-call:hover { transform: scale(1.08); }
@media (min-width:1000px){ .float-call { display: none; } }

/* ── Utility ─────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -60px; left: 1rem; z-index: 200;
  background: var(--green-deep); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 10px 10px;
  font-family: var(--font-display); transition: top var(--t-med);
}
.skip-link:focus { top: 0; }
