/* ----------------------------------------------------
   CSS RESET & BASE STYLES
---------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Source Sans Pro', Arial, 'Liberation Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #22304C;
  background: #F5F3EF;
  min-height: 100vh;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #1777F7;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #F65061;
  outline: none;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 24px;
}
ul {
  list-style: disc;
}
ol {
  list-style: decimal;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  color: #112044;
  margin-bottom: 16px;
  letter-spacing: 0;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.125rem;
}
p {
  margin-bottom: 16px;
}
strong { font-weight: 700; }

/* ----------------------------------------------------
   BRAND COLORS & VIBRANT VARIATIONS
---------------------------------------------------- */
:root {
  --primary: #22304C;
  --primary-rgb: 34,48,76;
  --secondary: #A79A89;
  --accent: #F5F3EF;
  --electric-blue: #1777F7;
  --electric-pink: #F65061;
  --electric-yellow: #FFD651;
  --electric-orange: #FF8641;
  --white: #fff;
  --gray-bg: #F8F8FB;
  --shadow: 0 4px 20px 0 rgba(34,48,76,0.10);
  --radius: 18px;
}

/* ----------------------------------------------------
   LAYOUT CONTAINERS & FLEXBOX STRUCTURE
---------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* For homepage colored hero */
.hero {
  background: linear-gradient(100deg, #FFD651 0%, #F65061 100%);
  color: #22304C;
  min-height: 340px;
  border-radius: var(--radius);
  margin-bottom: 60px;
  padding: 60px 20px 80px 20px;
  display: flex;
  align-items: center;
}
.hero h1 {
  color: #22304C;
}
.hero .cta-btn {
  margin-top: 20px;
}

/* ----------------------------------------------------
   MAIN NAVIGATION
---------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 3px solid var(--electric-blue);
  box-shadow: 0 2px 8px 0 rgba(34,48,76,0.08);
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 74px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  color: #22304C;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 0 7px 0;
  transition: color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F65061;
}

.cta-btn {
  background: #1777F7;
  color: #fff;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 32px;
  border: none;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(34,48,76,0.11);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.18s;
  margin-left: 8px;
  text-align: center;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F65061;
  color: #fff;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 4px 16px rgba(246,80,97,0.17);
}
.cta-btn-alt {
  background: #FFD651;
  color: #22304C;
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 28px;
  border: none;
  border-radius: 50px;
  margin-top: 12px;
  box-shadow: 0 1px 7px rgba(34,48,76,0.09);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cta-btn-alt:hover, .cta-btn-alt:focus {
  background: #F65061;
  color: #fff;
}

/* ----------------------------------------------------
   BURGER MENU (Mobile Only)
---------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #1777F7;
  cursor: pointer;
  z-index: 1101;
  margin-left: 12px;
  transition: color 0.18s, transform 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  color: #F65061;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 340px;
  height: 100vh;
  background: #22304C;
  z-index: 1200;
  transform: translateX(110%);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(.65,0,.35,1), opacity 0.22s;
  padding: 28px 30px 0 30px;
  box-shadow: -2px 0 30px rgba(34,48,76,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 14px;
  cursor: pointer;
  transition: color 0.18s, transform 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #FFD651;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 12px;
}
.mobile-nav a {
  color: #FFD651;
  font-size: 1.15rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 700;
  padding: 13px 0 13px 7px;
  border-left: 4px solid transparent;
  border-radius: 0 18px 18px 0;
  transition: background 0.16s, color 0.16s, border-left 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F65061;
  color: #fff;
  border-left: 4px solid #FFD651;
}
/* Overlay (optional, if main content should be dimmed) */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.33);
  z-index: 1199;
  pointer-events: none;
}
.mobile-menu.open + .mobile-menu-overlay {
  display: block;
  pointer-events: auto;
}

/* Hide desktop nav and show burger on mobile */
@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
footer {
  background: #22304C;
  color: #fff;
  padding: 48px 0 16px 0;
  margin-top: 80px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 32px;
}
.footer-nav a {
  color: #FFD651;
  font-size: 1rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 600;
  padding: 6px 0;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F65061;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 46px;
  margin-bottom: 7px;
}
.footer-brand span {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 7px;
}
.footer-social {
  display: flex;
  gap: 18px;
}
.footer-social img {
  height: 28px;
  width: 28px;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 2px 7px rgba(34,48,76,0.09);
  transition: transform 0.18s;
}
.footer-social img:hover {
  transform: scale(1.16) rotate(-8deg);
}
.footer-legal {
  text-align: center;
  font-size: 0.94rem;
  color: #F5F3EF;
  margin-top: 6px;
}

