/* ========================================================
   CSS RESET & BASIC NORMALIZE
======================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  background: #EBEFF2;
  color: #174864;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #174864;
  text-decoration: none;
  transition: color 0.20s cubic-bezier(.26,.86,.44,.99);
}
a:focus {
  outline: 2px solid #F7A63B;
  outline-offset: 2px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  margin-bottom: 18px;
  color: #174864;
  letter-spacing: -1px;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 22px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 700;
}
p, ul, ol, li {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}

strong {
  font-weight: 700;
}

/*=========================================================
   GENERAL SPACING AND LAYOUT CONTAINERS
=========================================================*/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(23, 72, 100, 0.09), 0 1.5px 7px rgba(23,72,100,0.03);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  transition: box-shadow 0.23s cubic-bezier(.32,.98,.31,1),
              transform 0.23s cubic-bezier(.32,.98,.31,1);
}
.card:hover {
  box-shadow: 0 6px 22px rgba(23, 72, 100, 0.16);
  transform: translateY(-6px) scale(1.025);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(23,72,100,0.09);
  color: #243254;
  font-size: 1.08rem;
  transition: box-shadow 0.2s;
  flex-direction: column;
}
.testimonial-card p {
  color: #243254;
}
.testimonial-card strong {
  color: #174864;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*=========================================================
   HEADER & NAVIGATION (DESKTOP)
=========================================================*/
header {
  background: #fff;
  padding: 0;
  box-shadow: 0 2px 12px rgba(23,72,100,0.07);
  z-index: 100;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  padding: 0 22px;
  height: 70px;
  gap: 26px;
}
.main-nav > a img {
  height: 36px;
  margin-right: 18px;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  padding: 10px 4px;
  border-radius: 7px;
  transition: background 0.16s, color 0.16s;
  color: #174864;
  letter-spacing: 0.1px;
  position: relative;
}
.main-nav > a:not(.cta):hover,
.main-nav > a:not(.cta):focus {
  background-color: #EBEFF2;
  color: #174864;
}
.main-nav > a.cta.primary {
  margin-left: auto;
  background: #F7A63B;
  color: #fff;
  font-weight: 800;
  padding: 10px 30px;
  border-radius: 26px;
  box-shadow: 0 2px 8px rgba(247,166,59,0.09);
  letter-spacing: 0.3px;
  transition: background 0.15s, color 0.17s, box-shadow 0.17s, transform 0.15s;
}
.main-nav > a.cta.primary:hover,
.main-nav > a.cta.primary:focus {
  background: #174864;
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(23,72,100,0.10);
  transform: translateY(-2px) scale(1.045);
}

/* Hide mobile (burger) on desktop */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

/*=========================================================
   HERO SECTION
=========================================================*/
.hero {
  background: #174864;
  color: #fff;
  padding: 70px 0 60px 0;
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 16px;
}
.hero p {
  color: #EBEFF2;
  font-size: 1.18rem;
  margin-bottom: 28px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.hero .cta.primary {
  background: #F7A63B;
  color: #174864;
  box-shadow: 0 3px 18px #2e547b08;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 13px 34px;
  border-radius: 24px;
  border: none;
  transition: background 0.15s, color 0.18s, box-shadow 0.15s, transform 0.13s;
}
.hero .cta.primary:hover,
.hero .cta.primary:focus {
  background: #fff;
  color: #174864;
  box-shadow: 0 8px 26px #F7A63B20;
  transform: translateY(-3px) scale(1.062);
}

/*=========================================================
   FEATURES, GRID & SPECIAL LISTS
=========================================================*/
.features .feature-grid,
.features .metrics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 36px 0 0 0;
  padding: 0;
}
.features .feature-grid li,
.features .metrics-grid li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(23,72,100,0.08);
  padding: 28px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  flex: 1 1 220px;
  position: relative;
  min-height: 170px;
  transition: box-shadow 0.20s, transform 0.17s;
  margin-bottom: 0;
  z-index: 1;
}
.features .feature-grid li img {
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
}
.features .feature-grid li h3 {
  color: #174864;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
}
.features .feature-grid li p {
  color: #335276;
  margin-top: 2px;
  font-size: 1rem;
}
.features .feature-grid li:hover,
.features .metrics-grid li:hover {
  box-shadow: 0 8px 26px #F7A63B20;
  transform: translateY(-4px) scale(1.03);
}

