/* =====================================================
   Lumenlink Institut – Scandinavian Clean Style CSS
   Brand: #113255 (primary), #FFD23F (secondary), #E3EEF9 (accent)
   Fonts: Montserrat (display), Roboto (body)
   Scandinavian Clean: Light, neutral, much white space, soft edges
   Designed mobile-first, flexbox only
===================================================== */

/* =====================
   0. CSS RESET & BASE
======================*/
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #222E34;
  background: #FAFBFC;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #113255;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD23F;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  outline: none;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
}

/* =====================
   1. TYPOGRAPHY
======================*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #113255;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.subheadline {
  font-size: 1.1rem;
  color: #445661;
  margin-bottom: 18px;
  font-family: 'Roboto', Arial, sans-serif;
}
p {
  margin-bottom: 18px;
}
strong {
  font-weight: 700;
}

/* =====================
   2. CONTAINER & LAYOUT
======================*/
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-image-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
.section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(60,70,90,0.07);
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper,
  .text-section,
  .footer-nav {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

/* =====================
   3. MAIN NAVIGATION
======================*/
.main-nav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  justify-content: flex-start;
  padding: 24px 0 14px 0;
  background: transparent;
}
.main-nav img {
  height: 40px;
  margin-right: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 0;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
  color: #113255;
}
.main-nav a:focus, .main-nav a:hover {
  background: #E3EEF9;
  color: #113255;
}
.main-nav .cta.primary {
  margin-left: auto;
  background: #FFD23F;
  color: #113255;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 25px;
  box-shadow: 0 2px 8px rgba(68,68,68,0.06);
  transition: background 0.15s, box-shadow 0.15s;
}
.main-nav .cta.primary:hover, 
.main-nav .cta.primary:focus {
  background: #ffe57e;
  box-shadow: 0 0 0 2px #FFD23F44;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 14px;
    padding: 14px 0 9px 0;
  }
  .main-nav img {
    height: 32px;
    margin-right: 12px;
  }
  .main-nav .cta.primary {
    padding: 8px 18px;
  }
}

@media (max-width: 900px) {
  .main-nav a:not(:first-child):not(.cta.primary) {
    display: none;
  }
  .main-nav .cta.primary {
    margin-left: 0;
  }
}


/* =====================
   4. BURGER MENU (MOBILE)
======================*/
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 26px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: #FFD23F;
  color: #113255;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  z-index: 102;
  box-shadow: 0 2px 8px rgba(60,70,90,0.11);
  transition: background 0.2s;
  cursor: pointer;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #ffe57e;
  outline: none;
}
@media (min-width: 901px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #F5F8FA;
  box-shadow: 0 8px 48px rgba(17, 50, 85, 0.2);
  z-index: 2500;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.34s cubic-bezier(.86,.01,.77,1.02), opacity 0.17s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 80px;
  gap: 10px;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: #FFD23F;
  color: #113255;
  border-radius: 7px;
  width: 38px;
  height: 38px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 7px rgba(17, 50, 85, 0.07);
  transition: background 0.13s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #ffe57e;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 32px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 16px 0 6px 0;
  color: #113255;
  border-bottom: 1px solid #ececec;
  transition: color 0.14s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #FFD23F;
}

@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =====================
   5. HERO & SECTIONS
======================*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 17px rgba(17,32,85,0.07);
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  section {
    padding: 22px 5px;
    margin-bottom: 34px;
    border-radius: 13px;
  }
}

