/* 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;
}
/* HTML5 display-role reset for older browsers */
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F2F2F2;
  color: #16213E;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul,ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}

/* VARIABLES (with fallbacks) */
:root {
  --color-primary: #16213E;
  --color-secondary: #41EAD4;
  --color-accent: #F2F2F2;
  --color-bg-dark: #16213E;
  --color-bg-light: #F2F2F2;
  --color-interface-contrast: #FFFFFF;
  --shadow-main: 0 4px 32px 0 rgba(22,33,62,0.08),0 2px 8px rgba(22,33,62,0.07);
  --radius-main: 18px;
  --radius-button: 28px;
  --transition-main: all 0.24s cubic-bezier(.45,.01,.39,1.02);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* CONTAINER & FLEX LAYOUTS */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 18px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-light);
  border-radius: var(--radius-main);
}

.card-container,
.card-grid,
.feature-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  justify-content: space-between;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-interface-contrast);
  padding: 28px 24px;
  box-shadow: var(--shadow-main);
  border-radius: var(--radius-main);
  transition: box-shadow 0.24s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(65,234,212,0.12),0 4px 16px rgba(65,234,212,0.08);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: 0 2px 12px 0 rgba(22,33,62,0.03), 0 1px 4px 0 rgba(65,234,212,0.03);
  margin-bottom: 24px;
  border-left: 4px solid var(--color-secondary);
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #202842;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 1rem;
  color: #666f87;
  font-style: italic;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  background: var(--color-interface-contrast);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  padding: 24px 20px;
}

