.anfrage-kontakt a{
  text-decoration: none;
}

.anfrage-kontakt a:hover,
.anfrage-kontakt a:focus{
  text-decoration: none;
}



    /* Hero */
    .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:64px 34px;
      box-shadow: var(--shadow);
    }
h1{
  font-size:46px;
}
    .sub{margin-top:16px;font-size:18px;color:var(--muted);max-width:70ch}
    .sub2{margin-top:10px;font-size:16px;color:var(--muted);max-width:70ch;font-weight:600}

    .lead{color:var(--muted);max-width:72ch;margin-top:12px;font-size:16px}
    .lead strong{color:var(--navy)}
#anfrage .lead{
  max-width:none;
}
    .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top: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}
    .card p{margin:0;color:var(--muted);font-size:16px} /* größer für Lesbarkeit */

    .card-link{
      display:inline-block;
      margin-top:12px;
      font-size:14px;
      font-weight:800;
      color:var(--navy);
      text-decoration:underline;
      text-underline-offset: 2px;
    }
    .card-link:hover{
      color:var(--green);
    }

.anfrage-card{
  max-width:none;
  margin-top:22px;
  background:var(--navy);
  color:#fff;
  border:1px solid rgba(255,255,255,0.18);
  border-radius:26px;
  padding:28px;
  box-shadow:var(--shadow);
}

.anfrage-card h3{
  margin:0;
  color:#fff;
  font-size:24px;
  letter-spacing:-0.03em;
}

.anfrage-card p{
  color:rgba(255,255,255,0.78);
  font-size:16px;
}

.anfrage-card .anfrage-kontakt{
  margin:0;
  color:#fff;
}

.anfrage-card .anfrage-kontakt a{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:2px;
}

.anfrage-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:24px;
  align-items:center;
}

.anfrage-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:190px;
}

.anfrage-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:11px 18px;
  border-radius:999px;
  font-weight:800;
  line-height:1.2;
  text-decoration:none;
  white-space:nowrap;
}

.anfrage-actions a:hover,
.anfrage-actions a:focus{
  text-decoration:none;
}

.anfrage-actions .btn-light{
  background:#fff;
  color:var(--navy);
  border:1px solid #fff;
}

.anfrage-actions .btn-light:hover,
.anfrage-actions .btn-light:focus{
  color:var(--navy);
  background:#fff;
}

.anfrage-actions .btn-outline-light{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,0.42);
}

.anfrage-actions .btn-outline-light:hover,
.anfrage-actions .btn-outline-light:focus{
  color:#fff;
  background:rgba(255,255,255,0.08);
}
.anfrage-hinweis{
  margin-top:14px;
  color:rgba(255,255,255,0.78);
  font-size:16px;
}

.anfrage-beispiele{
  margin-top:8px;
  color:rgba(255,255,255,0.92);
  font-size:15px;
  line-height:1.6;
  font-weight:600;
}

/* Leistungs-Cards mit Icon */
.service-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
}

.service-card .icon-tile{
  width:58px;
  height:58px;
  border-radius:16px;
  background:var(--navy);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
  flex:0 0 auto;
}

.service-card h3{
  font-size:19px;
  line-height:1.25;
}

.service-card p{
  line-height:1.55;
}

.service-card .card-link{
  margin-top:14px;
}

.card-link::after{
  content:" →";
  text-decoration:none;
}
.service-overview-card{
  padding:28px;
}

.service-overview-card h3{
  font-size:23px;
  margin-bottom:10px;
}

.service-overview-card > p{
  margin-bottom:20px;
}

.service-links{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:auto;
  padding-top:4px;
}

.service-links a{
  font-size:15px;
  font-weight:700;
  color:var(--navy);
  text-decoration:none;
  line-height:1.4;
}

.service-links a::after{
  content:" →";
}

.service-links a:hover,
.service-links a:focus{
  color:var(--green);
  text-decoration:underline;
  text-underline-offset:3px;
}

/* ===== Neue Leistungsübersicht + Zielgruppen ===== */

.section-intro{
  max-width:none;
  width:100%;
  margin-top:12px;
  color:var(--muted);
  font-size:16px;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:24px;
}

.service-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
}

.service-card .icon-tile{
  width:64px;
  height:64px;
  border-radius:18px;
  background:var(--navy);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
  flex:0 0 auto;
}

