:root {
  --navy: #021f43;
  --navy-2: #032b59;
  --navy-dark: #010d1f;
  --gold: #c89a2d;
  --gold-light: #e2bd62;
  --white: #ffffff;
  --cream: #fbfaf6;
  --muted: #5d6b7a;
  --line: rgba(2, 31, 67, 0.16);
  --shadow: 0 24px 70px rgba(1, 13, 31, 0.22);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--navy-dark);
  background-color: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}


.section:not(.section-dark),
.stats-strip,
.split-section,
.section-muted {
  background-repeat: repeat, repeat;
  background-position: center top, center top;
  background-size: auto, 360px auto;
  background-attachment: scroll, fixed;
}

.section:not(.section-dark),
.stats-strip {
  background-color: var(--cream);
  background-image:
    linear-gradient(rgba(251,250,246,.965), rgba(251,250,246,.965)),
    url("assets/ags-reserve-logo.png");
}

.split-section {
  background-color: rgba(255,255,255,.92);
  background-image:
    linear-gradient(rgba(255,255,255,.965), rgba(255,255,255,.965)),
    url("assets/ags-reserve-logo.png");
}

.section-muted {
  background-color: rgba(243,245,247,.94);
  background-image:
    linear-gradient(rgba(243,245,247,.965), rgba(243,245,247,.965)),
    url("assets/ags-reserve-logo.png");
}

.split-section {
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(255,255,255,.965), rgba(255,255,255,.965)),
    url("assets/ags-reserve-logo.png");
}

.section-muted {
  background-color: #f3f5f7;
  background-image:
    linear-gradient(rgba(243,245,247,.965), rgba(243,245,247,.965)),
    url("assets/ags-reserve-logo.png");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(6, 26, 50, 0.08); }
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 230px;
}
.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
}
.brand small {
  color: var(--gold);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .68rem;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 650;
  font-size: .95rem;
  color: var(--navy);
}
.main-nav a { position: relative; padding: 10px 0; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

.section-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(200, 154, 45, .22), transparent 30%),
    linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
}
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.hero-bg {
  position: absolute;
  z-index: 1;
  right: -12vw;
  top: -18vh;
  width: 52vw;
  height: 52vw;
  border: 2px solid rgba(226, 189, 98, .26);
  transform: rotate(28deg);
  border-radius: 14%;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 70px;
  padding: 96px 0;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.15; margin: 0; }
h1 {
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  letter-spacing: -.06em;
  max-width: 860px;
}
h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -.04em;
}
.section-dark h2, .hero h1 { color: var(--white); }
.lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 1.18rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .02em;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  box-shadow: 0 14px 34px rgba(200, 154, 45, .25);
}
.btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.08);
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
}
.trust-row span {
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.06);
}
.hero-card {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(226,189,98,.5);
  border-radius: 36px;
  padding: 34px;
  box-shadow: var(--shadow);
  color: var(--navy);
}
.logo-frame {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, #f5f7fb);
  border: 1px solid var(--line);
}
.logo-frame img { max-height: 330px; object-fit: contain; }
.hero-card p {
  margin: 22px 0 0;
  font-size: 1.04rem;
  font-weight: 700;
  text-align: center;
}

.stats-strip {
  margin-top: -46px;
  position: relative;
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--line);
}
.stats-grid div {
  background: var(--white);
  padding: 28px;
  min-height: 132px;
}
.stats-grid strong {
  display: block;
  color: var(--gold);
  font-size: 2.1rem;
  line-height: 1;
  text-transform: uppercase;
}
.stats-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 650;
}

.section { padding: 108px 0; }
.section-heading {
  max-width: 820px;
  margin-bottom: 46px;
}
.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  min-height: 264px;
  box-shadow: 0 16px 48px rgba(6, 26, 50, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(200,154,45,.42);
}
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(200,154,45,.12);
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 22px;
}
.card h3 { color: var(--navy); font-size: 1.28rem; }
.card p { margin: 14px 0 0; color: var(--muted); }

.service-cards .card {
  background: linear-gradient(180deg, var(--navy), #042959);
  border-color: rgba(226, 189, 98, .18);
  box-shadow: 0 18px 54px rgba(1, 13, 31, .16);
}
.service-cards .card:hover {
  border-color: rgba(226,189,98,.5);
}
.service-cards .card h3 {
  color: var(--white);
}
.service-cards .card p {
  color: rgba(255,255,255,.82);
}
.service-cards .card-icon {
  background: rgba(200,154,45,.16);
  color: var(--gold-light);
  border: 1px solid rgba(226,189,98,.28);
}

.split-section { background-color: rgba(255,255,255,.92); }
.split-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 64px;
  align-items: center;
}
.image-panel {
  min-height: 520px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(6,42,85,.05), rgba(200,154,45,.08)),
    var(--cream);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 38px;
}
.image-panel img { max-height: 420px; object-fit: contain; }
.content-panel p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 700;
  color: var(--navy);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(200,154,45,.16);
  color: var(--gold);
}

.section-muted { background-color: rgba(243,245,247,.94); }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.timeline-item {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}
.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-weight: 900;
  margin-bottom: 20px;
}
.timeline-item h3 { color: var(--navy); font-size: 1.16rem; }
.timeline-item p { color: var(--muted); margin-bottom: 0; }

.cta-section { padding: 80px 0; }
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border: 1px solid rgba(226,189,98,.36);
  border-radius: 34px;
  padding: 42px;
  background: rgba(255,255,255,.06);
}
.cta-box p:not(.eyebrow) { color: rgba(255,255,255,.78); max-width: 720px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 52px;
  align-items: start;
}
.contact-info p { color: var(--muted); }
.contact-list {
  display: grid;
  gap: 14px;
  margin: 30px 0;
}
.contact-list div, .impressum {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}
.contact-list strong, .contact-list span { display: block; }
.contact-list strong { color: var(--navy); }
.contact-list span { color: var(--muted); margin-top: 4px; }
.impressum h3 { color: var(--navy); margin-bottom: 12px; }
.impressum p { margin: 6px 0; }
.contact-form {
  background: var(--white);
  border-radius: 30px;
  border: 1px solid var(--line);
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact-form label {
  display: block;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 16px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  background: #fbfcfe;
  border-radius: 14px;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--navy-dark);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: rgba(200,154,45,.7);
  box-shadow: 0 0 0 4px rgba(200,154,45,.12);
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { width: 100%; border: none; }
.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}

.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.72);
  padding: 28px 0;
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-brand img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 50%; }
.site-footer a { color: var(--gold-light); font-weight: 800; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-grid, .split-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; padding: 72px 0 108px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .cta-box { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav-wrap { min-height: 72px; }
  .brand img { width: 48px; height: 48px; }
  .brand strong { font-size: .86rem; }
  .brand small { font-size: .58rem; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; }
  .hero-grid { padding-top: 54px; }
  .hero-card { padding: 22px; border-radius: 24px; }
  .logo-frame { min-height: 280px; }
  .stats-grid, .cards, .timeline { grid-template-columns: 1fr; }
  .stats-strip { margin-top: -28px; }
  .section { padding: 72px 0; }
  .image-panel { min-height: 360px; }
  .cta-box { padding: 28px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}