/* ----------------------------------------------------
   FLEXBOX UTILITIES - PURE FLEX ONLY
---------------------------------------------------- */
.card-container, .feature-grid, .service-highlights, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 260px;
  flex: 1 1 280px;
  transition: box-shadow 0.19s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(23,119,247,0.16);
  transform: translateY(-4px) scale(1.016);
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(23,119,247,0.11);
  margin-right: 12px;
  max-width: 420px;
  min-width: 220px;
  margin-bottom: 20px;
  border-left: 7px solid #FFD651;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card p {
  color: #22304C;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.testimonial-card .testimonial-user {
  font-size: 1.02rem;
  color: #1777F7;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(246,80,97,0.14);
  border-left: 7px solid #F65061;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-top: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(255,214,81,0.10);
  padding: 26px 22px;
  min-width: 230px;
  flex: 1 1 245px;
  margin-bottom: 20px;
  border-top: 4px solid #1777F7;
  transition: border-top 0.2s, box-shadow 0.18s;
}
.feature-item img {
  height: 44px; width: 44px; object-fit: contain;
}
.feature-item:hover {
  border-top: 4px solid #F65061;
  box-shadow: 0 8px 36px rgba(34,48,76,0.14);
  transform: translateY(-3px) scale(1.016);
}

/* ----------------------------------------------------
   SERVICE & PREMIUM ELEMENTS
---------------------------------------------------- */
.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-highlights > div {
  background: #22304C;
  color: #FFD651;
  border-radius: var(--radius);
  padding: 18px 18px;
  min-width: 170px;
  flex: 1 1 170px;
  box-shadow: 0 1px 7px rgba(34,48,76,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.05rem;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 19px 32px 19px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 3px solid #FFD651;
  transition: border-bottom 0.2s, box-shadow 0.18s, transform 0.15s;
}
.service-item:hover {
  border-bottom: 3px solid #F65061;
  box-shadow: 0 8px 32px rgba(23,119,247,0.12);
  transform: translateY(-2.5px) scale(1.017);
}
.service-price {
  font-size: 1rem;
  color: #1777F7;
  margin-top: 7px;
  font-weight: 700;
}
.premium-highlights {
  margin: 18px 0;
  padding: 18px 15px;
  background: #FFD651;
  color: #22304C;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.13rem;
  box-shadow: 0 2px 12px rgba(255,214,81,0.12);
}
.quality-assurance {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #22304C;
  background: #FFD651;
  border-radius: 10px;
  padding: 10px 15px;
  font-weight: 600;
}

/* ----------------------------------------------------
   STEP & FAQ 
---------------------------------------------------- */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  counter-reset: step;
  margin-bottom: 24px;
}
.step-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(255,134,65,0.09);
  padding: 17px 20px;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0px;
}
.step-list img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/******** FAQ ACCORDION ********/
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(23,119,247,0.07);
  padding: 16px 20px;
  transition: box-shadow 0.17s;
}
.faq-item h3 {
  font-size: 1.14rem;
  color: #F65061;
  cursor: pointer;
}
.faq-answer {
  margin-top: 7px;
  font-size: 1.02rem;
  color: #22304C;
}
.faq-item:hover {
  box-shadow: 0 4px 18px rgba(255,214,81,0.10);
}

/* ----------------------------------------------------
   CONTACT & INFO LISTS
---------------------------------------------------- */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.05rem;
  color: #22304C;
}
.contact-info-list img {
  width: 22px;
  height: 22px;
}
.privacy-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #EEF7FE;
  color: #1777F7;
  padding: 11px 16px;
  border-radius: 9px;
  font-size: 0.99rem;
  margin-top: 8px;
}

/* KERNVALUES and BADGES on About */
.core-values {
  margin-top: 16px;
  margin-bottom: 8px;
}
.core-values ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: disc inside;
  margin: 0 0 0 10px;
  padding: 0;
}
.core-values ul li {
  background: #FFD651;
  padding: 5px 12px;
  border-radius: 7px;
  font-size: 0.97rem;
  color: #22304C;
  font-weight: 700;
}
.trust-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.trust-badges img {
  height: 36px;
  width: 36px;
  object-fit: cover;
}
.trust-badges span {
  font-size: 0.99rem;
  color: #22304C;
  font-weight: 600;
}

/* ----------------------------------------------------
   CARD, SECTION & CTA SPACING RULES
---------------------------------------------------- */
.section:not(:last-child) {
  margin-bottom: 60px;
}
.card:not(:last-child) {
  margin-bottom: 20px;
}
.content-grid > * {
  flex: 1 1 220px;
  min-width: 200px;
  margin-bottom: 20px;
}
.text-image-section > * {
  flex: 1 1 260px;
  min-width: 200px;
}
.next-steps {
  margin: 24px 0;
  background: #EEF7FE;
  padding: 16px 22px;
  border-radius: 13px;
}
.next-steps ul {
  margin-top: 8px;
}