.service-card .icon-tile img{
  width:50px;
  height:50px;
  display:block;
}

.service-card h3{
  font-size:19px;
  line-height:1.25;
}

.service-card p{
  line-height:1.55;
}

.service-card .card-link{
  margin-top:auto;
  padding-top:14px;
}

.target-section{
  padding-top:0;
}

.target-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:24px;
}

.target-card{
  background:var(--panel);
  border:1px solid #466179;
  border-radius:var(--radius);
  padding:24px;
  box-shadow:0 10px 24px rgba(2,6,23,0.03);
}

.target-marker{
  width:46px;
  height:5px;
  margin-bottom:24px;
  border-radius:999px;
  background:var(--green);
}

.target-card h3{
  margin:0 0 10px;
  color:var(--navy);
  letter-spacing:-0.02em;
  font-size:20px;
}

.target-card p{
  margin:0;
  color:var(--muted);
  font-size:16px;
}

@media(max-width:900px){
  .services-grid,
  .target-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:900px){
  .anfrage-layout{
    grid-template-columns:1fr;
  }

  .anfrage-actions{
    min-width:0;
    flex-direction:row;
    flex-wrap:wrap;
  }

  .anfrage-actions .btn{
    flex:1 1 180px;
    justify-content:center;
  }

  .anfrage-card{
    padding:22px;
  }
}
/* ===== Oberer Bereich: Hero + Region links, Anfrage rechts ===== */

.intro-cta{
  padding:40px 0 72px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg, rgba(255,255,255,0.75), rgba(244,250,247,0));
}

.intro-cta-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.75fr) minmax(320px, 0.85fr);
  gap:22px;
  align-items:stretch;
}

.intro-left{
  display:grid;
  grid-template-rows:1fr auto;
  gap:22px;
}

.intro-cta .hero-card{
  margin:0;
  height:auto;
  min-height:230px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.intro-region-card{
  background:rgba(255,255,255,0.65);
  border:1px solid #466179;
  border-radius:26px;
  padding:28px 34px;
  box-shadow:var(--shadow);
}

.intro-region-card p{
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.65;
}

.intro-cta .anfrage-card{
  margin:0;
  min-height:100%;
  display:flex;
  align-items:stretch;
}

.intro-cta .anfrage-layout{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:28px;
  width:100%;
}

.intro-cta .anfrage-card h2{
  color:#fff;
  margin:0 0 14px;
  font-size:28px;
  letter-spacing:-0.03em;
}

.intro-cta .anfrage-card h3{
  max-width:24ch;
  line-height:1.28;
}

.intro-cta .anfrage-card p{
  margin-top:12px;
}

.intro-cta .unterlagen-list{
  margin-top:18px;
}

.intro-cta .anfrage-actions{
  min-width:0;
  margin-top:0;
}

.intro-cta .anfrage-actions a{
  width:100%;
}

@media(max-width:1000px){
  .intro-cta-grid{
    grid-template-columns:1fr;
  }

  .intro-left{
    grid-template-rows:auto auto;
  }

  .intro-cta .hero-card{
    min-height:0;
  }

  .intro-cta .anfrage-card{
    min-height:0;
  }

  .intro-cta .anfrage-layout{
    gap:22px;
  }

  .intro-cta .anfrage-actions{
    flex-direction:row;
    flex-wrap:wrap;
  }

  .intro-cta .anfrage-actions a{
    width:auto;
    flex:1 1 190px;
  }
}

@media(max-width:900px){
  .intro-cta{
    padding:28px 0 56px;
  }

  .intro-cta .hero-card,
  .intro-region-card,
  .intro-cta .anfrage-card{
    padding:22px;
  }
}

@media(max-width:520px){
  .intro-cta .anfrage-actions{
    flex-direction:column;
  }

  .intro-cta .anfrage-actions a{
    width:100%;
  }
  .intro-cta h1{
    font-size:28px;
    line-height:1.12;
  }

.intro-cta h1 span{
  white-space:nowrap;
}
}
    .card p .card-link{display:inline;text-decoration:underline;text-underline-offset:2px;margin-top:0;font-size:inherit;font-weight:inherit;color:var(--navy)}
    .card p .card-link:hover{color:var(--green)}

    .group-title{margin:34px 0 0;color:var(--navy);letter-spacing:-0.02em;font-size:18px;font-weight:800}
    .group-title small{display:block;color:var(--muted);font-weight:600;margin-top:6px;max-width:80ch}

/* ===== Referenzen ===== */

.reference-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:24px;
}

