/* -----------------------
   CSS RESET & NORMALIZE
-------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer,
header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #fff;
  color: #24242a;
  font-family: 'Roboto', Georgia, Times, serif;
  font-size: 1rem;
  line-height: 1.75;
  min-height: 100vh;
  letter-spacing: .003em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: var(--primary, #124893);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--accent, #21745D);
  text-decoration: underline;
}
ul, ol {
  list-style: none;
  margin-left: 0;
  margin-bottom: 20px;
  padding-left: 0;
}
ul li, ol li {
  padding-left: 0;
  margin-bottom: 8px;
}
ul.bulletpoints, .features ul, .howto-guide ul, .user-tips ul {
  list-style: disc inside;
  margin-left: 1em;
  color: #2c2c32;
}
ol {
  list-style: decimal inside;
  margin-left: 1em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, Times, serif;
  color: #124893;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-top: 18px; }
h2 { font-size: 2rem; margin-top: 16px; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p, label, address {
  color: #232323;
  margin-bottom: 18px;
  font-family: 'Roboto', Georgia, Times, serif;
}
strong, b {
  font-weight: bold;
}

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

button,
input[type=submit],
.cta-button {
  font-family: 'Montserrat', Georgia, Times, serif;
  cursor: pointer;
  border: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: background 0.15s, box-shadow 0.15s, color 0.15s;
  outline: none;
  padding: 0.8em 2.2em;
  border-radius: 2em;
  background: var(--primary, #124893);
  color: #fff;
  box-shadow: 0 2px 12px rgba(17,34,56,0.07);
  margin-top: 10px;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

button:active,
input[type=submit]:active,
.cta-button:active,
button:focus,
input[type=submit]:focus,
.cta-button:focus {
  background: var(--accent, #21745D);
  color: #fff;
}

.cta-button:hover, button:hover, input[type=submit]:hover {
  background: #21745D;
  color: #fff;
  box-shadow: 0 4px 18px rgba(33,116,93,0.12);
  text-decoration: none;
}

button[disabled],
input[disabled],
.cta-button[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 32px 0;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

main section:last-of-type {
  margin-bottom: 0;
}

/* Elegant Classic Color Palette */
:root {
  --primary: #124893;
  --secondary: #E2EAFA;
  --accent: #21745D;
  --neutral-light: #F8FAFC;
  --neutral-soft: #F1F3F6;
  --border: #D8D8DC;
  --text: #22222A;
}

/* Header */
header {
  background: var(--neutral-light);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 110;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 16px;
}
.logo img {
  height: 48px;
  width: auto;
  margin-right: 18px;
  margin-top: 6px;
}
/* Main Nav */
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
}
.main-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 6px;
  transition: color 0.22s, background 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}
.cta-button {
  margin-left: 18px;
}

/* Mobile Menu (hidden on desktop, toggled on mobile) */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  border: none;
  font-size: 2rem;
  justify-content: center;
  align-items: center;
  margin-left: 12px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--primary);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(18, 72, 147, 0.96);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.83,0,0.17,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.3rem;
  padding: 16px 24px 10px 18px;
  align-self: flex-end;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 14;
}
.mobile-menu-close:hover {
  color: #39B385;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 22px;
  align-items: flex-start;
  padding-left: 28px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  padding: 10px 8px 10px 2px;
  font-family: 'Montserrat', serif;
  border-radius: 4px;
  font-weight: 600;
  width: 100%;
  transition: background .14s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #21745D;
  color: #E2EAFA;
}

/* Hide mobile nav on desktop, show on mobile */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --------------
    HERO SECTION
----------------- */
.hero {
  background: linear-gradient(120deg, #fff 65%, #E2EAFA 100%);
  padding: 54px 0 44px 0;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 720px;
  gap: 6px;
}
.hero h1 {
  font-size: 2.5rem;
  font-family: 'Montserrat', Georgia, serif;
  color: var(--primary);
  margin-bottom: 18px;
  margin-top: 0;
  font-weight: 700;
}
.subheadline {
  color: #21745D;
  font-size: 1.133rem;
  font-family: 'Roboto', Georgia, serif;
  font-weight: 500;
  margin-bottom: 22px;
}
.hero .cta-button {
  font-size: 1.15rem;
  margin-top: 13px;
  letter-spacing: 0.01em;
}

/* -------------
   FEATURES
--------------- */
.features {
  background: var(--neutral-light);
}
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(17,34,56,0.04);
  min-width: 220px;
  flex: 1 1 225px;
  max-width: 285px;
  padding: 24px 20px 20px 20px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .18s;
  border: 1px solid #E2EAFA;
}
.feature-item img {
  height: 44px;
  width: 44px;
}
.feature-item h3 {
  font-size: 1.125rem;
  color: var(--accent);
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-item p {
  color: #474757;
  font-size: 1rem;
}
.feature-item:hover {
  box-shadow: 0 6px 24px rgba(18,72,147,.13);
  transform: translateY(-3px) scale(1.025);
  border-color: var(--primary);
}

/* About & Mission Sections */
.about, .mission-values, .howto-guide, .locations, .services, .faq-block, .legal {
  background: #fff;
}
.text-section, .integration-guide, .service-explanation, .faq-search, .contact-suggestion {
  margin-bottom: 16px;
}
.text-section ul, .integration-guide ul, .service-explanation ul {
  list-style: disc inside;
}

/* Cards and Flex containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(22,36,77,0.11);
  padding: 26px 22px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .14s;
  border: 1px solid #E2EAFA;
}
.card:hover {
  box-shadow: 0 7px 26px rgba(33,68,147,0.17);
  transform: translateY(-2px) scale(1.02);
}
.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;
}

/* Service Cards */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0px;
}
.service-card {
  background: #fff;
  border-radius: 13px;
  border: 1px solid var(--neutral-soft);
  box-shadow: 0 2px 14px rgba(33,72,147,0.06);
  padding: 30px 17px 20px 17px;
  max-width: 250px;
  min-width: 195px;
  flex: 1 1 205px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: box-shadow .17s, transform .13s;
}
.service-card img {
  height: 44px;
  width: 44px;
}
.service-card h3 {
  color: var(--primary);
  text-align: center;
  font-size: 1.147rem;
  font-family: 'Montserrat', Georgia, serif;
  margin-bottom: 5px;
}
.service-card p {
  text-align: center;
  font-size: 1rem;
  color: #474757;
}
.service-card:hover {
  box-shadow: 0 8px 22px rgba(33,68,147,0.18);
  border-color: var(--primary);
  transform: translateY(-3px) scale(1.025);
}

