:root {
  --navy: #0f2638;
  --navy-dark: #071b28;
  --gold: #c6a44a;
  --gold-dark: #a98232;
  --white: #ffffff;
  --stone: #f4f2ee;
  --text: #101b27;
  --muted: #66727d;
  --line: rgba(15, 38, 56, 0.14);
  --footer-line: rgba(255, 255, 255, 0.16);
  --container: 1180px;
  --transition: 0.25s ease;
  --section-y-small: clamp(52px, 6vw, 76px);
  --header-bg-alpha: 1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

section {
  scroll-margin-top: 92px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.center {
  text-align: center;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-title {
  color: var(--navy-dark);
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.section-text {
  max-width: 780px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 15px;
}

/* Buttons */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid transparent;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  transform: translateX(-105%);
  transition: transform 0.36s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -45%;
  z-index: -1;
  width: 34%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32), transparent);
  transform: rotate(18deg) translateX(-120%);
  transition: transform 0.55s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::before {
  transform: translateX(0);
}

.btn:hover::after {
  transform: rotate(18deg) translateX(520%);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

.btn-gold::before {
  background: var(--gold-dark);
}

.btn-gold:hover {
  color: var(--white);
  border-color: var(--gold-dark);
}

.btn-outline-light {
  color: var(--white);
  border-color: rgba(255,255,255,0.56);
}

.btn-outline-light::before {
  background: var(--gold);
}

.btn-outline-light:hover {
  color: var(--navy-dark);
  border-color: var(--gold);
}

.btn-outline-dark {
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-dark::before {
  background: var(--navy);
}

.btn-outline-dark:hover {
  color: var(--white);
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.site-header.header-on-dark {
  background: rgba(7, 27, 40, var(--header-bg-alpha));
  border-bottom-color: rgba(255,255,255,0.08);
}

.site-header.header-on-light {
  background: rgba(255, 255, 255, var(--header-bg-alpha));
  border-bottom-color: rgba(15, 38, 56, 0.12);
}

.site-header.scrolled {
  box-shadow: 0 12px 42px rgba(0,0,0,0.16);
}

.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  height: 68px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.18s ease;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.header-on-dark .nav-link {
  color: rgba(255,255,255,0.9);
}

.header-on-light .nav-link {
  color: rgba(15,38,56,0.9);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-header {
  min-height: 38px;
  padding: 0 18px;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-header::before {
  background: var(--gold);
}

.header-on-dark .btn-header:hover,
.header-on-light .btn-header:hover {
  color: var(--navy-dark);
}

/* Language */

.language-dropdown {
  position: relative;
  flex-shrink: 0;
}

.language-current {
  height: 38px;
  min-width: 74px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(198, 164, 74, 0.62);
  background: rgba(255,255,255,0.02);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.header-on-dark .language-current {
  color: var(--white);
}

.header-on-light .language-current {
  color: var(--navy);
}

.language-current:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(198, 164, 74, 0.08);
}

.language-arrow {
  font-size: 13px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.25s ease;
}

.language-dropdown.open .language-arrow {
  transform: translateY(-1px) rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 138px;
  padding: 8px;
  background: rgba(7, 27, 40, 0.96);
  border: 1px solid rgba(198, 164, 74, 0.35);
  box-shadow: 0 18px 44px rgba(0,0,0,0.38);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.language-dropdown.open .language-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.language-menu button {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.78);
  text-align: left;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.language-menu button:hover {
  color: var(--gold);
  background: rgba(255,255,255,0.06);
}

/* Mobile menu */

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.28);
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header-on-dark .menu-toggle {
  color: var(--white);
  border-color: rgba(255,255,255,0.28);
}

.header-on-light .menu-toggle {
  color: var(--navy);
  border-color: rgba(15,38,56,0.24);
}

.menu-toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: background 0.25s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: top 0.25s ease, transform 0.25s ease;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.menu-toggle.active span {
  background: transparent;
}

.menu-toggle.active span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7,27,40,0.98) 0%, rgba(7,27,40,0.88) 36%, rgba(7,27,40,0.52) 68%, rgba(7,27,40,0.72) 100%),
    url("images/hamburg-hero.jpg") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 74% 42%, rgba(198,164,74,0.12), transparent 34%);
  pointer-events: none;
}

.hero-decor {
  position: absolute;
  right: 4vw;
  top: 130px;
  width: 250px;
  height: 430px;
  border: 1px solid rgba(198,164,74,0.65);
  transform: rotate(26deg);
  pointer-events: none;
  z-index: 1;
}

.hero-decor::after {
  content: "";
  position: absolute;
  left: 55px;
  top: 112px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(198,164,74,0.75);
  transform: rotate(45deg);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 96px;
}

.hero-content {
  max-width: 650px;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 570px;
  margin-bottom: 34px;
  color: rgba(255,255,255,0.86);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 40px;
}

.hero-slogan {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-slogan::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold);
}

/* Services */

.services-section {
  padding: var(--section-y-small) 0;
  background: var(--white);
  text-align: center;
}

.services-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-left: 1px solid var(--line);
}

.service-card {
  padding: 20px 20px 18px;
  border-right: 1px solid var(--line);
  transition: transform 0.28s ease, background 0.28s ease;
}

.service-card:hover {
  background: #faf9f6;
  transform: translateY(-4px);
}

.service-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.service-card h3 {
  margin-bottom: 9px;
  color: var(--navy-dark);
  font-size: 15px;
  font-weight: 700;
}

.service-card p {
  color: #293643;
  font-size: 12px;
  line-height: 1.55;
}

.services-section .center {
  margin-top: 32px;
}

/* Approach */

.approach-section {
  background: var(--stone);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.approach-image {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.approach-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach-image::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 50%;
  width: 26px;
  height: 26px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

.approach-content {
  display: flex;
  align-items: center;
  padding: 64px 7vw 64px 64px;
  background: #f7f5f0;
}

.approach-content > div {
  max-width: 570px;
}

.approach-content p {
  margin-top: 16px;
  color: #293643;
  font-size: 15px;
}

.strong-text {
  color: var(--navy) !important;
  font-weight: 700;
}

.approach-content .btn {
  margin-top: 28px;
}

/* International */

.international-section {
  padding: var(--section-y-small) 0;
  background:
    radial-gradient(circle at 84% 12%, rgba(198,164,74,0.12), transparent 28%),
    var(--navy-dark);
  color: var(--white);
}

.international-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.international-section .section-title {
  color: var(--white);
}

.international-section .section-text {
  margin-left: 0;
  color: rgba(255,255,255,0.75);
}

.international-points {
  display: grid;
  gap: 14px;
}

.international-point {
  padding: 18px 20px;
  border: 1px solid rgba(198,164,74,0.28);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.84);
  font-size: 14px;
}

/* Clients */

.clients-section {
  padding: var(--section-y-small) 0;
  background: var(--white);
  text-align: center;
}

.clients-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-left: 1px solid var(--line);
  text-align: left;
}

.client-item {
  min-height: 74px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--line);
  color: #142331;
  font-size: 13px;
  line-height: 1.35;
}