/* =====================
   6. CARDS & FLEX WRAPPERS
======================*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 -10px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 15px rgba(17,50,85,0.08);
  padding: 24px 16px;
  margin-bottom: 20px;
  flex: 1 1 250px;
  min-width: 240px;
  max-width: 360px;
  transition: box-shadow 0.17s, transform 0.13s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 7px 30px rgba(17,50,85,0.13);
  transform: translateY(-8px) scale(1.012);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #E3EEF9;
  border-radius: 12px;
  padding: 18px 16px;
  margin-bottom: 20px;
}

/* =========================
   7. LISTS/ICON ITEMS
=========================*/
.content-wrapper > ul, .content-wrapper > ol {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.content-wrapper li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F5F8FA;
  border-radius: 9px;
  padding: 14px 16px;
  font-size: 1.02rem;
}
.content-wrapper li img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .content-wrapper > ul, .content-wrapper > ol {
    gap: 11px;
  }
  .content-wrapper li {
    padding: 12px 8px;
    font-size: 1rem;
    gap: 7px;
  }
  .content-wrapper li img {
    width: 24px;
    height: 24px;
  }
}

/* =====================
   8. TESTIMONIAL CARDS
======================*/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FAFBFC;
  border-radius: 12px;
  box-shadow: 0 2px 9px rgba(17,50,85,0.08);
  color: #113255;
  font-size: 1.05rem;
  position: relative;
  min-width: 230px;
}
.testimonial-card p {
  color: #13426e;
  font-size: 1.06rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 7px;
}
.testimonial-card span {
  color: #617189;
  font-size: 0.99rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card strong {
  color: #113255;
  font-weight: 700;
}

@media (max-width: 600px) {
  .testimonial-card {
    gap: 12px;
    padding: 14px;
    font-size: 1rem;
    margin-bottom: 14px;
  }
}

/* ================================
   9. CTA BUTTONS & INTERACTIVES
================================*/
.cta.primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  background: #FFD23F;
  color: #113255;
  border-radius: 25px;
  padding: 11px 30px;
  margin-top: 10px;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s;
  box-shadow: 0 2px 9px rgba(68, 68, 68, 0.07);
  text-align: center;
}
.cta.primary:focus, .cta.primary:hover {
  background: #ffe57e;
  color: #113255;
  box-shadow: 0 0 0 2px #FFD23F90;
}

/* =====================
   10. FOOTER
======================*/
footer {
  width: 100%;
  background: #113255;
  color: #FAFBFC;
  border-radius: 14px 14px 0 0;
  margin-top: 32px;
  box-shadow: 0 -2px 14px rgba(17,50,85,0.055);
  padding: 36px 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #FFD23F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 0;
  border-radius: 7px;
  transition: background 0.12s, color 0.14s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #FFD23F;
  color: #113255;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-top:8px;
  opacity: 0.92;
}

@media (max-width: 900px) {
  footer {
    padding: 23px 0 11px;
    border-radius: 9px 9px 0 0;
  }
  .footer-nav {
    gap: 12px;
    margin-bottom: 8px;
  }
  .footer-info {
    font-size: 0.95rem;
  }
}

