@font-face{font-family:"Roboto";src:url("../assets/fonts/roboto-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Roboto";src:url("../assets/fonts/roboto-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Roboto";src:url("../assets/fonts/roboto-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Roboto";src:url("../assets/fonts/roboto-900.woff2") format("woff2");font-weight:900;font-style:normal;font-display:swap}


:root{
  --navy:#0b2b45;
  --navy-2:#153a57;
  --green:#69ad2f;
  --green-2:#8ac84f;
  --muted:#667987;
  --line:#dbe5d7;
  --soft:#f6f9f3;
  --max:1460px;
  --shadow:0 24px 70px rgba(11,43,69,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Roboto",Arial,sans-serif;
  color:var(--navy);
  background:
    radial-gradient(circle at 10% 15%,rgba(105,173,47,.12),transparent 25%),
    radial-gradient(circle at 90% 75%,rgba(21,58,87,.08),transparent 24%),
    #fff;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

.page{min-height:100vh;display:flex;flex-direction:column}
.wrap{width:min(calc(100% - 64px),var(--max));margin:auto}

.top{
  min-height:108px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.logos{display:flex;align-items:center;gap:28px}
.logos .c{width:230px}
.logos .k{width:175px;max-height:68px;object-fit:contain}
.sep{width:1px;height:46px;background:var(--line)}
.quick{display:flex;gap:28px;color:var(--muted);font-size:.92rem}
.quick b{color:var(--navy)}

.hero{flex:1;display:flex;align-items:center;padding:54px 0 86px}
.grid{display:grid;grid-template-columns:1.02fr .98fr;gap:84px;align-items:center}

.kicker{
  display:inline-flex;align-items:center;gap:12px;
  color:var(--green);font-size:.8rem;font-weight:900;
  letter-spacing:.14em;text-transform:uppercase;margin-bottom:24px
}
.kicker:before{content:"";width:32px;height:2px;background:var(--green)}

h1{
  margin:0;
  font-size:clamp(3.8rem,6.7vw,7.2rem);
  line-height:.91;
  letter-spacing:-.055em;
  text-transform:uppercase;
  font-weight:900;
  max-width:720px;
}
h1 span{color:var(--green)}
.lead{
  max-width:760px;
  color:var(--muted);
  font-size:clamp(1.08rem,1.4vw,1.3rem);
  line-height:1.65;
  margin-top:28px;
}
.contacts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:38px}
.ci{
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px 20px;
  background:#fff;
  box-shadow:0 12px 32px rgba(11,43,69,.05)
}
.ci small{
  display:block;color:var(--muted);text-transform:uppercase;
  letter-spacing:.08em;font-weight:700;margin-bottom:6px
}
.ci b,.ci a{font-size:.98rem}

.visual{position:relative;min-height:600px}
.card{
  position:absolute;
  inset:18px 0 20px 45px;
  border:1px solid var(--line);
  border-radius:34px;
  background:linear-gradient(145deg,#fff,#eef5ea);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card:before{
  content:"";
  position:absolute;
  width:540px;height:540px;border-radius:50%;
  right:-170px;top:-190px;
  background:rgba(105,173,47,.12);
}
.card:after{
  content:"";
  position:absolute;
  left:-120px;bottom:-180px;
  width:420px;height:420px;border-radius:50%;
  border:1px solid rgba(11,43,69,.08);
}
.inner{
  position:relative;
  z-index:1;
  height:100%;
  padding:54px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.inner h2{
  margin:0;
  max-width:470px;
  color:var(--navy);
  font-size:clamp(2.35rem,3.8vw,4.1rem);
  line-height:.97;
  letter-spacing:-.045em;
  font-weight:900;
}
.inner p{
  max-width:500px;
  color:var(--muted);
  line-height:1.65;
  font-size:1.03rem;
  margin:0 0 16px 0;
}
.bar{
  width:72%;
  height:8px;
  border-radius:999px;
  background:#dbe3d6;
  overflow:hidden;
}
.bar span{
  display:block;
  width:74%;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--green),var(--green-2));
}
.worker{
  position:absolute;
  right:-5px;
  bottom:-4px;
  width:190px;
  z-index:2;
}
.worker img{
  width:100%;
  height:auto;
  filter: drop-shadow(0 18px 30px rgba(11,43,69,.18));
}

.footer{border-top:1px solid var(--line);background:rgba(255,255,255,.9)}
.foot{
  min-height:90px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  color:var(--muted);
  font-size:.88rem
}
.links{display:flex;gap:22px}
.links a:hover,.back:hover,.legal a:hover{color:var(--green)}

.legal{
  width:min(calc(100% - 40px),1080px);
  margin:70px auto;
  padding:42px;
  border:1px solid var(--line);
  border-radius:26px;
  background:#fff;
  box-shadow:0 24px 70px rgba(11,43,69,.10)
}
.legal h1{
  font-size:clamp(2.8rem,5vw,4.8rem);
  margin-bottom:26px;
  max-width:none;
}
.legal h2{
  margin:34px 0 12px;
  font-size:1.55rem;
  line-height:1.2;
}
.legal h3{
  margin:26px 0 10px;
  font-size:1.2rem;
  line-height:1.3;
}
.legal p,.legal li{color:var(--muted);line-height:1.7}
.legal ul{padding-left:22px;color:var(--muted)}
.legal a{text-decoration:underline;text-decoration-color:rgba(105,173,47,.45);text-underline-offset:3px}
.back{display:inline-block;margin-bottom:28px;color:var(--green);font-weight:800}

@media(max-width:1100px){
  .grid{grid-template-columns:1fr;gap:46px}
  .quick{display:none}
  .visual{min-height:500px}
}
@media(max-width:720px){
  .wrap{width:min(calc(100% - 28px),var(--max))}
  .top{min-height:90px}
  .logos{gap:14px}
  .logos .c{width:160px}
  .logos .k{width:115px}
  .sep{height:32px}
  .hero{padding:34px 0 58px}
  .contacts{grid-template-columns:1fr}
  .visual{min-height:440px}
  .card{inset:0 0 20px 0}
  .inner{padding:34px 34px 120px}
  .inner h2{max-width:360px}
  .bar{width:100%}
  .worker{
    width:138px;
    right:6px;
    bottom:4px;
  }
  .foot{padding:20px 0;flex-direction:column;align-items:flex-start}
  .legal{padding:28px}
}


/* =========================================================
   DEZENTE ANIMATIONEN & HOVER-EFFEKTE
   ========================================================= */

@keyframes fadeUp{
  from{opacity:0;transform:translateY(24px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes fadeDown{
  from{opacity:0;transform:translateY(-16px)}
  to{opacity:1;transform:translateY(0)}
}
  50%{transform:translateY(-9px) rotate(1deg)}
}
  100%{transform:translateX(240%)}
}
@keyframes glowMove{
  0%,100%{transform:translate(-8px,0) scale(1);opacity:.45}
  50%{transform:translate(24px,-16px) scale(1.08);opacity:.8}
}

.fade-up{
  opacity:0;
  animation:fadeUp .8s cubic-bezier(.2,.7,.2,1) .08s forwards;
}
.fade-down{
  opacity:0;
  animation:fadeDown .7s cubic-bezier(.2,.7,.2,1) forwards;
}

.stagger .ci{
  opacity:0;
  animation:fadeUp .62s cubic-bezier(.2,.7,.2,1) forwards;
}
.stagger .ci:nth-child(1){animation-delay:.22s}
.stagger .ci:nth-child(2){animation-delay:.32s}
.stagger .ci:nth-child(3){animation-delay:.42s}

.ci{
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.ci:hover{
  transform:translateY(-6px);
  border-color:rgba(105,173,47,.46);
  box-shadow:0 18px 40px rgba(11,43,69,.10);
}

.logos img{
  transition:transform .3s ease;
}
.logos img:hover{
  transform:translateY(-3px) scale(1.015);
}

.card{
  transition:transform .4s cubic-bezier(.2,.7,.2,1),box-shadow .4s ease;
}
.card:hover{
  transform:translateY(-5px);
  box-shadow:0 30px 82px rgba(11,43,69,.16);
}

.card-glow{
  position:absolute;
  z-index:0;
  top:18%;
  right:5%;
  width:230px;
  height:230px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(105,173,47,.18),rgba(105,173,47,0) 70%);
  filter:blur(8px);
  animation:glowMove 7s ease-in-out infinite;
  pointer-events:none;
}

.bar{
  position:relative;
}
.bar span{
  position:relative;
  overflow:hidden;
}



.worker img{
  transition:transform .35s ease,filter .35s ease;
}
.worker:hover img{
  transform:scale(1.035);
  filter:drop-shadow(0 22px 34px rgba(11,43,69,.22));
}

.quick a,.links a,.ci a{
  transition:color .2s ease;
}
.quick a:hover,.links a:hover,.ci a:hover{
  color:var(--green);
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    scroll-behavior:auto !important;
  }
  .fade-up,.fade-down,.stagger .ci{
    opacity:1 !important;
    transform:none !important;
  }
}



/* =========================================================
   ANIMIERTER FORTSCHRITTSBALKEN
   ========================================================= */

.progress-wrap{
  position:relative;
  width:72%;
  margin-top:4px;
}

.bar{
  position:relative;
  width:100% !important;
  height:9px;
  overflow:visible;
  border-radius:999px;
  background:#ffffff !important;
  box-shadow:
    inset 0 0 0 1px rgba(11,43,69,.08),
    0 3px 12px rgba(11,43,69,.04);
}

.bar span{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:
    linear-gradient(
      90deg,
      var(--green),
      var(--green-2)
    );
  animation:
    progressFill 5.5s cubic-bezier(.45,0,.2,1) infinite;
}

.progress-complete{
  position:absolute;
  right:-22px;
  top:50%;
  z-index:4;

  display:grid;
  place-items:center;

  width:58px;
  height:58px;

  border-radius:50%;

  color:#ffffff;
  background:var(--navy);

  font-size:.88rem;
  font-weight:900;

  box-shadow:
    0 12px 30px rgba(11,43,69,.22);

  opacity:0;
  transform:
    translateY(-50%)
    scale(.55);

  animation:
    progressPop 5.5s ease-in-out infinite;
}

@keyframes progressFill{
  0%{
    width:0;
  }

  72%{
    width:100%;
  }

  88%{
    width:100%;
  }

  100%{
    width:0;
  }
}

@keyframes progressPop{
  0%,
  68%{
    opacity:0;
    transform:
      translateY(-50%)
      scale(.55);
  }

  74%{
    opacity:1;
    transform:
      translateY(-50%)
      scale(1.15);
  }

  79%,
  87%{
    opacity:1;
    transform:
      translateY(-50%)
      scale(1);
  }

  96%,
  100%{
    opacity:0;
    transform:
      translateY(-50%)
      scale(.65);
  }
}

@media(max-width:720px){
  .progress-wrap{
    width:100%;
  }

  .progress-complete{
    right:-8px;
    width:52px;
    height:52px;
    font-size:.82rem;
  }
}

@media(prefers-reduced-motion:reduce){
  .bar span{
    width:100%;
    animation:none !important;
  }

  .progress-complete{
    display:none;
  }
}


/* =========================================================
   MOBILE FIX: WORKER / 100%-BADGE ENTFLECHTEN
   ========================================================= */
@media(max-width:720px){
  .visual{
    min-height:500px;
  }

  .inner{
    padding:34px 34px 150px;
  }

  .progress-wrap{
    width:calc(100% - 86px);
    margin-right:86px;
  }

  .progress-complete{
    right:-4px;
    top:-24px;
    width:48px;
    height:48px;
    font-size:.78rem;
    transform:scale(.55);
  }

  .worker{
    width:110px;
    right:-6px;
    bottom:-2px;
  }
}

@media(max-width:520px){
  .visual{
    min-height:490px;
  }

  .inner{
    padding:30px 24px 148px;
  }

  .inner h2{
    max-width:300px;
  }

  .progress-wrap{
    width:calc(100% - 80px);
    margin-right:80px;
  }

  .progress-complete{
    right:-2px;
    top:-22px;
    width:44px;
    height:44px;
    font-size:.72rem;
  }

  .worker{
    width:98px;
    right:-8px;
    bottom:2px;
  }
}




/* Mobile: Bauarbeiter ausblenden, damit Fortschrittsanzeige frei bleibt */
@media (max-width: 720px) {
  .worker {
    display: none !important;
  }

  .progress-wrap {
    width: 100% !important;
    margin-right: 0 !important;
  }

  .progress-complete {
    right: -6px !important;
  }
}
