/* ------------------------------------------------
   BRISK TIDES FORSCHUNGSLABOR - Vibrant Energetic Style
   ---------------------------------------------------
   CSS RESET & BASIC NORMALIZATION
   ------------------------------------------------ */
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, main, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #D9F1FC;
  color: #1C3144;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
a {
  color: #1C3144;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover {
  color: #F4B942;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: #1C3144;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, ul, ol, address, li {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1C3144;
}
strong {
  font-weight: 700;
}

/* ------------------------------------------------
   LAYOUT STRUCTURE
   ------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.content-wrapper {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 24px 0 rgba(28,49,68,0.08),0 0.5px 1.5px #F4B942;
  position: relative;
}

@media (max-width: 900px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 20px 3vw;
    margin-bottom: 30px;
    border-radius: 12px;
  }
}

/* ------------------------------------------------
   HEADER & NAV BAR
   ------------------------------------------------ */
header {
  background: #1C3144;
  box-shadow: 0 3px 18px 0 rgba(28,49,68,0.09);
  position: relative;
  z-index: 25;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  width: 60px;
  height: auto;
}
.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 8px 0;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  color: #F4B942;
}
.cta-btn {
  display: inline-block;
  background: #F4B942;
  color: #1C3144;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  padding: 12px 32px;
  border-radius: 40px;
  box-shadow: 0 3px 16px 0 rgba(244,185,66, 0.11);
  transition: background 0.18s, transform 0.19s;
  margin-left: 12px;
  border: none;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FF5722;
  color: #fff;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 32px 0 rgba(255,87,34,0.18);
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 18px;
  }
  .cta-btn {
    padding: 10px 24px;
    font-size: 0.97rem;
  }
}
@media (max-width: 850px) {
  .main-nav {display: none;}
  .cta-btn {display: none;}
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #F4B942;
  color: #1C3144;
  border-radius: 8px;
  border: none;
  padding: 8px 17px;
  font-size: 1.9rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  position: relative;
  z-index: 32;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FF5722;
  color: #fff;
}

@media (max-width: 850px) {
  .mobile-menu-toggle {
    display: inline-block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  bottom: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #1C3144;
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0;
  transform: translateX(-100%);
  transition: transform 0.47s cubic-bezier(.86,0,.07,1), box-shadow 0.18s;
  box-shadow: 0 10px 64px 0 rgba(34,63,110,0.22);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: #F4B942;
  color: #1C3144;
  border-radius: 10px;
  border: none;
  padding: 8px 20px 6px 20px;
  margin: 26px 26px 8px 0;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
  z-index: 53;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FF5722;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.23rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 16px 0 16px 8px;
  transition: color 0.2s, background 0.12s;
  border-radius: 10px 0 0 10px;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #F4B942;
  color: #1C3144;
}

@media (max-width: 376px) {
  .mobile-nav {
    margin-left: 16px;
  }
}

/* ------------------------------------------------
   MAIN PAGE SECTIONS AND UTILITIES
   ------------------------------------------------ */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 24px;
}
.feature {
  flex: 1 1 250px;
  background: #fff;
  border-radius: 16px;
  padding: 29px 20px 28px 20px;
  box-shadow: 0 2px 18px 0 rgba(76,172,241, 0.13), 0 0.5px 1px #F4B942;
  min-width: 210px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border-left: 7px solid #F4B942;
  transition: box-shadow 0.18s, transform 0.19s;
}
.feature img {
  width: 44px;
  height: 44px;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 12px 32px -3px #F4B942, 0 6px 24px -3px #1C3144;
  transform: translateY(-3px) scale(1.035);
}

/* Responsive feature grid */
@media (max-width: 900px) {
  .features-grid {
    gap: 20px;
    justify-content: center;
  }
}
@media (max-width: 700px) {
  .features-grid {
    flex-direction: column;
  }
  .feature {
    max-width: 100%;
  }
}