/* =============================
   11. COOKIE CONSENT BANNER
=============================*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffef9;
  color: #113255;
  box-shadow: 0 -2px 20px rgba(17,50,85,0.09);
  z-index: 5000;
  padding: 20px 18px 20px 18px;
  border-radius: 13px 13px 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 250px;
  max-width: 550px;
  margin: 0 auto;
  left: 0;
  right: 0;
  animation: cookiebanner-intro 0.5s cubic-bezier(.82,0,.24,1.01);
}
@keyframes cookiebanner-intro {
  from {transform: translateY(95px); opacity:0;} 
  to {transform: translateY(0); opacity:1;}
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 9px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s, color 0.13s, box-shadow 0.14s;
  margin-bottom: 0;
}
.cookie-banner .accept {
  background: #FFD23F;
  color: #113255;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus { background: #ffe57e; }
.cookie-banner .reject {
  background: #E3EEF9;
  color: #113255;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus { background: #b7c9dd; }
.cookie-banner .settings {
  background: #fff;
  color: #113255;
  border: 1px solid #dbe3e7;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {background: #e3eef9;}

@media (max-width: 600px) {
  .cookie-banner {
    max-width: 97%;
    padding: 17px 4px 17px 7px;
    font-size: 0.97rem;
    left: 0;
    right: 0;
  }
  .cookie-banner .cookie-banner-actions {
    gap: 8px;
  }
}

/* ------------------------
COOKIE SETTINGS MODAL
-------------------------*/
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17,50,85,0.22);
  z-index: 7000;
  animation: fadein-cookiebg 0.18s;
}
@keyframes fadein-cookiebg {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-58%) scale(1.04);
  background: #fffefc;
  border-radius: 19px;
  box-shadow: 0 7px 55px rgba(17,50,85,0.15);
  z-index: 9999;
  width: 98vw;
  max-width: 440px;
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookiemodal-intro 0.27s cubic-bezier(.87,.01,.71,1.04);
}
@keyframes cookiemodal-intro {
  from { opacity: 0; transform: translate(-50%,-70%) scale(0.94); }
  to { opacity: 1; transform: translate(-50%,-58%) scale(1.04); }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #113255;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-settings-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-setting {
  background: #F5F8FA;
  border-radius: 8px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.97rem;
}
.cookie-setting label {
  cursor: pointer;
  font-weight: 600;
  color: #113255;
}
.cookie-setting input[type="checkbox"] {
  accent-color: #FFD23F;
  width: 17px; height:17px;
  border-radius: 5px;
}
.cookie-setting.essential label {
  opacity: 0.7;
}
.cookie-setting.essential input[type="checkbox"] {
  cursor: not-allowed;
  opacity: 0.5;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal-actions .modal-save {
  background: #FFD23F;
  color: #113255;
  padding: 8px 17px;
  border-radius: 17px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-left: 8px;
}
.cookie-modal-actions .modal-cancel {
  background: #E3EEF9;
  color: #113255;
  padding: 8px 17px;
  border-radius: 17px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.cookie-modal-actions .modal-save:focus,.cookie-modal-actions .modal-save:hover {background: #ffe57e;}
.cookie-modal-actions .modal-cancel:focus,.cookie-modal-actions .modal-cancel:hover {background: #b7c9dd;}
@media (max-width: 500px) {
  .cookie-modal {padding: 15px 7px; max-width: 97vw;}
}

/* ===============================
   12. MISC UI ELEMENTS
================================*/
hr {
  border: none;
  border-top: 1px solid #E3EEF9;
  margin: 24px 0;
}
::-webkit-input-placeholder { color: #8899a7; opacity:1; }
:-ms-input-placeholder      { color: #8899a7; opacity:1; }
::placeholder              { color: #8899a7; opacity:1; }

/* =============================
   13. ACCESSIBILITY/FOCUS
================================*/
a:focus-visible, .cta.primary:focus-visible, button:focus-visible {
  outline: 2px solid #FFD23F;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px #FFD23F55;
}

/* ===============================
   14. RESPONSIVE LAYOUTS & SPACING
==================================*/
@media (max-width: 600px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.07rem; }
  .card, .section, .testimonial-card { border-radius: 7px; }
}
@media (max-width: 768px) {
  .main-nav {
    padding: 10px 0 8px 0;
    flex-wrap: wrap;
    gap: 8px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/* ==============
   SCANDI MICRO-ANIMATIONS
================*/
.card, .testimonial-card, .feature-item, .cta.primary, .main-nav a {
  transition: box-shadow 0.15s, background 0.14s, color 0.12s, transform 0.12s;
}
.card:active, .feature-item:active {
  transform: scale(0.97);
}

/* Extra: Hide scrollbars (smooth look) */
body::-webkit-scrollbar {
    width:10px;background: #F5F8FA;
}
body::-webkit-scrollbar-thumb {
    background: #E3EEF9; border-radius: 9px;
}


/* =============================
   15. UTILITIES
================================*/
.mb-20 { margin-bottom: 20px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-40 { margin-top: 40px !important; }
.gap-18 { gap: 18px !important; }

/* =================
   16. PRINT STYLE (Minimal)
==================*/
@media print {
  header, nav, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .container, .content-wrapper { box-shadow: none!important; background: #fff !important; }
}
