:root {
  color-scheme: light;
  --ink: #111823;
  --muted: #5d6876;
  --soft: #f1f3f6;
  --panel: #ffffff;
  --panel-strong: #17202d;
  --line: #d6dce4;
  --line-dark: rgba(255, 255, 255, 0.16);
  --ag-accent: #10a5c5;
  --de-accent: #f2a51f;
  --success: #29a36a;
  --shadow: 0 18px 50px rgba(17, 24, 35, 0.12);
  --shell: 1180px;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid rgba(16, 165, 197, 0.95);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: 14px;
  z-index: 2000;
  transform: translateY(-140%);
  background: #ffffff;
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(14, 20, 29, 0.94);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(10px);
}

.header-shell {
  width: min(var(--shell), calc(100% - 40px));
  min-height: 117px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 23px;
}

.group-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  min-height: 65px;
  text-decoration: none;
}

.group-logo {
  width: 160px;
  height: auto;
  object-fit: contain;
}

.site-header .group-logo-link {
  width: 300px;
  min-height: 78px;
}

.site-header .group-logo {
  width: 280px;
  max-height: 108px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-contact {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.header-contact__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 24px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  transition: color 160ms ease;
}

.header-contact__link svg {
  width: 24px;
  height: 24px;
  color: #6ecb02;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.header-contact__link:hover,
.header-contact__link:focus-visible {
  color: #ffffff;
}

.header-contact-button {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0 28px 0 34px;
  background: #6ecb02;
  color: #ffffff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.header-contact-button span {
  white-space: nowrap;
}

.header-contact-button span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
}

.header-contact-button:hover,
.header-contact-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(110, 203, 2, 0.24);
}

.hero {
  position: relative;
  min-height: 460px;
  isolation: isolate;
  display: flex;
  align-items: center;
  background: #111823;
  color: #ffffff;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media {
  background-image: url("../assets/agde-hero.png");
  background-size: cover;
  background-position: center 65%;
}

.hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 19, 28, 0.76) 0%, rgba(13, 19, 28, 0.5) 48%, rgba(13, 19, 28, 0.22) 100%),
    linear-gradient(0deg, rgba(13, 19, 28, 0.26), rgba(13, 19, 28, 0.04));
}

.hero__shell {
  padding: 82px 0 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ag-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  letter-spacing: 0.08em;
  text-transform: none;
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: 76px;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-title__ag {
  color: #2dcbd4;
}

.hero-title__de {
  color: #6ecb02;
}

.hero__intro {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.65;
}

.division-selector {
  position: relative;
  z-index: 2;
  margin-top: -58px;
  padding-bottom: 72px;
}

.division-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.division-card {
  min-height: 780px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.division-card:hover,
.division-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 62px rgba(17, 24, 35, 0.18);
}

.division-card--ag:hover,
.division-card--ag:focus-visible {
  border-color: rgba(16, 165, 197, 0.75);
}

.division-card--de:hover,
.division-card--de:focus-visible {
  border-color: rgba(242, 165, 31, 0.85);
}

.division-card__image-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #dce3ea;
  overflow: hidden;
}

.division-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.division-card--de .division-card__image {
  object-position: 0% center;
}

.division-card__logo-wrap {
  min-height: 94px;
  display: flex;
  align-items: center;
  margin: 28px 30px 0;
  overflow: visible;
}

.division-card__logo {
  width: auto;
  height: 68px;
  max-height: 68px;
  object-fit: contain;
}

.division-card__logo--ag {
  max-width: 270px;
}

.division-card__logo--de {
  max-width: 270px;
}

.division-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  margin: 0 30px;
}

.division-card__heading {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: 33px;
  font-weight: 800;
  line-height: 1.12;
  min-height: 74px;
}

.division-card__copy {
  display: block;
  color: #303a47;
  font-size: 17px;
  line-height: 1.68;
  min-height: 86px;
}

.keyword-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

.keyword-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 32px;
  padding: 6px 10px;
  background: #f4f7fa;
  border: 1px solid #dce3ea;
  color: #2f3845;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.division-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  margin: 28px 30px 30px;
  padding: 0 18px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.division-card--ag .division-card__cta {
  background: #2dcbd4;
}

.division-card--de .division-card__cta {
  background: #6ecb02;
}

.capability-band {
  padding: 78px 0;
  background: #111823;
  color: #ffffff;
}

.capability-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.capability-band h2,
.contact-band h2,
.accreditations h2 {
  margin: 0;
  color: inherit;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.capability-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.75;
}

