:root {
  --navy: #031426;
  --navy2: #071d34;
  --gold: #d6a63f;
  --light: #f4d782;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--navy);
  color: var(--light);
  font:
    16px/1.6 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
.shell {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 76% 26%, #153b61 0, transparent 34%),
    linear-gradient(135deg, #020d19, var(--navy2) 65%, #020d19);
  color: var(--light);
  border-bottom: 1px solid rgba(222, 179, 82, 0.45);
}
.frame {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(214, 166, 63, 0.22);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 54px;
  padding: 52px 0;
}
.brand-panel {
  position: relative;
  line-height: 0;
}
.brand-image {
  width: 100%;
  max-height: 650px;
  object-fit: contain;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.35));
}
.logo-link {
  position: absolute;
  bottom: 3%;
  height: 29%;
  width: 19.4%;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: 0.2s ease;
}
.logo-link:hover,
.logo-link:focus-visible {
  background: rgba(244, 215, 130, 0.1);
  border-color: rgba(244, 215, 130, 0.75);
  box-shadow: 0 0 24px rgba(214, 166, 63, 0.28);
  outline: none;
}
.logo-link-1 { left: 0; }
.logo-link-2 { left: 20.15%; }
.logo-link-3 { left: 40.3%; }
.logo-link-4 { left: 60.45%; }
.logo-link-5 { left: 80.6%; }
.intro {
  padding-left: 42px;
  border-left: 1px solid rgba(214, 166, 63, 0.55);
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
}
.intro h1 {
  margin: 0;
  color: var(--light);
  background: linear-gradient(180deg, #fff1b0 5%, #e3b64f 48%, #b87918 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font:
    400 clamp(2.5rem, 5vw, 5rem)/0.98 Georgia,
    serif;
}
.intro > p:last-child {
  margin: 28px 0 0;
  color: var(--light);
  font-size: 1.05rem;
  line-height: 1.8;
}
.divisions {
  padding: 96px 0 110px;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}
.section-heading .eyebrow {
  color: var(--light);
  margin-bottom: 12px;
}
.section-heading h2 {
  margin: 0;
  color: var(--light);
  font:
    400 clamp(2.3rem, 4vw, 4rem)/1.1 Georgia,
    serif;
}
.section-heading > p:last-child {
  margin: 20px 0 0;
  color: var(--light);
  font-size: 1.05rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(214, 166, 63, 0.65);
  border-left: 1px solid rgba(214, 166, 63, 0.65);
}
.division-card {
  position: relative;
  min-height: 310px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(214, 166, 63, 0.65);
  border-bottom: 1px solid rgba(214, 166, 63, 0.65);
  background: linear-gradient(145deg, rgba(12, 42, 70, 0.92), rgba(3, 20, 38, 0.98));
  transition: 0.25s;
}
.division-card:hover {
  z-index: 2;
  background: linear-gradient(145deg, #123b60, #06192d);
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(3, 20, 38, 0.12);
}
.division-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.number {
  position: absolute;
  right: 34px;
  top: 28px;
  color: var(--gold);
  font-family: Georgia, serif;
}
.symbol {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: transparent;
  background-color: var(--navy);
  background-image: url("atg-logo.png");
  background-repeat: no-repeat;
  background-size: 560px 448px;
  background-position-y: -308px;
  overflow: hidden;
  font:
    400 2rem Georgia,
    serif;
}
.division-card:nth-child(1) .symbol { background-position-x: -26px; }
.division-card:nth-child(2) .symbol { background-position-x: -137px; }
.division-card:nth-child(3) .symbol { background-position-x: -249px; }
.division-card:nth-child(4) .symbol { background-position-x: -360px; }
.division-card:nth-child(5) .symbol { background-position-x: -472px; }
.division-card strong {
  display: block;
  margin-top: 30px;
  color: var(--light);
  font:
    400 clamp(1.45rem, 2.5vw, 2rem)/1.15 Georgia,
    serif;
}
.division-card small {
  display: block;
  margin-top: 12px;
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.open {
  margin-top: auto;
  padding-top: 28px;
  color: var(--light);
  font-size: 0.9rem;
  font-weight: 700;
}
footer {
  background: var(--navy);
  color: var(--light);
  border-top: 1px solid rgba(214, 166, 63, 0.35);
}
.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.84rem;
}
.footer-inner em {
  color: var(--light);
  font-family: Georgia, serif;
}
.work-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: radial-gradient(
    circle at 50% 35%,
    #123a60 0,
    #06192d 42%,
    #020b15 100%
  );
  color: var(--light);
}
.work-shell {
  width: min(760px, 100%);
}
.back {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--light);
  font-size: 0.9rem;
}
.back:hover {
  color: var(--light);
}
.work-card {
  padding: 42px clamp(24px, 7vw, 76px) 52px;
  text-align: center;
  background: rgba(3, 20, 38, 0.9);
  border: 1px solid rgba(214, 166, 63, 0.6);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}
.work-logo {
  width: min(500px, 100%);
  height: auto;
  margin: 0 auto 28px;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28));
  mix-blend-mode: lighten;
}
.work-symbol {
  width: 72px;
  height: 72px;
  margin: 4px auto 24px;
  display: grid;
  place-items: center;
  color: transparent;
  border: 1px solid rgba(214, 166, 63, 0.68);
  border-radius: 50%;
  background-color: var(--navy);
  background-image: url("atg-logo.png");
  background-repeat: no-repeat;
  background-size: 650px 520px;
  background-position-y: -358px;
  overflow: hidden;
  font:
    400 2rem Georgia,
    serif;
}
.page-immobilien .work-symbol { background-position-x: -30px; }
.page-facility .work-symbol { background-position-x: -159px; }
.page-senioren .work-symbol { background-position-x: -289px; }
.page-hotel .work-symbol { background-position-x: -418px; }
.page-kinder .work-symbol { background-position-x: -548px; }
.work-card h1 {
  margin: 0;
  font:
    400 clamp(2rem, 6vw, 3.8rem)/1.06 Georgia,
    serif;
}
.rule {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 190px;
  margin: 28px auto;
}
.rule:before,
.rule:after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--gold);
}
.rule span {
  width: 8px;
  height: 8px;
  background: var(--light);
  transform: rotate(45deg);
}
.status {
  margin: 0;
  color: var(--light);
  font:
    italic 1.7rem Georgia,
    serif;
}
.note {
  max-width: 480px;
  margin: 16px auto 28px;
  color: var(--light);
}
.button {
  display: inline-flex;
  padding: 13px 21px;
  border: 1px solid rgba(214, 166, 63, 0.75);
  color: var(--light);
  font-weight: 700;
  font-size: 0.9rem;
}
.button:hover {
  background: var(--light);
  color: var(--navy);
}
@media (max-width: 800px) {
  .hero {
    min-height: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 48px 0 60px;
  }
  .brand-image {
    max-height: 410px;
  }
  .intro {
    padding: 28px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(214, 166, 63, 0.5);
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .division-card {
    min-height: 285px;
    padding: 34px;
  }
}
@media (max-width: 520px) {
  .shell {
    width: calc(100% - 28px);
  }
  .frame {
    inset: 8px;
  }
  .brand-image {
    max-height: 330px;
  }
  .divisions {
    padding: 72px 0 80px;
  }
  .footer-inner {
    flex-direction: column;
    justify-content: center;
  }
  .work-card {
    padding-top: 30px;
  }
  .work-logo {
    width: min(300px, 100%);
  }
}