.reference-card{
  background:var(--navy);
  color:#fff;
  border-radius:var(--radius);
  padding:28px;
  min-height:250px;
  display:flex;
  flex-direction:column;
  box-shadow:var(--shadow);
}

.reference-type{
  font-size:13px;
  font-weight:800;
  letter-spacing:0.08em;
  color:rgba(255,255,255,0.68);
  margin-bottom:34px;
}

.reference-card h3{
  margin:0;
  color:#fff;
  font-size:23px;
  line-height:1.25;
  letter-spacing:-0.02em;
}

.reference-location{
  margin:8px 0 0;
  color:rgba(255,255,255,0.72);
  font-size:15px;
}

.reference-service{
  margin:auto 0 0;
  padding-top:28px;
  color:#fff;
  font-size:16px;
  font-weight:700;
  line-height:1.45;
}

@media(max-width:900px){
  .reference-grid{
    grid-template-columns:1fr;
  }

  .reference-card{
    min-height:210px;
  }
}

/* ===== Zielgruppen kompakt ===== */

.target-list{
  margin-top:24px;
  border-top:1px solid #466179;
}

.target-item{
  display:grid;
  grid-template-columns:60px 1fr;
  gap:20px;
  padding:24px 0;
  border-bottom:1px solid #466179;
  align-items:start;
}

.target-number{
  font-size:14px;
  font-weight:800;
  color:var(--green);
  letter-spacing:0.06em;
}

.target-item h3{
  margin:0 0 6px;
  color:var(--navy);
  font-size:20px;
  letter-spacing:-0.02em;
}

.target-item p{
  margin:0;
  color:var(--muted);
  font-size:16px;
  max-width:72ch;
}

@media(max-width:700px){
  .target-item{
    grid-template-columns:42px 1fr;
    gap:12px;
  }
}

/* ===== Abschluss CTA ===== */

.final-cta{
  padding:0 0 72px;
}

.final-cta-card{
  background:var(--navy);
  color:#fff;
  border-radius:26px;
  padding:34px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:40px;
  align-items:center;
  box-shadow:var(--shadow);
}

.final-cta-card h2{
  color:#fff;
  font-size:28px;
  margin:0;
}

.final-cta-card p{
  margin:10px 0 0;
  color:rgba(255,255,255,0.78);
  max-width:68ch;
}

.final-cta-actions{
  display:flex;
  gap:10px;
  align-items:center;
}

.final-cta-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:11px 20px;
  border-radius:999px;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
}

.final-cta-primary{
  background:#fff;
  color:var(--navy);
}

.final-cta-secondary{
  border:1px solid rgba(255,255,255,0.45);
  color:#fff;
}

.final-cta-primary:hover,
.final-cta-primary:focus{
  color:var(--navy);
  text-decoration:none;
}

.final-cta-secondary:hover,
.final-cta-secondary:focus{
  color:#fff;
  text-decoration:none;
  background:rgba(255,255,255,0.08);
}

@media(max-width:800px){
  .final-cta-card{
    grid-template-columns:1fr;
    gap:24px;
  }

  .final-cta-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .final-cta-actions a{
    width:100%;
  }
}

/* ===== Mobile: mehr Rand im Kopf- und Einstiegsbereich ===== */

@media(max-width:700px){

  /* Logo + Navigation */

  /* etwas mehr Innenabstand in der großen Hero-Kachel */
  .intro-cta .hero-card{
    padding-left:28px;
    padding-right:28px;
  }

  /* Einzelbüro-Kachel ebenfalls etwas großzügiger */
  .intro-region-card{
    padding-left:28px;
    padding-right:28px;
  }

  /* Kontaktkachel */
  .intro-cta .anfrage-card{
    padding-left:28px;
    padding-right:28px;
  }
}

    /* About */
    .about-wrap{
      display:grid;
      grid-template-columns: 1fr 320px;
      gap:22px;
      align-items:start;
      margin-top:22px;
    }
    .about-photo{
      width:320px;
      max-width:100%;
      height:auto;
      border-radius:18px;
      border:1px solid var(--line);
      box-shadow: var(--shadow);
      display:block;
      background:#fff;
    }