/* Content Utilities */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(28,49,68,0.09);
  overflow: hidden;
  padding: 24px 20px;
  min-width: 215px;
  max-width: 340px;
  transition: box-shadow 0.17s, transform 0.19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 #1C3144, 0 2px 18px #F4B942;
  transform: scale(1.025) translateY(-4px);
  z-index: 2;
}
.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) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* Blog Posts (Blog page) */
.blog-post {
  background: #fff;
  border-left: 7px solid #F4B942;
  border-radius: 14px;
  box-shadow: 0 3px 13px 0 rgba(28,49,68,0.10);
  padding: 22px 18px 18px 18px;
  margin-bottom: 24px;
  width: 100%;
  max-width: 520px;
  transition: box-shadow 0.17s, transform 0.15s;
}
.blog-post:hover {
  box-shadow: 0 6px 32px 0 #F4B942, 0 2px 22px #1C3144;
  transform: scale(1.018) translateY(-4px);
}
.blog-post h3 {
  margin-bottom: 9px;
}
.blog-post a {
  display: inline-block;
  color: #1C3144;
  font-weight: 700;
  margin-top: 10px;
  padding-bottom: 2px;
  border-bottom: 2px solid #F4B942;
  transition: color 0.12s, border 0.16s;
}
.blog-post a:hover {
  color: #FF5722;
  border-bottom: 2px solid #FF5722;
}

/* ------------------------------------------------
   TESTIMONIALS CARDS
   ------------------------------------------------ */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 28px 0 rgba(28,49,68,0.09), 0 1px 7px #F4B942;
  min-width: 240px;
  max-width: 430px;
  border-left: 7px solid #1C3144;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #221F24;
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-meta {
  font-size: .97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1C3144;
  font-weight: 700;
  opacity: .8;
  margin-top: 3px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 #1C3144, 0 2px 18px #F4B942;
  z-index: 2;
}

@media (max-width: 1000px) {
  .testimonials {
    gap: 14px;
    flex-direction: column;
  }
  .testimonial-card {
    max-width: 98vw;
  }
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 14px 7px;
    border-radius: 10px;
    min-width: 0;
  }
  .testimonials {
    gap: 7px;
  }
}

/* ------------------------------------------------
   LISTS, ADDITIONAL ELEMENTS
   ------------------------------------------------ */
ul li, ol li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
ul li:before, ol li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #F4B942;
  box-shadow: 0 1px 3.5px #FF5722;
}
.text-section ul li:before {
  background: #1C3144;
  box-shadow: 0 1px 3.5px #F4B942;
}

/* FEATURES / CARDS UTILITIES */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 12px;
}

/* Buttons and CTA */
button, .cta-btn {
  transition: all 0.16s cubic-bezier(.86,0,.07,1);
}

/* ------------------------------------------------
   FOOTER
   ------------------------------------------------ */
footer {
  background: #1C3144;
  color: #fff;
  padding: 0 0 0 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  align-items: flex-start;
  padding-top: 40px;
  padding-bottom: 36px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: .02em;
  transition: color 0.19s;
  font-size: 1rem;
}
.footer-nav a:hover {
  color: #F4B942;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 52px;
  height: auto;
  margin-bottom: 7px;
}
.footer-contact address {
  font-style: normal;
  color: #fff;
  margin-bottom: 7px;
}
.footer-contact a {
  display: inline-flex;
  align-items: center;
  color: #fff;
  margin-bottom: 5px;
  font-weight: 500;
}
.footer-contact a img {
  width: 20px;
  margin-right: 7px;
}
.footer-contact span {
  font-size: 0.95rem;
  opacity: 0.95;
  margin-top: 2px;
}

@media (max-width: 900px) {
  footer .container {
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 10px;
  }
  .footer-nav {
    gap: 16px;
    font-size: .97rem;
  }
}

/* ------------------------------------------------
   SPACING UTILITY CLASSES
   ------------------------------------------------ */
.mb-0 { margin-bottom: 0 !important; }
.mb-12 { margin-bottom: 12px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mt-0 { margin-top: 0 !important; }

/* ------------------------------------------------
   RESPONSIVE UTILITIES
   ------------------------------------------------ */
@media (max-width: 600px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.21rem; }
  h3 { font-size: 1.08rem; }
  .container { padding-left: 4px; padding-right: 4px; }
}