/* CTA Section */
.cta-section {
  background: var(--secondary);
  margin-top: 18px;
  margin-bottom: 60px;
  padding: 38px 0 44px 0;
}
.cta-section .content-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
.cta-box {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(17,34,56,0.07);
  padding: 38px 40px 28px 40px;
  max-width: 560px;
  text-align: center;
  margin: 0 auto;
  border: 1px solid #E2EAFA;
}
.cta-box h2 {
  color: var(--primary);
  font-size: 2rem;
  font-family: 'Montserrat', serif;
  margin-bottom: 16px;
}

/* ----------------
   FOOTER SECTION
------------------- */
footer {
  background: #fff;
  border-top: 1px solid #E2EAFA;
  margin-top: 32px;
  font-size: 1rem;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-top: 38px;
}
.footer-logo-contact img {
  width: 60px;
  height: auto;
  margin-bottom: 15px;
}
.footer-logo-contact address {
  margin-bottom: 7px;
  line-height: 1.8;
  color: #2B2445;
  font-size: 1rem;
  font-family: 'Roboto', Georgia, serif;
}
.footer-logo-contact a, .footer-logo-contact span {
  color: var(--primary);
}
.footer-links {
  min-width: 180px;
  display: flex;
  flex-direction: column;
}
.footer-links h3 {
  color: #21745D;
  font-size: 1.08rem;
  margin-bottom: 5px;
  font-family: 'Montserrat', Georgia, serif;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-links a {
  color: #24242a;
  font-size: 1rem;
  font-family: 'Roboto', Georgia, serif;
  transition: color 0.13s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--accent);
}
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-social h3 {
  font-size: 1.08rem;
  font-family: 'Montserrat', Georgia, serif;
  margin-bottom: 5px;
  color: #21745D;
}
.footer-social a img {
  width: 32px;
  height: 32px;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
  transition: filter 0.15s;
}
.footer-social a:hover img { filter: brightness(0.7) contrast(2); }
.footer-bottom {
  border-top: 1px solid #E2EAFA;
  padding: 16px 0;
  text-align: center;
  font-size: 0.98rem;
  color: #707899;
}

/* FAQ – Classic Accordion Feel */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 30px 0 16px 0;
}
.faq-entry {
  background: #F8FAFC;
  border-radius: 10px;
  border: 1px solid #E2EAFA;
  padding: 22px 18px 15px 22px;
  transition: box-shadow .18s, border .15s;
}
.faq-entry h3 {
  margin-bottom: 9px;
  font-size: 1.13rem;
  color: #124893;
}
.faq-entry p {
  margin-bottom: 0;
  color: #232323;
}
/* FAQ Call-to-action */
.contact-suggestion {
  margin-top: 22px;
}