@media(max-width:900px){
  .about-wrap{
    display:grid;
    grid-template-columns:1fr;
  }

  .about-wrap > div:first-child{
    order:2;
  }

  .about-wrap > div:last-child{
    order:1;
  }

  .about-photo{
    margin-bottom:18px;
  }
.mitgliedschaften{
  margin-top:22px;
  padding:18px 20px;
  background:var(--panel);
  border:1px solid #466179;
  border-radius:var(--radius);
  box-shadow:0 10px 24px rgba(2,6,23,0.03);
}

.mitgliedschaften h3{
  margin:0 0 8px;
  color:var(--navy);
  font-size:18px;
  letter-spacing:-0.02em;
}

.mitgliedschaften ul{
  margin:0;
  padding-left:20px;
  color:var(--muted);
}

.mitgliedschaften li{
  margin:3px 0;
}
}
    .hooks{margin-top:22px}
    .hooks .grid{margin-top:16px}

   /* Anchor offset */
section[id],
.legal[id],
#portfolio,
#ueber,
#anfrage,
#leistungen,
#zielgruppen,
#top,
#close{
  scroll-margin-top: var(--header-offset);
}

   

    /* Impressum logo (kleiner als Header) */
    /* Danke box */
    .toast{display:none}
    .toast:target{display:block}

    footer{border-top:1px solid var(--line);padding:32px 0;font-size:13px;color:var(--muted)}


   
   

@media(max-width:900px){
  h1{
    font-size:40px;
  }

  .grid{
    grid-template-columns:1fr;
  }

  .hero-card{
    padding:38px 18px;
  }
}
/* ===== Sicherheitskorrekturen nach Umbau ===== */

.about-photo{
  width:320px !important;
  max-width:100% !important;
  height:auto !important;
  border-radius:18px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  display:block;
  background:#fff;
}


/* ===== Mobile-Korrektur Anfrage-Buttons ===== */

@media(max-width:700px){
  .intro-cta .anfrage-actions{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:12px;
    width:100%;
    margin-top:24px;
  }

  .intro-cta .anfrage-actions a,
  .intro-cta .anfrage-actions .btn{
    width:100%;
    min-height:48px;
    height:auto;
    flex:0 0 auto;
    padding:13px 18px;
    border-radius:14px;
    font-size:16px;
    line-height:1.2;
  }

  .intro-cta .anfrage-actions .btn-light{
    background:#fff;
    color:var(--navy);
    border:1px solid #fff;
  }

  .intro-cta .anfrage-actions .btn-outline-light{
    background:transparent;
    color:#fff;
    border:1px solid rgba(255,255,255,0.42);
  }
}

/* ===== Stabile Sprungmarken für Sticky Header ===== */

.scroll-anchor{
  display:block;
  height:0;
  width:0;
  overflow:hidden;
  visibility:hidden;
}

.anfrage-card{
  position:relative;
}

.anfrage-card > .scroll-anchor{
  position:absolute;
  top:calc(-1 * var(--header-offset) - 42px);
  left:0;
}

@media(max-width:700px){
  .anfrage-card > .scroll-anchor{
    top:calc(-1 * var(--header-offset) - 28px);
  }
}

/* ===== Mobile Feinschliff ===== */

@media(max-width:700px){

  section[id],
  .legal[id],
  #portfolio,
  #ueber,
  #anfrage,
  #leistungen,
  #zielgruppen,
  #top,
  #close{
    scroll-margin-top:20px;
  }

  .anfrage-card > .scroll-anchor{
    top:0;
  }

  .mitgliedschaften{
    margin-top:26px;
    padding:0;
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
  }

  .mitgliedschaften h3{
    margin-bottom:10px;
  }

  .final-cta{
    padding-bottom:48px;
  }

  .final-cta-card{
    padding:28px 24px;
    border-radius:22px;
  }

  .final-cta-card h2{
    font-size:26px;
    line-height:1.15;
  }

  .final-cta-card p{
    font-size:16px;
    line-height:1.55;
  }

  .final-cta-actions{
    gap:10px;
  }
}

@media(max-width:520px){

  .intro-cta h1{
    font-size:28px;
    line-height:1.12;
  }

  .intro-cta h1 span{
    white-space:nowrap;
  }
}