.comparison-table,
.comparison-charts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: disc inside;
  margin: 24px 0 0 0;
  color: #174864;
}
.comparison-table li,
.comparison-charts li {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 1.5px 5px #17486413;
  padding: 14px 20px 13px 20px;
  flex: 1 1 320px;
  margin-bottom: 0;
  min-width: 220px;
  font-size: 1rem;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}

.metrics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 32px 0 0 0;
  padding: 0;
}
.metrics-grid li {
  min-width: 180px;
  flex: 1 1 220px;
}

.reports-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: disc inside;
  margin: 18px 0 28px 0;
}
.reports-list li {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 1.5px 5px #17486413;
  padding: 13px 19px;
  font-size: 1rem;
}

/* Steps and services lists */
.services ol, .services ul {
  padding-left: 1em;
  margin-bottom: 28px;
}
.services ol li, .services ul li {
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}

/*=========================================================
   CALL TO ACTION BUTTON GENERAL
=========================================================*/
.cta,
a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: #174864;
  color: #fff;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 3px 12px #17486416;
  cursor: pointer;
  transition: background 0.16s, color 0.18s, box-shadow 0.13s, transform 0.13s;
  text-align: center;
  margin: 0 7px 8px 0;
}
.cta:hover, .cta:focus {
  background: #F7A63B;
  color: #174864;
  box-shadow: 0 7px 28px #F7A63B20;
  transform: translateY(-2px) scale(1.048);
  text-decoration: none;
}
.cta.primary {
  background: #F7A63B;
  color: #174864;
  font-weight: 800;
}
.cta.primary:hover, .cta.primary:focus {
  background: #174864;
  color: #fff;
}

/*=========================================================
   CONTACT BLOCKS (KONTAKT PAGE)
=========================================================*/
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 18px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}
.contact-details img {
  width: 17px;
  height: 17px;
  margin-right: 6px;
  vertical-align: middle;
}

/*=========================================================
   FOOTER
=========================================================*/
footer {
  background: #fff;
  color: #2d3750;
  border-top: 3px solid #F7A63B;
  margin-top: 40px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 36px;
  padding-bottom: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
}
.footer-brand img {
  width: 36px;
  height: 36px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 10px 0;
}
.footer-links a {
  color: #174864;
  font-size: 1.02rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 6px 11px;
  transition: background 0.14s, color 0.12s;
}
.footer-links a:hover,
.footer-links a:focus {
  background: #F7A63B;
  color: #fff;
}
.footer-contact {
  font-size: 0.98rem;
  color: #335276;
  margin-bottom: 2px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.footer-social a img {
  width: 23px;
  height: 23px;
  opacity: 0.92;
  transition: opacity 0.15s, transform 0.13s;
}
.footer-social a:hover img {
  opacity: 1;
  transform: scale(1.14) rotate(-6deg);
}

/* ========================================================
   MOBILE NAVIGATION (BURGER MENU)
======================================================== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 18px;
  z-index: 204;
  background: #fff;
  color: #174864;
  border: none;
  font-size: 2.1rem;
  padding: 6px 14px 6px 14px;
  border-radius: 50%;
  box-shadow: 0 0 3px #17486411;
  cursor: pointer;
  transition: background 0.12s;
}
.mobile-menu-toggle:hover {
  background: #F7A63B;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 16px #17486410;
  z-index: 202;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  padding: 0;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.49,.05,.64,1.16);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 26px;
  background: #F7A63B;
  color: #174864;
  border: none;
  font-size: 2.2rem;
  padding: 6px 15px;
  border-radius: 50%;
  box-shadow: 0 0 4px #17486411;
  z-index: 210;
  cursor: pointer;
  transition: background 0.1s;
}
.mobile-menu-close:hover {
  background: #174864;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 82px;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
  padding: 0 29px 40px 29px;
}
.mobile-nav a {
  width: 100%;
  padding: 15px 0 15px 13px;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #174864;
  border-radius: 11px;
  transition: background 0.12s, color 0.11s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F7A63B;
  color: #fff;
}

/* Hide main nav on mobile */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* Show mobile menu when open */
@media (max-width: 1024px) {
  .mobile-menu {
    display: flex; /* Hidden by default, set to flex when .open class added */
  }
}

/* ========================================================
   COOKIE CONSENT BANNER
======================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #174864;
  box-shadow: 0 -2px 22px #274e6420;
  padding: 22px 18px 20px 18px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: cookieSlideIn 0.48s var(--cookie-ease, cubic-bezier(.38,.85,.7,1.18)) forwards;
}
@keyframes cookieSlideIn {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  font-size: 1.01rem;
  color: #243254;
  line-height: 1.65;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-btn {
  border: none;
  border-radius: 18px;
  padding: 10px 23px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.07em;
  cursor: pointer;
  background: #174864;
  color: #fff;
  box-shadow: 0 1.5px 8px #17486409;
  transition: background 0.13s, color 0.13s, transform 0.13s;
}
.cookie-btn:focus {
  outline: 2px solid #F7A63B;
}
.cookie-btn.accept {
  background: #F7A63B;
  color: #174864;
}
.cookie-btn.accept:hover {
  background: #174864;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #174864;
  border: 1px solid #F7A63B;
}
.cookie-btn.reject:hover {
  background: #F7A63B;
  color: #fff;
}
.cookie-btn.settings {
  background: #EBEFF2;
  color: #174864;
}
.cookie-btn.settings:hover {
  background: #F7A63B;
  color: #fff;
}

/* Cookie settings modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23,72,100,0.45);
  backdrop-filter: blur(1.5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn .4s cubic-bezier(.42,1.29,.66,.99) forwards;
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px #17486438;
  padding: 36px 28px 27px 28px;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: cookieSettingsAppear .29s;
}
@keyframes cookieSettingsAppear {
  0% { transform: scale(.7) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 13px;
  font-weight: 800;
  color: #174864;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  width: 100%;
  gap: 12px;
}
.cookie-modal .cookie-category label {
  font-size: 1.01rem;
  cursor: pointer;
  color: #243254;
}
.cookie-modal .cookie-toggle {
  accent-color: #F7A63B;
  appearance: auto;
  width: 20px;
  height: 20px;
  margin-right: 7px;
}
.cookie-modal .cookie-note {
  font-size: .93rem;
  color: #335276;
  margin-bottom: 6px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  width: 100%;
  margin-top: 19px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 120px;
}

/* =========================================================
   THANK-YOU SECTION & SPECIAL PAGES
==========================================================*/
.thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(23, 72, 100, 0.09);
  padding: 52px 24px;
  margin-top: 44px;
}

