/* A.G. Relaunch 2.0.3 – Korrekturen anhand der Bildschirmaufnahme vom 14.11.2026.
   Nur auf den 28 Relaunch-Seiten aktiv. Bisherige Seiteninhalte bleiben unverändert. */

/* Astra darf die Schrift-, Farb- und Großschreibungsregeln der Relaunch-Seite
   nicht überschreiben. Die Designelemente behalten ihre eigene Farbsemantik. */
body.ag-relaunch-site .ag-page h1,
body.ag-relaunch-site .ag-page h2,
body.ag-relaunch-site .ag-page h3,
body.ag-relaunch-site .ag-page h4,
body.ag-relaunch-site .ag-page h5,
body.ag-relaunch-site .ag-page h6 {
  text-transform: none !important;
  color: #142b3f !important;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important;
  font-style: normal !important;
  text-shadow: none !important;
  letter-spacing: -.025em;
}
body.ag-relaunch-site .ag-page .h1,
body.ag-relaunch-site .ag-page .page-hero .h1 {
  font-size: clamp(2.25rem, 3.65vw, 3.85rem) !important;
  line-height: 1.14 !important;
  font-weight: 760 !important;
  letter-spacing: -.038em !important;
  overflow-wrap: break-word;
  word-break: normal;
  max-width: 920px;
}
body.ag-relaunch-site .ag-page .hero-copy .h1 {
  font-size: clamp(2.4rem, 3.65vw, 3.9rem) !important;
  line-height: 1.11 !important;
  letter-spacing: -.045em !important;
  max-width: 670px;
}
body.ag-relaunch-site .ag-page .h2 {
  font-size: clamp(1.9rem, 2.65vw, 2.8rem) !important;
  line-height: 1.19 !important;
  font-weight: 740 !important;
  letter-spacing: -.035em !important;
}
body.ag-relaunch-site .ag-page .h3 {
  font-size: clamp(1.09rem, 1.35vw, 1.3rem) !important;
  line-height: 1.35 !important;
  font-weight: 730 !important;
}
body.ag-relaunch-site .ag-page .eyebrow,
body.ag-relaunch-site .ag-page .card-num,
body.ag-relaunch-site .ag-page .overline {
  text-transform: uppercase !important;
}
body.ag-relaunch-site .ag-page .lead {line-height:1.66;font-size:clamp(1rem,1.24vw,1.12rem)}

