/* ===== Fonts ===== */

/* DM Sans — latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans — latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans italic — latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/dm-sans-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans italic — latin */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/dm-sans-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Instrument Serif — latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Serif — latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Instrument Serif italic — latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Serif italic — latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/instrument-serif-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Syne — latin-ext */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/syne-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Syne — latin */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/syne-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0A1E2E;
  --navy-mid: #0C2D48;
  --blue: #2A8FBF;
  --blue-light: #3DA5D9;
  --bg: #F5F7F9;
  --light-blue: #E4F0F8;
  --sand: #D4B85A;
  --max-w: 1600px;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: #333;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul { list-style: none; }

/* ===== Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(1.5); opacity: 0.5; }
}

@keyframes lineGrow {
  from { width: 0; }
  to { width: 3rem; }
}

.anim-fade {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ===== SVG Icons ===== */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}
.icon-sm {
  width: 1rem;
  height: 1rem;
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(10, 30, 46, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: #fff;
}

.nav-logo-img {
  height: 4.2rem;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue-light);
  transition: width 0.3s;
}

.nav-links a:not(.nav-cta):hover {
  color: #fff;
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.625rem 1.5rem;
  background: var(--sand);
  border: 1px solid var(--sand);
  border-radius: 100px;
  font-size: 0.9375rem !important;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--navy) !important;
  transition: all 0.3s !important;
}

.nav-cta:hover {
  background: #d4b98d;
  color: var(--navy) !important;
  border-color: #d4b98d;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 110;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s;
}

.nav-hamburger.active span:first-child {
  transform: rotate(45deg) translate(2.5px, 2.5px);
}

.nav-hamburger.active span:last-child {
  transform: rotate(-45deg) translate(2.5px, -2.5px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 101;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  font-weight: 400;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: #fff;
}

.mobile-menu .nav-cta {
  margin-top: 1rem;
  font-size: 1rem !important;
  padding: 1rem 2.5rem;
}

/* ===== Section Common ===== */
.section-label {
  font-size: 0.875rem;
  color: #1a7199;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

/* ===== Scroll reveal — directional ===== */
.reveal-left,
.reveal-right,
.reveal-up,
.reveal {
  opacity: 0;
  transition:
    opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left {
  transform: translateX(-8rem);
}

.reveal-right {
  transform: translateX(8rem);
}

.reveal-up,
.reveal {
  transform: translateY(5rem);
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible,
.reveal.visible {
  opacity: 1;
  transform: translate(0);
}

/* ===== CTA ===== */
/* ===== CTA — kontakt ===== */
.cta {
  position: relative;
  color: #fff;
  padding: 6rem 3rem;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,30,46,0.75) 0%, rgba(10,30,46,0.55) 40%, rgba(10,30,46,0.7) 100%);
  pointer-events: none;
}

.cta-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.5rem;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

.cta-title em {
  font-style: italic;
  color: var(--sand);
}

.cta-desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  max-width: 30rem;
}

.cta-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cta-card {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.25rem;
  row-gap: 0.15rem;
  padding: 1.35rem 1.75rem;
  background: rgba(10,30,46,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease, background 0.3s, border-color 0.3s;
}

.cta-card:hover {
  transform: translateY(-2px);
  background: rgba(10,30,46,0.65);
  border-color: rgba(255,255,255,0.25);
}

.cta-card-icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--sand);
  grid-row: 1 / 3;
  align-self: center;
}

.cta-card-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: block;
}

.cta-card-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  display: block;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 3fr 2fr 2.5fr 3fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col {
  min-width: 0;
}

.footer-address {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.footer-logo {
  display: block;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  color: #fff;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: #fff;
}

.social-link:hover {
  background: #fff;
  color: var(--navy);
}

.footer-heading {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-menu li {
  margin-bottom: 1rem;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.footer-menu a:hover {
  color: #fff;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Nav active link ===== */
.nav-links a.active {
  color: var(--blue-light);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* CTA */
  .cta {
    padding: 4rem 1.5rem;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cta-title {
    font-size: 2.25rem;
  }

  .cta-cards {
    max-width: 100%;
  }

  /* Footer */
  .footer-inner {
    padding: 3rem 1.5rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