/* =========================================================
   RESPONSIVE CSS (MOBILE-FIRST)
==========================================================*/
@media (max-width: 990px) {
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2rem; }
  .features .feature-grid li, .features .metrics-grid li, .comparison-table li,
  .reports-list li { min-width: 170px; flex: 1 1 170px; }
  .card {
    padding: 24px 13px;
  }
  .container {
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 24px 6px;
  }
  .hero {
    padding: 44px 0 34px 0;
  }
  .hero h1 {
    font-size: 1.38rem;
  }
  .hero p {
    font-size: 1rem;
  }
  footer .container {
    padding-top: 22px;
    padding-bottom: 21px;
    gap: 13px;
  }
  .features .feature-grid, .features .metrics-grid, .comparison-table, .reports-list {
    flex-direction: column;
    gap: 15px;
  }
  .features .feature-grid li, .features .metrics-grid li {
    min-width: unset;
    width: 100%;
    flex: 1 1 100%;
  }
  .comparison-table li, .reports-list li {
    width: 100%;
    flex: 1 1 100%;
    min-width: unset;
  }
  .testimonial-card {
    padding: 12px 8px;
  }
  .card-container {
    flex-direction: column;
    gap: 11px;
  }
  .content-grid,
  .text-image-section,
  .contact-details {
    flex-direction: column;
    gap: 16px;
  }
  .footer-links {
    gap: 13px;
  }
}
@media (max-width: 575px) {
  .container {
    padding: 0 4px;
  }
  .footer-brand img {
    width: 28px; height: 28px;
  }
  .thank-you {
    padding: 31px 7px;
  }
}

/* Accessibility & Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Spacing helpers */
.mb-2 { margin-bottom: 12px !important; }
.mb-3 { margin-bottom: 20px !important; }
.mb-4 { margin-bottom: 32px !important; }

/* Misc */
::-webkit-scrollbar {
  width: 7px;
  background: #EBEFF2;
}
::-webkit-scrollbar-thumb {
  background: #e3e8ed;
  border-radius: 5px;
}

/* ================= END ======================== */