/* Contact Details */
.contact-details {
  padding-top: 28px;
  background: #fff;
}
.contact-info ul {
  list-style: none;
  padding-left: 0;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.contact-info img {
  width: 20px;
  height: 20px;
}
.office-hours {
  margin-top: 12px;
  background: #E2EAFA;
  padding: 14px 18px;
  border-radius: 10px;
  display: inline-block;
}
.contact-cta {
  margin-top: 28px;
}

/* Legal / Info Page Boxes */
.legal, .legal .content-wrapper, .gdpr-overview, .privacy-overview, .terms-overview, .cookie-types, .purpose-list, .data-contact, .liability-info {
  font-size: 1.04rem;
  color: #232323;
  background: #F8FAFC;
  border-radius: 10px;
  border: 1px solid #E2EAFA;
  padding: 20px 25px 18px 25px;
  margin-bottom: 24px;
}
.legal ul {
  color: #232323;
  margin-bottom: 22px;
  list-style: disc inside;
}
.legal h2 {
  color: #21745D;
  margin-top: 18px;
}

/* Cookie Consent Banner (Fixed) */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 2000;
  background: #fff;
  box-shadow: 0 -3px 32px rgba(42,72,153,0.15);
  border-top: 2px solid #124893;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 14px 22px 14px;
  gap: 24px;
  transition: transform 0.33s cubic-bezier(0.77,0,0.18,1);
  font-size: 1rem;
  color: #232323;
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner-msg {
  flex: 2 1 320px;
  max-width: 620px;
  font-family: 'Roboto', serif;
}
.cookie-banner-actions {
  flex: 1 1 160px;
  display: flex;
  gap: 14px;
}
.cookie-btn, .cookie-banner .cta-button, .cookie-modal button {
  border-radius: 18px;
  padding: 8px 22px;
  border: none;
  font-size: 1.01rem;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0;
  background: var(--primary);
  color: #fff;
  transition: background .15s, color .13s;
}
.cookie-btn.reject {
  background: #E2EAFA;
  color: #124893;
  border: 1px solid #124893;
}
.cookie-btn.settings {
  background: #21745D;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #21745D;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #124893;
  color: #fff;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 52%;
  transform: translate(-50%,-50%);
  background: #fff;
  z-index: 2222;
  border-radius: 18px;
  box-shadow: 0 3px 32px rgba(33,72,153,0.18);
  padding: 38px 34px 28px 34px;
  max-width: 480px;
  width: 92vw;
  transition: transform 0.32s, opacity .2s;
  opacity: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,50%) scale(0.98);
}
.cookie-modal h3 {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 1.13rem;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  padding-bottom: 2px;
}
.cookie-category label {
  flex: 1;
  color: #454545;
}
.cookie-modal .cookie-btn {
  width: auto;
  margin-top: 10px;
  align-self: flex-end;
}
.cookie-modal .cookie-btn:last-child {
  margin-left: 13px;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--primary);
  width: 19px; height: 19px;
}
.cookie-category input[disabled] {
  accent-color: #aaa;
  cursor: not-allowed;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #124893;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 20px; right: 24px;
  z-index: 2;
  transition: color 0.15s;
}
.cookie-modal-close:hover {
  color: #21745D;
}

/* Hide cookie modal by default */
.cookie-modal[aria-hidden="true"] {
  display: none;
}

/* -----------
   RESPONSIVE
-------------- */
@media (max-width: 1020px) {
  .container {
    max-width: 97vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .footer-columns {
    gap: 24px;
    flex-wrap: wrap;
  }
  .feature-grid, .service-cards {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
@media (max-width: 820px) {
  header .container {
    flex-direction: row;
    align-items: flex-start;
  }
  .footer-columns {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .hero, .cta-section, .section, .features, .about, .services, .faq-block, .legal, .howto-guide, .contact-details {
    padding-left: 0;
    padding-right: 0;
    padding-top: 24px;
    padding-bottom: 12px;
  }
  .feature-grid, .service-cards {
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
  }
  .footer-columns {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .container {
    padding-left: 7px!important;
    padding-right: 7px!important;
    max-width: 100vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .service-card, .feature-item {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .cta-box {
    padding: 26px 13px 20px 13px;
  }
  .cookie-modal {
    padding: 22px 7px 18px 7px;
    max-width: 95vw;
  }
}
@media (max-width: 620px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.34rem; }
  .section { padding-left: 7px; padding-right: 7px; }
}

/* Hide scroll overflow on body behind modals */
body.menu-open,
body.cookie-modal-open {
  overflow: hidden;
}

/* Form elems, labels etc (if featured in future) */
input, select, textarea {
  font-family: 'Roboto', serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #D8D8DC;
  padding: 10px 12px;
}
label { font-weight: 500; }

/* Utility Spacings */
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* --------------
   ELEGANT SHADOWS, HOVER GLOWS
--------------- */
.card, .feature-item, .cta-box, .service-card {
  box-shadow: 0 2px 12px rgba(17,34,56,0.06);
  transition: box-shadow .18s, transform .13s;
}
.card:hover, .feature-item:hover, .cta-box:hover, .service-card:hover {
  box-shadow: 0 8px 21px rgba(33,68,153,0.12);
}

/* Micro-interactions for buttons */
.cta-button, .cookie-btn {
  position: relative;
  overflow: hidden;
}
.cta-button:after, .cookie-btn:after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  background: rgba(33,116,93,0.12);
  border-radius: 100%;
  transform: translate(-50%,-50%);
  transition: width .32s, height .32s, opacity .3s;
  opacity: 0;
  pointer-events: none;
}
.cta-button:active:after, .cookie-btn:active:after {
  width: 260px; height: 260px;
  opacity: 1;
  transition: 0s;
}

/* --------------
   PRINT STYLES
--------------- */
@media print {
  body, .container, .section, main, footer, header {
    background: #fff !important;
    color: #232323 !important;
  }
  .cta-button, .cookie-banner, .cookie-modal, .mobile-menu, .mobile-menu-toggle { display: none!important; }
}