/* FEHLER: dunkles Theme-H3 auf dunkelblauem Kasten */
body.ag-relaunch-site .ag-page .hero-slab h3,
body.ag-relaunch-site .ag-page .quality-art h2,
body.ag-relaunch-site .ag-page .quality-art h3,
body.ag-relaunch-site .ag-page .quality-art .qa-big,
body.ag-relaunch-site .ag-page .cta-panel h2,
body.ag-relaunch-site .ag-page .cta-panel h3 {
  color: #ffffff !important;
  text-transform: none !important;
  text-shadow: none !important;
}
body.ag-relaunch-site .ag-page .hero-slab h3{font-size:clamp(1.55rem,2vw,1.85rem)!important;line-height:1.25!important}
body.ag-relaunch-site .ag-page .quality-art .qa-big{font-size:clamp(1.65rem,2.4vw,2.05rem)!important;letter-spacing:-.035em!important}
body.ag-relaunch-site .ag-page .cta-panel h2{font-size:clamp(1.65rem,2.4vw,2.65rem)!important;line-height:1.22!important}
body.ag-relaunch-site .ag-page .cta-panel p{color:#d6e7f4!important}
body.ag-relaunch-site .ag-page .cta-panel .eyebrow.light{color:#b1e2fa!important}
body.ag-relaunch-site .ag-page .hero-slab .quality-step strong,
body.ag-relaunch-site .ag-page .quality-art .qa-line span{color:#fff!important}

/* FEHLER: dunkelgraue Fußzeilenüberschriften und zu kleine Footerlinks */
body.ag-relaunch-site .foot h4,
body.ag-relaunch-site .foot .brandtext b{color:#ffffff!important;text-transform:none!important;text-shadow:none!important}
body.ag-relaunch-site .foot h4{font-size:1rem!important;font-weight:760!important}
body.ag-relaunch-site .foot li a{color:#d5e5f0!important;font-size:.87rem}
body.ag-relaunch-site .foot li a:hover,
body.ag-relaunch-site .foot li a:focus-visible{color:#fff!important;text-decoration:underline}
body.ag-relaunch-site .foot p{color:#b8cfdf!important;line-height:1.65}

/* ECHTES ORIGINAL-LOGO: das weiße Außenfeld der aflogo.jpg wird in PHP
   durch die beschnittene Originalgrafik ersetzt. Keine erfundene Wortmarke. */
body.ag-relaunch-site .header .logo-real{
  width: min(310px, 25vw);min-width:225px;max-width:310px;flex:0 0 auto;
  height:70px;display:flex;align-items:center;
}
body.ag-relaunch-site .header .logo-real img.ag-uploaded-logo{
  width:100%!important;height:auto!important;max-width:310px!important;
  max-height:70px!important;object-fit:contain!important;object-position:left center;
}
body.ag-relaunch-site .foot .logo-real{max-width:270px;min-width:0;width:100%}
body.ag-relaunch-site .foot .logo-real img.ag-uploaded-logo{
  width:100%!important;max-width:270px!important;height:auto!important;
  max-height:66px!important;object-fit:contain!important;object-position:left center;
  background:#fff!important;padding:7px 10px!important;border-radius:9px!important;
}

/* FEHLER: gigantische SVGs in dem Hinweisband auf Leistungen, Branchen, Team. */
body.ag-relaunch-site .ag-page .band{display:flex!important;align-items:flex-start!important;
  gap:16px!important;max-width:100%;padding:22px 24px!important;margin:30px 0!important;
  border-radius:14px!important;line-height:1.6;overflow:hidden;}
body.ag-relaunch-site .ag-page .band>svg{
  display:block!important;width:38px!important;min-width:38px!important;max-width:38px!important;
  height:38px!important;min-height:38px!important;max-height:38px!important;
  flex:0 0 38px!important;align-self:flex-start!important;position:static!important;
  margin:0!important;object-fit:contain!important;
}
body.ag-relaunch-site .ag-page .band>div{min-width:0;max-width:100%;font-size:.94rem}
body.ag-relaunch-site .ag-page .band>div b{color:#254963;font-size:1rem;line-height:1.45}

/* Branchendarstellung und Leistungen: prägnante, gut lesbare Karten */
body.ag-relaunch-site .ag-page .cards{gap:20px}
body.ag-relaunch-site .ag-page .card{padding:29px 27px}
body.ag-relaunch-site .ag-page .card .h3{margin-top:12px;margin-bottom:11px}
body.ag-relaunch-site .ag-page .card p{font-size:.91rem;line-height:1.62}
body.ag-relaunch-site .ag-page .card .more{font-size:.92rem}
body.ag-relaunch-site .ag-page .strip-item b{color:#fff!important;font-size:.91rem}
body.ag-relaunch-site .ag-page .strip-item span{color:#d3e3ef!important;font-size:.8rem}

/* Team: schlichte, gleichwertige Profile bis echte Fotos vorliegen. */
body.ag-relaunch-site .ag-page .ag-team-grid .profile-art{height:145px}
body.ag-relaunch-site .ag-page .ag-team-grid .profile-art svg{width:45px!important;height:45px!important}
body.ag-relaunch-site .ag-page .ag-team-grid .profile-desc{padding:20px}
body.ag-relaunch-site .ag-page .ag-team-grid .profile-desc p{line-height:1.5}

/* Verhindert, dass Astra-Linkstile die Buttons unlesbar machen. */
body.ag-relaunch-site a.btn-primary,
body.ag-relaunch-site .ag-page a.btn-primary{color:#fff!important}
body.ag-relaunch-site a.btn-light,
body.ag-relaunch-site .ag-page a.btn-light{color:#102b43!important}
body.ag-relaunch-site a.btn-outline,
body.ag-relaunch-site .ag-page a.btn-outline{color:#102b43!important}
body.ag-relaunch-site a.navlink{font-size:.9rem}
body.ag-relaunch-site .ag-page .section{padding-top:82px;padding-bottom:82px}
body.ag-relaunch-site .ag-page .section-sm{padding-top:59px;padding-bottom:59px}

@media(max-width:1100px){
 body.ag-relaunch-site .header .logo-real{min-width:175px;width:215px}
 body.ag-relaunch-site .header .logo-real img.ag-uploaded-logo{max-width:215px!important}
}
@media(max-width:960px){
 body.ag-relaunch-site .header .logo-real{min-width:0;width:240px;max-width:65vw}
 body.ag-relaunch-site .header .logo-real img.ag-uploaded-logo{max-width:240px!important}
 body.ag-relaunch-site .ag-page .hero-grid{gap:25px}
}
@media(max-width:620px){
 body.ag-relaunch-site .header .logo-real{width:200px;max-width:62vw;height:60px}
 body.ag-relaunch-site .header .logo-real img.ag-uploaded-logo{max-width:200px!important;max-height:55px!important}
 body.ag-relaunch-site .ag-page .hero-copy .h1{font-size:clamp(2.0rem,8.65vw,2.85rem)!important;line-height:1.15!important}
 body.ag-relaunch-site .ag-page .page-hero .h1{font-size:clamp(1.9rem,8.2vw,2.55rem)!important}
 body.ag-relaunch-site .ag-page .h2{font-size:clamp(1.7rem,7vw,2.2rem)!important}
 body.ag-relaunch-site .ag-page .section{padding-top:62px;padding-bottom:62px}
 body.ag-relaunch-site .ag-page .section-sm{padding-top:43px;padding-bottom:43px}
 body.ag-relaunch-site .ag-page .card{padding:22px}
 body.ag-relaunch-site .ag-page .band{padding:17px!important;gap:12px!important}
 body.ag-relaunch-site .ag-page .band>svg{width:30px!important;min-width:30px!important;max-width:30px!important;height:30px!important;min-height:30px!important;max-height:30px!important;flex-basis:30px!important}
 body.ag-relaunch-site .ag-page .cta-panel{padding:30px 24px}
 body.ag-relaunch-site .ag-page .cta-panel h2{font-size:clamp(1.65rem,7vw,2.15rem)!important}
 body.ag-relaunch-site .foot h4{font-size:.95rem!important}
}