.support-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.support-points li {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line-dark);
  border-top: 3px solid var(--ag-accent);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.accreditations {
  padding: 74px 0;
  background: var(--soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.badge {
  min-height: 124px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.badge img {
  max-height: 82px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.badge span {
  color: #243142;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-band {
  scroll-margin-top: 130px;
  padding: 72px 0;
  background: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 44px;
  align-items: start;
}

.contact-band .eyebrow {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

.contact-band h2 {
  font-size: 42px;
}

.contact-question {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.contact-intro {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  font-style: normal;
}

.contact-list a {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  background: #f9fbfd;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(16, 165, 197, 0.8);
}

.contact-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.site-footer {
  padding: 36px 0;
  background: #0d131c;
  color: #ffffff;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px 36px;
  align-items: center;
}

.group-logo-link--footer {
  margin-bottom: 16px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-address {
  display: inline-flex;
  max-width: 560px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-address:hover,
.footer-address:focus-visible {
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.footer-link--ag {
  background: #2dcbd4;
}

.footer-link--de {
  background: #6ecb02;
}

.copyright {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.site-credit {
  color: rgba(255, 255, 255, 0.7);
}

.think-online-link {
  position: relative;
  display: inline-flex;
  gap: 0.25em;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 220ms ease;
}

.think-online-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: linear-gradient(90deg, #2dcbd4 0%, #6ecb02 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.think-online-link span {
  transition: color 220ms ease, transform 220ms ease;
}

.think-online-link:hover::after,
.think-online-link:focus-visible::after {
  transform: scaleX(1);
}

.think-online-link:hover span,
.think-online-link:focus-visible span {
  transform: translateY(-1px);
}

.think-online-link:hover .think-online-link__think,
.think-online-link:focus-visible .think-online-link__think {
  color: #2dcbd4;
}

.think-online-link:hover .think-online-link__online,
.think-online-link:focus-visible .think-online-link__online {
  color: #6ecb02;
}

@media (max-width: 980px) {
  .header-actions {
    gap: 18px;
  }

  .header-contact__link {
    min-height: 21px;
    font-size: 16px;
  }

  .header-contact__link svg {
    width: 21px;
    height: 21px;
  }

  .header-contact-button {
    min-height: 56px;
    gap: 22px;
    padding: 0 22px 0 24px;
    font-size: 18px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero {
    min-height: 420px;
  }

  .division-grid,
  .capability-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .division-card {
    min-height: auto;
  }

  .support-points,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .badge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-layout {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .section-shell,
  .header-shell {
    width: min(100% - 28px, var(--shell));
  }

  .header-shell {
    min-height: 88px;
    gap: 10px;
  }

  .header-contact {
    display: none;
  }

  .group-logo-link {
    width: 155px;
    min-height: 55px;
  }

  .group-logo {
    width: 133px;
  }

  .site-header .group-logo-link {
    width: clamp(148px, 43vw, 188px);
    min-height: 58px;
    flex: 0 1 auto;
  }

  .site-header .group-logo {
    width: clamp(144px, 41vw, 176px);
    max-height: 78px;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 0;
  }

  .header-contact-button {
    min-height: 48px;
    gap: 8px;
    padding: 0 12px 0 14px;
    font-size: 13px;
    letter-spacing: 0.05em;
  }

  .header-contact-button span:last-child {
    font-size: 20px;
  }

  .hero {
    min-height: 455px;
    text-align: center;
  }

  .hero__overlay {
    background:
      linear-gradient(0deg, rgba(13, 19, 28, 0.78), rgba(13, 19, 28, 0.42)),
      linear-gradient(90deg, rgba(13, 19, 28, 0.58), rgba(13, 19, 28, 0.34));
  }

  .hero__shell {
    padding: 58px 0 76px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 42px;
    line-height: 1.02;
  }

  .hero__intro {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.6;
    margin-inline: auto;
  }

  .division-selector {
    margin-top: -42px;
    padding-bottom: 54px;
  }

  .division-card {
    padding: 0;
    text-align: center;
  }

  .division-card__logo-wrap,
  .division-card__body {
    margin-inline: 22px;
  }

  .division-card__logo-wrap {
    min-height: 82px;
    justify-content: center;
  }

  .division-card__logo {
    height: 58px;
    max-height: 58px;
    max-width: 230px;
  }

  .division-card__cta {
    margin: 24px auto 22px;
    white-space: nowrap;
  }

  .division-card__heading,
  .capability-band h2,
  .contact-band h2,
  .accreditations h2 {
    font-size: 31px;
  }

  .division-card__copy,
  .capability-copy p,
  .contact-question,
  .contact-intro {
    font-size: 16px;
  }

  .contact-band .eyebrow {
    font-size: 31px;
  }

  .keyword-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-layout,
  .capability-copy,
  .section-heading,
  .contact-layout,
  .footer-layout,
  .copyright {
    text-align: center;
  }

  .capability-layout,
  .contact-layout {
    gap: 28px;
  }

  .support-points li {
    justify-content: center;
    text-align: center;
  }

  .badge-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .capability-band,
  .accreditations,
  .contact-band {
    padding: 56px 0;
  }

  .contact-intro {
    margin-inline: auto;
  }

  .contact-list a {
    align-items: center;
    min-height: 118px;
    text-align: center;
  }

  .contact-list strong {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .footer-layout {
    justify-items: center;
  }

  .group-logo-link--footer {
    margin-inline: auto;
  }

  .footer-links {
    justify-content: center;
  }

  .copyright {
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .section-shell,
  .header-shell {
    width: min(100% - 24px, var(--shell));
  }

  .site-header .group-logo-link {
    width: 146px;
  }

  .site-header .group-logo {
    width: 140px;
  }

  .header-contact-button {
    min-height: 44px;
    gap: 6px;
    padding: 0 10px 0 12px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .hero h1 {
    font-size: 37px;
  }

  .division-card__heading,
  .capability-band h2,
  .contact-band h2,
  .accreditations h2,
  .contact-band .eyebrow {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
