/* =====================
   CSS RESET & BASELINE
   ===================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F3F7FB;
  color: #223E60;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  min-height: 100vh;
  min-width: 320px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #15707D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #223E60;
  outline: none;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1.25em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #223E60;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 16px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1rem; }
}
p, .subheadline, .service-price {
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 18px;
}
strong { font-weight: 700; }
.container {
  width: 100%;
  max-width: 1040px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.text-section {
  margin-bottom: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 28px 0;
  }
  .container {
    padding: 0 12px;
  }
}
/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  background: #fff;
  border-bottom: 1px solid #EAEFF4;
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  min-height: 72px;
  justify-content: space-between;
  gap: 24px;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #223E60;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #15707D;
}
.cta-primary {
  background: #15707D;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(21, 112, 125, 0.07);
  border: none;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s, box-shadow 0.18s;
  margin-left: 10px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #223E60;
  box-shadow: 0 4px 20px rgba(21, 112, 125, 0.08);
  outline: none;
}
.cta-secondary {
  background: #fff;
  color: #15707D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 30px;
  border-radius: 22px;
  border: 1px solid #15707D;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 1px 3px rgba(34,62,96,.04);
  transition: color 0.15s, background 0.15s, border 0.15s, box-shadow 0.15s;
  margin-top: 12px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #15707D;
  color: #fff;
  border-color: #15707D;
}
@media (max-width: 992px) {
  header .container {
    gap: 12px;
  }
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: transparent;
    border: none;
    color: #15707D;
    margin-left: auto;
    cursor: pointer;
    padding: 8px;
    transition: color 0.15s, background 0.15s;
    z-index: 120;
  }
}
@media (min-width: 901px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}
/* ===========================
   MOBILE MENU (OFFCANVAS)
   =========================== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 90vw;
  max-width: 350px;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(.42,.97,.52,1.01);
  box-shadow: -6px 0 18px 0 rgba(34, 62, 96, 0.13);
  z-index: 200;
  padding: 28px 28px 40px 20px;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #15707D;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 32px;
  transition: color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #223E60;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
}
.mobile-nav a {
  color: #223E60;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  padding: 12px 8px;
  border-radius: 8px;
  transition: background .12s, color .12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3F7FB;
  color: #15707D;
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}
/* OVERLAY when menu is open (optional for body) */
.menu-overlay {
  content: '';
  display: block;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,62,96,0.14);
  z-index: 150;
  pointer-events: auto;
  opacity: 1;
  transition: opacity .17s;
}
.menu-overlay.hide { opacity: 0; pointer-events: none; }
/* =====================
   HERO
   ===================== */
.hero {
  background: linear-gradient(118deg, #F3F7FB 80%, #EAEFF4 100%);
  padding: 48px 0 24px 0;
  margin-bottom: 60px;
}
.hero .container {
  min-height: 310px;
  justify-content: center;
  align-items: center;
  display: flex;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
  max-width: 600px;
}
.subheadline {
  font-size: 1.18rem;
  margin-bottom: 26px;
  color: #15707D;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.5;
}
@media (max-width: 540px) {
  .hero { padding: 24px 0 8px 0; }
  .hero .container { min-height: 180px; }
}
/* =====================
   FEATURE GRID / LISTS
   ===================== */
.feature-grid, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 28px 0 8px 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(34,62,96,0.06);
  padding: 28px 22px;
  min-width: 225px;
  flex: 1 1 240px;
  transition: box-shadow 0.16s, border 0.17s;
  border: 1px solid transparent;
  margin-bottom: 20px;
}
.feature-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}
.feature-item:hover {
  border: 1px solid #d0dee8;
  box-shadow: 0 4px 18px rgba(21,112,125,.13);
}
@media (max-width: 992px) {
  .feature-grid, .feature-list { gap: 18px; }
  .feature-item { min-width: 170px; }
}
@media (max-width: 600px) {
  .feature-grid, .feature-list { flex-direction: column; gap: 16px; }
  .feature-item { width: 100%; min-width: 0; }
}
/* =====================
   SERVICES & CARDS
   ===================== */