/* BUTTONS */
.cta-btn,
button,
input[type='submit'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  margin: 12px 0 0 0;
  min-width: 160px;
  border-radius: var(--radius-button);
  background: linear-gradient(90deg, var(--color-secondary) 0%, #41CBFF 100%);
  color: #16213E;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  box-shadow: 0px 2px 10px 0px rgba(65,234,212,0.07);
  transition: var(--transition-main);
  outline: none;
}
.cta-btn.inline {
  display: inline-flex;
  margin-top: 16px;
  margin-left: 0;
}
.cta-btn:hover,
button:hover,
input[type='submit']:hover {
  background: linear-gradient(90deg, #41CBFF 0%, var(--color-secondary) 100%);
  color: #122033;
  box-shadow: 0px 2px 18px 0px rgba(65,203,255,0.17);
}
.cta-btn:active,
button:active,
input[type='submit']:active {
  background: linear-gradient(90deg, #27c9b3 0%, #41EAD4 100%);
}
button[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

/* TYPOGRAPHY */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0 0 10px 0;
  color: var(--color-primary);
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.35rem;
  color: var(--color-secondary);
}
h4,h5 {
  font-size: 1.125rem;
  color: #232846;
}
p,li,td,th,span {
  font-family: var(--font-body);
  font-size: 1.06rem;
  color: #1A233F;
  line-height: 1.7;
}
.text-section h2,
.text-section h3 {
  margin-top: 14px;
}
.text-section ul {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 26px;
}
.text-section li {
  margin-bottom: 8px;
  position: relative;
}
.text-section li::before {
  content: '';
  display: inline-block;
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: var(--color-secondary);
  margin-right: 12px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
ul {
  margin: 0;
}

/* HERO SECTION */
.hero {
  width: 100%;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff;
  padding: 64px 0 64px 0;
  margin-bottom: 30px;
  position: relative;
}
.hero .container {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
}
.hero h1 {
  color: #fff;
  font-size: 2.5rem;
  line-height: 1.12;
  margin-bottom: 10px;
}
.hero p {
  color: #ebfbf9;
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 10px;
}
.hero .cta-btn {
  margin-top: 24px;
}

/* FEATURE GRID / CARDS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 14px 0;
}
.feature-grid > div {
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: 0 2px 16px rgba(22,33,62,0.045);
  padding: 30px 22px 28px 22px;
  width: 100%;
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.25s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px 0 rgba(65,234,212,0.14),0 2px 8px rgba(22,33,62,0.09);
  transform: translateY(-6px) scale(1.025);
}
.feature-grid img {
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 18px;
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: 0 1px 5px 0 rgba(22,33,62,0.04);
  overflow: hidden;
}
th, td {
  padding: 16px 12px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1px solid #e4e8ed;
}
th {
  background: #EAFBF8;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
}
tr:last-child td {
  border-bottom: none;
}

/* NAVIGATION */
header {
  background: var(--color-interface-contrast);
  box-shadow: 0 1px 10px rgba(65,234,212,0.05);
  padding: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
  gap: 24px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  padding: 6px 16px;
  border-radius: var(--radius-button);
  position: relative;
  transition: background 0.19s, color 0.19s;
}
.main-nav a:hover {
  background: var(--color-secondary);
  color: #16213E;
}

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 28px;
  top: 24px;
  z-index: 102;
  width: 48px;
  height: 48px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 18px 0px rgba(65,234,212,0.25);
  border: none;
  cursor: pointer;
  transition: background 0.22s;
}
.mobile-menu-toggle:active {
  background: #41cbff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(90deg, var(--color-primary) 80%, var(--color-secondary) 100%);
  z-index: 120;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.24,.8,.2,1);
}
.mobile-menu.open {
  display: flex;
  padding: 0 0 0 0;
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 28px 28px 0 0;
  background: none;
  color: #fff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 121;
  align-self: flex-end;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 36px 0 0 0;
  width: 100vw;
  align-items: center;
}
.mobile-nav a {
  display: block;
  width: 80vw;
  max-width: 320px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  background: rgba(22,33,62,0.11);
  padding: 14px 0;
  border-radius: var(--radius-main);
  transition: background 0.18s, color 0.17s;
}
.mobile-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* FOOTER */
footer {
  background: var(--color-bg-dark);
  color: #fff;
  padding: 38px 0 32px 0;
  margin-top: 56px;
}
footer p {
  color: white;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
footer .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer .footer-nav a {
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-weight: 600;
  transition: color 0.18s;
  font-size: 1rem;
}
footer .footer-nav a:hover {
  color: #fff;
}
footer .footer-contact {
  font-family: var(--font-body);
  color: #c8fdff;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
footer img {
  height: 48px;
}

/* CONTACT SNIPPET */
.contact-snippet {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.contact-snippet p {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-snippet img {
  width: 22px;
  height: 22px;
}

/* event-highlights and news teasers */
.event-highlights {
  background: #fff;
  border-radius: var(--radius-main);
  padding: 18px 19px;
  box-shadow: 0 2px 10px rgba(65,234,212,0.06);
  margin-top: 20px;
}
.event-highlights h3 {
  color: var(--color-secondary);
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.news-teaser-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.news-teaser-list > div {
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: 0 2px 6px rgba(22,33,62,0.05);
  padding: 20px 18px;
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 340px;
  transition: box-shadow 0.19s, transform 0.22s;
}
.news-teaser-list > div:hover {
  box-shadow: 0 6px 24px 0 rgba(65,234,212,0.16);
  transform: translateY(-3px) scale(1.01);
}
.press-mentions {
  margin-top: 24px;
  background: #eafbf8;
  border-radius: var(--radius-main);
  padding: 14px 16px;
}
.press-mentions h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 7px;
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #16213E;
  box-shadow: 0 -2px 16px rgba(22,33,62,0.08);
  padding: 20px 30px 18px 30px;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: center;
  font-size: 1rem;
  border-top-left-radius: var(--radius-main);
  border-top-right-radius: var(--radius-main);
  animation: cookie-slide-in 0.52s cubic-bezier(.51,1.06,.03,.97);
}
@keyframes cookie-slide-in {
  from { transform: translateY(200px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner-message {
  flex: 1 1 400px;
  font-size: 1rem;
  color: #16213E;
  line-height: 1.5;
}
.cookie-banner-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  background: linear-gradient(90deg, var(--color-secondary) 0%, #41cbff 90%);
  color: #16213E;
  border: none;
  border-radius: 26px;
  font-size: 1rem;
  padding: 10px 26px;
  margin-left: 0;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(65,234,212,0.12);
  cursor: pointer;
  transition: var(--transition-main);
}
.cookie-btn.secondary {
  background: #eafbf8;
  color: #182135;
}
.cookie-btn:hover {
  background: #41cbff;
  color: #152032;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20000;
  background: rgba(22,33,62,0.45);
  animation: cookie-fadein 0.3s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes cookie-fadein {
  0% { opacity: 0; }
  80% { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: 0 4px 30px rgba(22,33,62,0.11);
  padding: 38px 32px 30px 32px;
  min-width: 310px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.37rem;
  color: var(--color-primary);
}
.cookie-modal-categories {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: #202842;
}
.cookie-category label {
  font-size: 1rem;
  cursor: pointer;
}
.cookie-toggle {
  width: 44px;
  height: 22px;
  background: #e6f5f2;
  border-radius: 13px;
  position: relative;
  border: none;
  transition: background 0.18s;
  margin-right: 3px;
}
.cookie-toggle.checked {
  background: var(--color-secondary);
}
.cookie-toggle::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(22,33,62,0.08);
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.24s;
}
.cookie-toggle.checked::after {
  background: #fff;
  left: 22px;
}
.cookie-modal-close {
  position: absolute;
  right: 19px;
  top: 17px;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: #16213E;
  cursor: pointer;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 17px;
  justify-content: flex-end;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1020px) {
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
  .feature-grid > div, .news-teaser-list > div {
    max-width: 268px;
  }
  footer .container {
    flex-direction: column;
    gap: 21px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-contact {
    margin-top: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  header .container {
    min-height: 66px;
    gap: 8px;
  }
  .feature-grid, .card-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .news-teaser-list > div {
    min-width: 90vw;
    max-width: 97vw;
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }
  .section {
    margin-bottom: 38px;
    padding: 27px 7px;
  }
  .testimonial-card {
    padding: 16px 10px;
  }
  .hero .container {
    padding-top: 20px;
    padding-bottom: 20px;
    min-height: 120px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .contact-snippet {
    padding-left: 0;
    padding-right: 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 11px;
    align-items: flex-start;
    padding: 13px 7px 12px 7px;
    font-size: 0.95rem;
  }
}
@media (max-width: 499px) {
  h1 {
    font-size: 1.25rem;
  }
  h2 {
    font-size: 1.09rem;
  }
  h3 {
    font-size: 1rem;
  }
  .cta-btn, button, input[type='submit'] {
    min-width: 115px;
    font-size: 1rem;
    padding: 10px 13px;
  }
  .hero p {
    font-size: 0.98rem;
  }
  .feature-grid > div {
    padding: 18px 8px 18px 8px;
  }
}

/* Fix min spacing if several contact-snippets or section stacks */
.contact-section, section {
  margin-bottom: 40px !important;
}

/* Hide outline for mouse interactions, show for keyboard */
div:focus,button:focus,a:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Utility classes for z-index layering */
.z-100 { z-index: 100; position: relative; }
.z-1000 { z-index: 1000; position: relative; }

/* ADDITIONAL section paddings/gaps for spacing */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

/* Misc */
::-webkit-scrollbar {
  width: 8px;
  background: #eafbf8;
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 8px;
}

/* Icon to the left of contact info */
.contact-snippet img, .text-section img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

/* Hamburger fix to always top-right */
@media (max-width: 850px) {
  .mobile-menu-toggle {
    top: 18px;
    right: 14px;
  }
}

/* Remove box-shadow from tables if inside feature cards (as cards already have shadow) */
.card table, .card-grid table {
  box-shadow: none;
  border-radius: 0;
}

/* Selection style */
::selection {
  background: #41EAD4;
  color: #fff;
}

/* Remove unwanted outline on mobile-menu-close */
.mobile-menu-close:focus {
  outline: 2px solid var(--color-secondary);
}

/* Animation for card hover micro-interactions */
.card, .feature-grid > div, .news-teaser-list > div {
  transition: box-shadow 0.23s, transform 0.22s;
}
.card:hover, .feature-grid > div:hover, .news-teaser-list > div:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 7px 24px rgba(65,234,212,0.10);
}

/**************************************/
/* ALL FLEXBOX - NO GRID - NO COLUMNS */
/**************************************/