.client-item span {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 14px;
}

/* Footer */

.footer-area {
  background:
    radial-gradient(circle at 18% 0%, rgba(198,164,74,0.09), transparent 30%),
    var(--navy-dark);
  color: var(--white);
}

.footer-cta {
  padding: 44px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 44px;
  align-items: center;
  border-bottom: 1px solid var(--footer-line);
}

.footer-cta-logo-link {
  display: inline-flex;
}

.footer-cta-logo {
  height: 84px;
  width: auto;
  object-fit: contain;
}

.footer-cta h2 {
  margin-bottom: 6px;
  font-size: clamp(22px, 3vw, 31px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.footer-cta p {
  max-width: 640px;
  color: rgba(255,255,255,0.74);
  font-size: 15px;
}

.site-footer {
  padding-top: 32px;
}

.footer-grid {
  padding-bottom: 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr 0.9fr 1.25fr;
  gap: 28px;
  border-bottom: 1px solid var(--footer-line);
}

.footer-logo {
  height: 74px;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  max-width: 260px;
  margin-top: 18px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

.footer-brand strong {
  display: block;
  margin-top: 14px;
  color: var(--gold);
  font-size: 13px;
}

.site-footer h3 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer li {
  margin-bottom: 7px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

.site-footer a {
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 14px 0;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  text-align: center;
}

/* Modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 27, 40, 0.82);
}

.modal.open {
  display: flex;
}

.modal-card {
  position: relative;
  width: min(100%, 520px);
  padding: 34px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.modal-card h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.2;
}

.modal-form {
  display: grid;
  gap: 12px;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(15,38,56,0.2);
  background: #fafaf8;
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.modal-form input:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.form-message {
  display: none;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
}

.form-message.visible {
  display: block;
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

/* Responsive */

@media (max-width: 1180px) {
  .main-nav {
    gap: 17px;
  }

  .nav-link {
    font-size: 11px;
  }

  .btn-header {
    padding: 0 14px;
  }

  .services-grid,
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card,
  .client-item {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 960px) {
  .container {
    width: min(100% - 34px, var(--container));
  }

  .header-inner {
    height: 76px;
  }

  .site-logo img {
    height: 58px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    right: -100%;
    width: min(86vw, 390px);
    height: calc(100vh - 76px);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 20px;
    background: rgba(7, 27, 40, 0.98);
    border-left: 1px solid rgba(255,255,255,0.1);
    box-shadow: -18px 0 50px rgba(0,0,0,0.35);
    transition: right 0.32s ease;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav .nav-link {
    color: rgba(255,255,255,0.9);
    font-size: 13px;
  }

  .btn-header {
    width: 100%;
    min-height: 46px;
  }

  .language-dropdown {
    width: 100%;
  }

  .language-current {
    width: 100%;
    justify-content: space-between;
    color: var(--white) !important;
  }

  .language-menu {
    position: static;
    display: none;
    margin-top: 8px;
    width: 100%;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .language-dropdown.open .language-menu {
    display: block;
  }

  .hero {
    min-height: 720px;
    background:
      linear-gradient(90deg, rgba(7,27,40,0.96), rgba(7,27,40,0.78)),
      url("images/hamburg-hero.jpg") center / cover no-repeat;
  }

  .hero-decor {
    right: -110px;
    opacity: 0.46;
  }

  .approach-grid,
  .international-layout {
    grid-template-columns: 1fr;
  }

  .approach-content {
    padding: 48px 24px;
  }

  .approach-image::after {
    display: none;
  }

  .footer-cta {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
    justify-items: center;
  }

  .footer-cta p {
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .header-inner {
    height: 74px;
  }

  .site-logo img {
    height: 54px;
  }

  .main-nav {
    top: 74px;
    height: calc(100vh - 74px);
  }

  .hero {
    min-height: 690px;
  }

  .hero-inner {
    padding-top: 76px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-slogan {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .services-grid,
  .clients-grid {
    grid-template-columns: 1fr;
    border-left: 0;
  }

  .service-card,
  .client-item {
    border-right: 0;
  }

  .service-card {
    padding: 24px 16px;
  }

  .client-item {
    min-height: 62px;
    border-bottom: 1px solid var(--line);
  }

  .approach-image {
    min-height: 270px;
  }

  .footer-logo {
    height: 66px;
  }

  .footer-cta-logo {
    height: 72px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .modal-card {
    padding: 30px 22px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}