.service-list, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(34,62,96,0.06);
  padding: 26px 18px 22px 18px;
  min-width: 220px;
  flex: 1 1 240px;
  border: 1px solid transparent;
  transition: border 0.18s, box-shadow 0.17s;
  margin-bottom: 20px;
  position: relative;
}
.service-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
}
.service-item:hover {
  border: 1px solid #15707D33;
  box-shadow: 0 4px 20px 0 rgba(21,112,125,0.12);
}
.service-price {
  color: #15707D;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 0.3em;
}
@media (max-width: 768px) {
  .service-list, .service-grid { flex-direction: column; gap: 14px; }
  .service-item { min-width: 0; width: 100%; }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 9px rgba(34,62,96,0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 18px 20px 18px;
  transition: box-shadow 0.19s, border 0.18s;
}
.card:hover { box-shadow: 0 4px 20px rgba(21,112,125,0.13); }
.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;
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px;
  }
}
/* =====================
   TESTIMONIALS & CASE STUDY
   ===================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 28px 20px 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 9px rgba(34,62,96,0.07);
  margin-bottom: 24px;
  border-left: 5px solid #15707D;
  color: #223E60;
  max-width: 700px;
}
.testimonial-card p {
  color: #223E60;
  font-size: 1.1rem;
  line-height: 1.55;
  margin-bottom: 0;
}
.testimonial-meta {
  color: #15707D;
  font-size: 0.97rem;
  font-weight: 500;
  align-self: flex-end;
  margin-top: -7px;
}
/* Accessibility: Ensure contrast */
.testimonial-card h2, .testimonial-card p, .testimonial-meta {
  color: #223E60;
}
@media (max-width: 650px) {
  .testimonial-card {
    padding: 14px 13px;
    min-width: 0;
  }
}
.case-study-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.customer-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 28px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.customer-logos img {
  height: 36px;
  opacity: 0.85;
  filter: grayscale(15%);
  transition: filter .19s, opacity .18s;
}
.customer-logos img:hover { opacity: 1; filter: none; }
@media (max-width: 600px) {
  .customer-logos { gap: 20px; }
  .customer-logos img { height: 28px; }
}
/* =====================
   BLOG LIST
   ===================== */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 20px;
}
.blog-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 9px rgba(34,62,96,0.07);
  padding: 22px 16px 18px 16px;
  min-width: 220px;
  flex: 1 1 265px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .15s;
}
.blog-item h2 {
  font-size: 1.2rem;
  color: #223E60;
  margin-bottom: 10px !important;
}
.blog-link {
  display: inline-block;
  color: #15707D;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 8px;
  text-decoration: underline;
  transition: color .14s;
}
.blog-link:hover, .blog-link:focus {
  color: #223E60;
}
@media (max-width: 700px) {
  .blog-list { flex-direction: column; gap: 14px; }
  .blog-item { width: 100%; min-width: 0; }
}
.blog-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.blog-controls input[type="text"] {
  font-size: 1rem;
  padding: 9px 13px;
  border: 1px solid #d9e2ee;
  border-radius: 8px;
  background: #F3F7FB;
  font-family: 'Open Sans', Arial, sans-serif;
  outline: none;
  transition: border .13s;
}
.blog-controls input[type="text"]:focus {
  border: 1px solid #15707D;
  background: #fff;
}
.blog-controls select {
  font-size: 1rem;
  padding: 9px 13px;
  border: 1px solid #d9e2ee;
  border-radius: 8px;
  background: #F3F7FB;
  font-family: 'Open Sans', Arial, sans-serif;
  outline: none;
  transition: border .14s;
}
.blog-controls select:focus {
  border: 1px solid #15707D;
  background: #fff;
}
/* =============================
   INDUSTRY / REFERENZEN LAYOUTS
   ============================= */
.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 28px 0 0 0;
}
.industry-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 9px rgba(34,62,96,0.07);
  padding: 22px 18px 16px 18px;
  flex: 1 1 220px;
  min-width: 180px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 700px) {
  .industry-list { flex-direction: column; gap: 13px; }
  .industry-item { width: 100%; min-width: 0; }
}
/* =====================
   CONTACT & FORMS
   ===================== */
