

    .hero{
      border-bottom:1px solid var(--line);
      background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(244,250,247,0));
      padding:28px 0;
    }
    .hero-card{
      background:rgba(255,255,255,0.65);
      border:1px solid #466179;
      border-radius:26px;
      padding:56px 34px;
      box-shadow: var(--shadow);
    }


/* Hero-Icon statt Leistungsdetail-Label */

.hero-service-icon{
  width:72px;
  height:72px;
  margin-bottom:20px;
  border-radius:20px;
  background:#fff;
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 22px rgba(2,6,23,0.04);
}

.hero-service-icon img{
  width:56px;
  height:56px;
  display:block;
}

@media(max-width:900px){
  .hero-service-icon{
    width:64px;
    height:64px;
    border-radius:18px;
    margin-bottom:18px;
  }

  .hero-service-icon img{
    width:50px;
    height:50px;
  }
}
 h1{
  font-size:44px;
}
    .sub{margin-top:16px;font-size:18px;color:var(--muted);max-width:none}

    
   .lead{color:var(--muted);max-width:76ch;margin-top:12px;font-size:16px}

    .breadcrumb{
      margin-bottom:18px;
      font-size:14px;
      color:var(--muted);
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      align-items:center;
    }
    .breadcrumb a{
      text-decoration:underline;
      text-underline-offset:2px;
    }
    .breadcrumb [aria-current="page"]{
      color:var(--navy);
      font-weight:700;
    }

    .content-grid{
      display:grid;
      grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
      gap:22px;
      align-items:start;
    }

    .stack{display:grid;gap:22px}
.card{
  background:var(--panel);
  border:1px solid #466179;
  border-radius:var(--radius);
  padding:22px;
  box-shadow: 0 10px 24px rgba(2,6,23,0.03)
}
    .card h3{
      margin:0 0 10px;
      color:var(--navy);
      letter-spacing:-0.02em;
      font-size:20px;
    }
    .card p{margin:0;color:var(--muted);font-size:16px}
    .card p + p{margin-top:12px}
    .card ul, .card ol{
      margin:12px 0 0;
      padding-left:20px;
      color:var(--muted);
      font-size:16px;
    }
    .card li + li{margin-top:8px}
    .card strong{color:var(--navy)}

.aside-box{
  position:sticky;
  top:calc(var(--header-offset) + 16px);
}

.aside-stack{
  display:grid;
  gap:22px;
}

/* CTA rechts */
.aside-cta{
  background:var(--navy);
  color:#fff;
  border:1px solid rgba(255,255,255,0.18);
  border-radius:24px;
  padding:22px;
  box-shadow:var(--shadow);
}

.aside-cta h2{
  color:#fff;
  font-size:24px;
  margin:0 0 10px;
  letter-spacing:-0.03em;
}

.aside-cta p{
  color:rgba(255,255,255,0.84);
  margin:0;
  font-size:15px;
  line-height:1.6;
}

.aside-cta .cta-row{
  margin-top:18px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.aside-cta .btn{
  width:100%;
  justify-content:center;
  border-radius:14px;
  background:#fff;
  color:var(--navy);
  border:1px solid #fff;
}

.aside-cta .btn:hover,
.aside-cta .btn:focus{
  color:var(--navy);
  background:#fff;
  text-decoration:none;
}


/* Weitere Leistungen rechts */
.aside-more{
  background:var(--panel);
  border:1px solid #466179;
  border-radius:var(--radius);
  padding:22px;
  box-shadow:0 10px 24px rgba(2,6,23,0.03);
}

.aside-more h2,
.aside-more h3{
  margin:0 0 14px;
  color:var(--navy);
  font-size:22px;
  letter-spacing:-0.03em;
}

.aside-more ul{
  list-style:none;
  padding:0;
  margin:0;
}

.aside-more li + li{
  margin-top:10px;
}

.aside-more a{
  color:var(--navy);
  font-weight:500;
  text-decoration:underline;
  text-underline-offset:2px;
}

.aside-more a:hover,
.aside-more a:focus{
  color:var(--green);
  text-decoration-thickness:2px;
}

@media(max-width:900px){
  .aside-box{
    position:static;
  }

  .aside-stack{
    gap:18px;
  }
}

    .cta-row{
      display:flex;
      gap:10px;
      flex-wrap:wrap;
      margin-top:16px;
    }
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:var(--navy);
  color:#fff;
  padding:12px 18px;
  border-radius:12px;
  font-weight:800;
  text-decoration:none;
}
.btn:hover,
.btn:focus{
  color:#fff;
  text-decoration:none;
}
.btn-startseite{
  background:#fff;
  color:var(--navy);
  text-decoration:none;
  border:1px solid var(--line);
}

.btn-startseite:hover,
.btn-startseite:focus{
  color:var(--navy);
  text-decoration:none;
}
    


    #top, #close, #impressum, #barrierefreiheit, #datenschutz {
      scroll-margin-top: var(--header-offset);
    }

@media(max-width:900px){

  :root{
    --header-offset:196px;
  }

  h1{
    font-size:38px;
  }

  .hero-card{
    padding:38px 18px;
  }

  .content-grid{
    grid-template-columns:1fr;
  }
}
/* ===== Lange Seitentitel ===== */

h1{
  max-width:100%;
  overflow-wrap:break-word;
  word-break:normal;
  hyphens:none;
}


/* ===== Qualifikation Barrierefreiheit ===== */

.quali-wrap{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:18px;
  align-items:start;
}

.cert-logo{
  width:100%;
  max-width:160px;
  height:auto;
  display:block;
}

.card p.cert-note{
  font-size:10px;
  color:var(--muted);
  margin-top:18px;
  line-height:1.35;
}


@media(max-width:900px){

h1{
  font-size:34px;
  line-height:1.12;
}

  .quali-wrap{
    grid-template-columns:1fr;
  }

  .cert-logo{
    max-width:180px;
  }
@media(max-width:520px){
  h1{
    font-size:30px;
    line-height:1.14;
  }
/* ===== Mobile Feinschliff Leistungsseiten ===== */

@media(max-width:700px){

  .hero{
    padding:24px 0 40px;
  }

  .hero-card{
    padding:28px 20px;
    border-radius:22px;
  }

  .breadcrumb{
    margin-bottom:16px;
    line-height:1.45;
  }

  .content-grid{
    gap:18px;
  }

  .stack{
    gap:18px;
  }

  .card{
    padding:20px;
  }

  .aside-stack{
    gap:18px;
  }

  .aside-cta,
  .aside-more{
    padding:20px;
  }
}