/* ------------------------------------------------
   COOKIE CONSENT BANNER
   ------------------------------------------------ */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1100;
  background: #fff;
  color: #1C3144;
  box-shadow: 0 -4px 24px 0 rgba(28,49,68,0.12);
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 10vw;
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform 0.36s;
  font-size: 1rem;
}
#cookie-banner[hidden] {
  display: none !important;
}
#cookie-banner .cookie-banner-text {
  flex: 1 1 240px;
}
#cookie-banner .cookie-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
#cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  border-radius: 23px;
  background: #F4B942;
  color: #1C3144;
  padding: 9px 26px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
  box-shadow: 0 1px 9px rgb(244,185,66,.11);
}
#cookie-banner button:hover, #cookie-banner button:focus {
  background: #FF5722;
  color: #fff;
  box-shadow: 0 5px 24px rgb(255,87,34,.15);
}
#cookie-banner .cookie-settings-btn {
  background: #1C3144;
  color: #F4B942;
  border: 2px solid #F4B942;
}
#cookie-banner .cookie-settings-btn:hover {
  background: #F4B942;
  color: #1C3144;
}

@media (max-width: 800px) {
  #cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px 4vw 18px 4vw;
    font-size: .94rem;
  }
}

/* Cookie Settings MODAL */
#cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1600;
  width: 100vw;
  height: 100vh;
  background: rgba(28,49,68, 0.63);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .34s;
}
#cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 34px 0 rgba(28,49,68,0.15);
  padding: 34px 36px 28px 36px;
  max-width: 400px;
  width: 98vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  animation: modal-in .33s cubic-bezier(.86,0,.07,1)
}
@keyframes modal-in {
  0% { transform: translateY(64px) scale(.93); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: #1C3144;
  font-weight: 900;
  margin-bottom: 9px;
}
.cookie-category {
  margin-bottom: 16px;
}
.cookie-category label {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1C3144;
}
.cookie-category input[type="checkbox"] {
  accent-color: #F4B942;
  margin-right: 10px;
  width: 17px;
  height: 17px;
  border-radius: 7px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 13px;
  margin-top: 6px;
  width: 100%;
}
.cookie-modal-close {
  position: absolute;
  right: 21px;
  top: 23px;
  background: #F4B942;
  color: #1C3144;
  border: none;
  border-radius: 9px;
  font-size: 1.5rem;
  width: 32px;
  height: 32px;
  line-height: 32px;
  cursor: pointer;
  text-align: center;
}
.cookie-modal-close:hover {
  background: #FF5722;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-modal-content {
    padding: 20px 10px 10px 10px;
    border-radius: 10px;
  }
}

/* ------------------------------------------------
   Vibrant Accents & Micro-Animations
   ------------------------------------------------ */
@media (hover:hover) {
  .cta-btn:active,
  .feature:active,
  button:active {
    filter: brightness(0.92);
  }
}

/* Small bounce in buttons */
.cta-btn:active,
button:active {
  transform: scale(0.97) translateY(2px);
}

/* Fun animated underline for primary headlines */
h1, h2 {
  position: relative;
}
h1:after, h2:after {
  content: '';
  display: block;
  width: 62px;
  height: 6px;
  border-radius: 3px;
  background: #F4B942;
  margin-top: 9px;
}
@media (max-width: 700px) {
  h1:after, h2:after { width: 40px; height: 4px; }
}

/* Extra high-contrast for testimonials */
.testimonial-card,
.testimonial-card p,
.testimonial-meta {
  background: #fff !important;
  color: #1C3144 !important;
}
.testimonial-card p {
  font-size: 1.06rem;
}

/* Miscellaneous contrast utility */
[data-dark-bg] {
  background: #1C3144 !important;
  color: #fff !important;
}
[data-dark-bg] h1, [data-dark-bg] h2, [data-dark-bg] h3, [data-dark-bg] h4, [data-dark-bg] a {
  color: #fff !important;
}

/* ------------------------------------------------
   SCROLLBAR (for style pop)
   ------------------------------------------------ */
::-webkit-scrollbar {
  width: 10px;
  background: #D9F1FC;
}
::-webkit-scrollbar-thumb {
  background: #F4B942;
  border-radius: 9px;
}

/* ------------------------------------------------
   PRINT UTILITY
   ------------------------------------------------ */
@media print {
  header, footer, #cookie-banner, #cookie-modal { display: none !important; }
  section, .section, .container { padding: 0 !important; margin-bottom: 18px !important; }
}