.contact-details, .office-hours, .map-embed {
  margin-bottom: 14px;
}
.contact-details p, .office-hours {
  font-size: 1.07rem;
}
.contact-details a {
  word-break: break-word;
  color: #15707D;
  font-weight: 500;
}
.contact-details a:hover { color: #223E60; }
/* =====================
   FOOTER
   ===================== */
footer {
  background: #fff;
  border-top: 1px solid #EAEFF4;
  margin-top: 60px;
  padding: 36px 0 20px 0;
  color: #223E60;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 30px;
}
.footer-logo img {
  height: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav a {
  color: #15707D;
  transition: color 0.16s;
  font-size: 1rem;
}
.footer-nav a:hover { color: #223E60; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 1rem;
}
.footer-contact a {
  color: #15707D;
    text-decoration: underline;
}
.footer-copyright {
  width: 100%;
  font-size: 0.97rem;
  color: #869CB3;
  text-align: left;
  margin-top: 24px;
  margin-bottom: 0;
}
@media (max-width: 992px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-copyright {
    margin-top: 18px;
    text-align: left;
  }
}
/* =====================
   COOKIE CONSENT BANNER & MODAL
   ===================== */
#cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 300;
  background: #fff;
  color: #223E60;
  box-shadow: 0 -2px 22px 0 rgba(34,62,96,0.11);
  padding: 24px 16px 20px 16px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: center;
  min-width: 260px;
  max-width: 100vw;
  transition: transform 0.3s, opacity 0.19s;
}
#cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
#cookie-consent-banner .cookie-message {
  font-size: 1rem;
  max-width: 500px;
}
#cookie-consent-banner .cookie-actions {
  display: flex; 
  gap: 11px;
}
.cookie-btn {
  background: #15707D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .97rem;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 20px;
  border: none;
  margin-left: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.12s;
  box-shadow: 0 1px 8px rgba(21,112,125,0.07);
}
.cookie-btn.reject {
  background: #fff;
  color: #15707D;
  border: 1px solid #15707D;
}
.cookie-btn.settings {
  background: #223E60;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #223E60;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F3F7FB;
  color: #223E60;
  border: 1px solid #223E60;
}
@media (max-width: 700px) {
  #cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 8px 15px 8px;
    gap: 12px;
  }
}
/* Cookie Modal */
#cookie-modal-overlay {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,62,96,.16);
  z-index: 400;
  display: none;
  transition: opacity 0.22s;
}
#cookie-modal-overlay.open {
  display: block;
  opacity: 1;
}
#cookie-preferences-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(.98);
  z-index: 500;
  background: #fff;
  color: #223E60;
  border-radius: 15px;
  box-shadow: 0 4px 30px rgba(34,62,96,0.17);
  padding: 34px 32px 26px 32px;
  min-width: 310px;
  max-width: 90vw;
  max-height: 88vh;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  gap: 18px;
  transition: opacity .20s;
}
#cookie-preferences-modal.open {
  display: flex;
  opacity: 1;
}
#cookie-preferences-modal h3 {
  font-size: 1.26rem;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex; flex-direction: row; align-items: center;
  gap: 16px;
  background: #F3F7FB;
  border-radius: 13px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.cookie-category label {
  flex: 1 1 auto;
  font-size: 1.01rem;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #15707D;
}
.cookie-category.essential label {
  color: #223E60;
  font-weight: 600;
}
#cookie-preferences-modal .modal-actions {
  margin-top: 18px;
  display: flex; gap: 12px; justify-content: flex-end;
}
#cookie-preferences-modal .close-btn {
  background: none; border: none;
  color: #15707D;
  font-size: 1.6rem;
  position: absolute;
  top: 18px; right: 24px;
  cursor: pointer;
}
#cookie-preferences-modal .close-btn:hover, #cookie-preferences-modal .close-btn:focus {
  color: #223E60;
}
@media (max-width: 500px) {
  #cookie-preferences-modal {
    padding: 18px 8px;
    min-width: 90vw;
  }
}
/* =====================
   UTILITY CLASSES & SPACING
   ===================== */
.mb-0    { margin-bottom: 0    !important; }
.mb-8    { margin-bottom: 8px  !important; }
.mb-16   { margin-bottom: 16px !important; }
.mb-24   { margin-bottom: 24px !important; }
.mb-32   { margin-bottom: 32px !important; }
.mt-16   { margin-top: 16px   !important; }
.mt-24   { margin-top: 24px   !important; }
.pt-24   { padding-top: 24px  !important; }
.pb-24   { padding-bottom: 24px !important; }
.center  { text-align: center !important; justify-content: center !important; }
.d-flex  { display: flex !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }
.w100 { width: 100% !important; }
/* Remove number arrows on input (for blog/search UX) */
input[type='number']::-webkit-inner-spin-button, 
input[type='number']::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type='number'] { -moz-appearance: textfield; }
/* =====================
   FOCUS STYLE
   ===================== */
a:focus, button:focus, input:focus, select:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2px solid #15707D;
  outline-offset: 1px;
}
/* =====================
   TRANSITIONS & ANIMATIONS
   ===================== */
section, .card, .testimonial-card, .service-item, .feature-item, .blog-item, .industry-item {
  transition: box-shadow .18s, border .15s, background .19s;
}
input, select {
  transition: border .13s, background .11s;
}
button, a.cta-primary, a.cta-secondary {
  transition: background .15s, color .13s, box-shadow .13s;
}
/* =====================
   SCANDINAVIAN STYLE DECOR
   ===================== */
body, html {
  background: #F3F7FB;
}
.card, .testimonial-card, .service-item, .feature-item, .industry-item, .blog-item {
  background: #fff;
  box-shadow: 0 2px 10px rgba(34,62,96,0.05);
  border-radius: 13px;
}
/* Optional NATURAL MATERIALS: Soft color borders, more white/neutral backgrounds, minimalist icons, etc. */
/* Typography: Montserrat (display/heading), Open Sans (body/copy) - already used */
/* ====================
   END OF STYLE.CSS
   ==================== */