/* ----------------------------------------------------
   ANIMATIONS & SHADOWS
---------------------------------------------------- */
.card, .feature-item, .testimonial-card, .service-item, .faq-item {
  transition: box-shadow 0.18s, transform 0.13s;
}
.cta-btn, .cta-btn-alt, .mobile-menu-toggle, .mobile-menu-close, .footer-social img {
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.12s;
}

/**** Micro-interactions ****/
a:focus, button:focus { outline: 2px dashed #FF8641; outline-offset: 2px; }

/* ----------------------------------------------------
   RESPONSIVE DESIGN
---------------------------------------------------- */
@media (max-width: 992px) {
  .hero {
    padding: 38px 10px 60px 10px;
    min-height: 180px;
  }
  .container {
    max-width: 100%;
    padding: 0 12px;
  }
  .card, .feature-item, .service-item {
    min-width: 180px;
    padding: 18px 9px 20px 9px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .content-wrapper, .content-grid, .service-highlights, .service-list, .testimonial-slider, .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    padding: 25px 6px;
    margin-bottom: 40px;
  }
  .testimonial-card, .feature-item, .card, .service-item {
    min-width: unset;
    width: 100%;
    margin-right: 0;
  }
  .mobile-menu {
    padding: 18px 13px 0 13px;
    min-width: 0;
    width: 96vw;
    max-width: 420px;
  }
}
@media (max-width: 540px) {
  html {
    font-size: 14px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.2rem; }
  .footer-nav {
    gap: 14px;
    font-size: 0.96rem;
  }
  .footer-brand img {
    height: 33px;
  }
  .footer-legal {
    font-size: 0.9rem;
  }
  .hero {
    padding: 16px 4px 36px 4px;
    min-height: 100px;
    border-radius: 0;
  }
  .next-steps, .premium-highlights, .service-highlights > div {
    padding: 11px 7px;
  }
}

/* ----------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
---------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1500;
  background: #22304C;
  color: #FFD651;
  padding: 22px 16px 24px 18px;
  box-shadow: 0 -2px 18px rgba(34,48,76,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 1.08rem;
  animation: slideUp 0.9s ease;
}
.cookie-banner span {
  flex: 1 1 180px;
  color: #FFD651;
  margin-bottom: 8px;
  font-weight: 500;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  padding: 7px 20px;
  font-size: 1rem;
  border-radius: 15px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  margin-left: 6px;
}
.cookie-btn.accept {
  background: #FFD651;
  color: #22304C;
}
.cookie-btn.reject {
  background: #F65061;
  color: #fff;
}
.cookie-btn.settings {
  background: #1777F7;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: 0.92;
  filter: brightness(1.07);
}

@keyframes slideUp {
  from { transform: translateY(90%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Cookie Modal (fixed overlay) */
.cookie-modal-overlay {
  display: none;
  position: fixed; left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(32,32,32,0.39);
  z-index: 1600;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #22304C;
  border-radius: var(--radius);
  box-shadow: 0 6px 36px rgba(23,119,247,0.13);
  padding: 32px 24px 28px 24px;
  max-width: 95vw;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 1660;
  animation: cookieModalIn .6s cubic-bezier(.6,0,.4,1);
}
.cookie-modal h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  color: #F65061;
  font-family: 'Playfair Display','Georgia',serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 1.02rem;
}
.cookie-category label {
  margin-left: 0.5em;
}
.cookie-switch {
  width: 39px; height: 21px;
  position: relative;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FFD651;
  border-radius: 15px;
  transition: background 0.2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #1777F7;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  left: 2.4px; top: 2px;
  width: 17px; height: 17px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 20px;
}
.cookie-modal .close-modal-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #F65061;
  position: absolute;
  right: 13px;
  top: 13px;
  cursor: pointer;
}
@keyframes cookieModalIn {
  0% { transform: scale(0.83); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* On mobile, make the banner/modal fit */
@media (max-width: 540px) {
  .cookie-modal {
    width: 97vw;
    padding: 16px 5px 18px 5px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    font-size: 0.97rem;
    padding: 10px 6px;
    text-align: left;
  }
}

/* ----------------------------------------------------
   SCROLLBAR STYLES (Optional)
---------------------------------------------------- */
::-webkit-scrollbar { width: 10px; background: #F5F3EF; }
::-webkit-scrollbar-thumb { background: #FFD651; border-radius: 7px; }
::-webkit-scrollbar-thumb:hover { background: #F65061; }

/* ----------------------------------------------------
   OVERRIDES & MISC
---------------------------------------------------- */
::-moz-selection { background: #FFD651; color: #22304C; }
::selection { background: #FFD651; color: #22304C; }

/* For accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/******** VIBRANT/ENERGETIC CARD RIBBON (Optional) ******/
.card::before, .feature-item::before {
  content: '';
  display: none;
}

/* END */
