/* ===================================================================
   Comunmouso Exchange – Elegant Classic Style CSS (MOBILE-FIRST)
   Brand: timeless, elegant, high-contrast, noble muted tones, classic
   Flexbox-only / No CSS grid or columns. ONLY flex layouts used.
   ===================================================================*/
/* RESET & BASELINE ----------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  background: #F7F6F3;
  color: #18161a;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  outline: none;
  color: inherit;
}
a {
  color: #4B25C7;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #1E2A49;
  text-decoration: underline;
}
/* SCROLLBAR (subtle, elegant) */
::-webkit-scrollbar {
  width: 10px;
  background: #ece7df;
}
::-webkit-scrollbar-thumb {
  background: #c6c1b4;
  border-radius: 4px;
}

/* TYPOGRAPHY & HEADINGS ------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #18161a;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
.subheadline {
  font-size: 1.18rem;
  color: #494654;
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 1.5;
}
strong {
  font-weight: 700;
  color: #312858;
}

/* CONTAINER & WRAPPERS ------------------------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* HEADER & NAVIGATION -------------------------- */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 16px 0 rgba(54,45,95,0.06);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 18px;
}
header img {
  max-height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Georgia', serif;
  color: #282547;
  font-size: 1rem;
  padding: 8px 0;
  position: relative;
  transition: color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #4B25C7;
}
.main-nav .cta-primary {
  margin-left: 10px;
}
/* Burger Menu Button */
.mobile-menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: #EAE8E5;
  border-radius: 50%;
  border: none;
  color: #312858;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  margin-left: 10px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #C6C2ED;
  color: #18161a;
}
/* Hide main nav, show burger on mobile */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 993px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* MOBILE MENU OVERLAY --------------------------- */
.mobile-menu {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(32,28,47,0.97);
  box-shadow: 0 4px 36px 0 rgba(54,45,95,0.30);
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.76,.04,.24,.96);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  margin: 24px 24px 8px 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 2020;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #B6A8EC;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 32px 0 0 32px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #fff;
  padding: 12px 0;
  letter-spacing: 0.02em;
  border-radius: 3px;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #312858;
  color: #F7F6F3;
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==============================================
   HERO BANNER (Landing)
============================================== */
.hero {
  background: #ECE7DF;
  border-bottom: 1px solid #e3ddd3;
  padding: 48px 0 38px 0;
  margin-bottom: 54px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 22px;
  max-width: 650px;
}
.hero h1 {
  font-size: 2.5rem;
  color: #241E38;
  font-family: 'Georgia', serif;
}

/* ==============================================
   SECTION SPACING, CARDS, FEATURE GRIDS
============================================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 24px 0 rgba(54,45,95,0.07);
  margin-bottom: 20px;
  padding: 28px 24px;
  position: relative;
  min-width: 250px;
  transition: box-shadow 0.19s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(54,45,95,0.13);
}
.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;
    align-items: stretch;
    gap: 22px;
  }
}

/* ==============================================
   FEATURES & VORTEILE
============================================== */
.features, .platform-features, .security-features, .milestones, .values {
  background: #F7F6F3;
  border-radius: 18px;
  box-shadow: 0 1px 14px 0 rgba(203,194,181,0.10);
  margin-bottom: 60px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 16px;
  justify-content: center;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(54,45,95,0.07);
  padding: 28px 20px 22px 20px;
  min-width: 220px;
  flex: 1 1 210px;
  transition: box-shadow 0.15s, transform 0.13s;
  margin-bottom: 20px;
}
.feature img {
  margin-bottom: 18px;
  height: 44px;
}
.feature h3 {
  font-size: 1.1rem;
  color: #241E38;
  margin-bottom: 8px;
}
.feature p {
  color: #564e69;
  font-size: 1rem;
}
.feature:hover {
  box-shadow: 0 8px 36px 0 rgba(54,45,95,0.20);
  transform: translateY(-2px) scale(1.03);
}

/* ==============================================
   STATS / LISTS
============================================== */
.stats-list, .milestones .timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  justify-content: center;
}
.stats-list li, .milestones .timeline li {
  font-size: 1.22rem;
  color: #241E38;
  background: #fff;
  border-radius: 12px;
  padding: 16px 22px;
  box-shadow: 0 1px 6px 0 rgba(54,45,95,0.06);
  margin-bottom: 16px;
  min-width: 150px;
  text-align: center;
}
.stats-list li strong {
  display: block;
  font-size: 1.45rem;
  color: #4B25C7;
  margin-bottom: 3px;
  letter-spacing: 0.01em;
}

/* ==============================================
   CTA (Call to Action)
============================================== */
.cta {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 14px 0 rgba(203,194,181,0.08);
  text-align: center;
  margin-bottom: 60px;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 22px;
}

/* ==============================================
   BUTTONS & LINKS
============================================== */
.cta-primary, .cta-primary:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  background: #4B25C7;
  color: #fff;
  padding: 12px 30px;
  margin-top: 8px;
  border-radius: 26px;
  box-shadow: 0 2px 10px 0 rgba(83,53,175,0.10);
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s, transform 0.16s;
  text-decoration: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #312858;
  color: #fff;
  box-shadow: 0 5px 15px 0 rgba(83,53,175,0.23);
  transform: translateY(-1.5px) scale(1.025);
}
button:active, .cta-primary:active {
  background: #18161a;
  color: #e3dcf6;
}

/* ==============================================
   TESTIMONIALS / REFERENZEN
============================================== */
.testimonials {
  background: #EAE8E5;
  border-radius: 16px;
  box-shadow: 0 1px 12px 0 rgba(203,194,181,0.10);
  margin-bottom: 60px;
}
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 22px;
  justify-content: center;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 12px 0 rgba(54,45,95,0.08);
  max-width: 350px;
  min-width: 215px;
  padding: 22px 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.testimonial-card p {
  color: #1E2A49;
  font-size: 1.09rem;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #57546A;
  font-style: italic;
  align-self: flex-end;
}
.testimonial-card:hover {
  box-shadow: 0 7px 28px 0 rgba(54,45,95,0.16);
  transform: translateY(-2px);
}

/* ==============================================
   PRICING TABLE
============================================== */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 32px 0 42px 0;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 14px 0 rgba(203,194,181,0.10);
  overflow: hidden;
}
.pricing-table th,
.pricing-table td {
  font-size: 1rem;
  padding: 18px 18px;
  text-align: left;
  color: #282547;
}
.pricing-table th {
  background: #EAE8E5;
  font-weight: 600;
}
.pricing-table tbody tr {
  border-top: 1px solid #EAE8E5;
}
.pricing-table tbody tr:hover {
  background: #F7F6F3;
}

/* ==============================================
   FAQ (Accordion/Help)
============================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(54,45,95,0.06);
  padding: 20px 22px;
  margin-bottom: 12px;
}
.faq-item h3 {
  font-size: 1.11rem;
  margin-bottom: 8px;
}

/* ==============================================
   HELP/DOCS/SUCH-FUNKTION
============================================== */
.search-bar {
  width: 100%;
  background: #F7F6F3;
  border-radius: 8px;
  border: 1px solid #D1CCC8;
  padding: 13px 18px;
  margin-bottom: 26px;
  font-size: 1.07rem;
  transition: border-color 0.18s;
}
.search-bar:focus {
  border-color: #4B25C7;
  background: #FCFBFA;
}

/* ==============================================
   FOOTER
============================================== */
footer {
  background: #EAE8E5;
  padding: 0;
  color: #282547;
  font-size: 1rem;
  border-top: 2px solid #d8d2ca;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 46px 0 24px 0;
}
.footer-content img {
  max-height: 30px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #282547;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #4B25C7;
}
.footer-contact p, .footer-contact a {
  font-size: 0.97rem;
  color: #57546A;
  margin-bottom: 7px;
}
.footer-contact img {
  vertical-align: middle;
  margin-right: 7px;
  height: 18px;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social a {
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  box-shadow: 0 1px 4px rgba(32,20,60,0.08);
  transition: background 0.15s, box-shadow 0.13s;
}
.footer-social a:hover {
  background: #d8d2ca;
  box-shadow: 0 2px 10px rgba(32,20,60,0.16);
}
.footer-bottom {
  padding: 20px 0 4px 0;
  text-align: center;
  font-size: 0.97rem;
  color: #787391;
}

/* ==============================================
   LEGAL / COMPLIANCE / ABOUT
============================================== */
.legal-text, .about {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 14px 0 rgba(203,194,181,0.10);
  padding: 40px 26px;
  margin-bottom: 60px;
}
.legal-text p, .about p {
  font-size: 1.11rem;
  letter-spacing: 0.01em;
}

/* ==============================================
   COOKIE CONSENT BANNER (FIXED BOTTOM)
============================================== */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: #EFECDD;
  border-top: 1px solid #D1CCC8;
  box-shadow: 0 -3px 20px rgba(32,28,47,0.09);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 12px;
  transition: transform 0.3s;
  font-size: 1rem;
  gap: 26px;
}
#cookie-banner.hide {
  transform: translateY(100%);
}
#cookie-banner-content {
  max-width: 540px;
  color: #2D284B;
  margin-right: 20px;
}
#cookie-banner .cookie-btn {
  background: #4B25C7;
  color: #fff;
  border-radius: 24px;
  padding: 10px 24px;
  margin-left: 10px;
  font-family: 'Georgia',serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.17s;
}
#cookie-banner .cookie-btn.light {
  background: #FFF;
  color: #4B25C7;
  border: 1px solid #C6C2ED;
}
#cookie-banner .cookie-btn:hover, #cookie-banner .cookie-btn:focus {
  background: #312858;
  color: #fff;
}
#cookie-banner .cookie-btn.light:hover, #cookie-banner .cookie-btn.light:focus {
  background: #F7F6F3;
}

/* Cookie Preferences Modal */
#cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(44,39,73,0.31);
  z-index: 4100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
#cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
#cookie-modal-box {
  background: #fff;
  border-radius: 13px;
  padding: 36px 28px 28px 28px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 8px 42px rgba(62,47,121,0.13);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInUp .27s cubic-bezier(.49,.17,.5,1);
}
@keyframes fadeInUp {
  from {transform: translateY(44px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
#cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #241E38;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #C6C2ED;
  border-radius: 22px;
  position: relative;
  outline: none;
  transition: background 0.12s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #4B25C7;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(41,36,74,0.07);
  transition: transform 0.17s;
}
.cookie-toggle:checked::before {
  transform: translateX(16px);
}
.cookie-category .always {
  font-size: 0.95rem;
  color: #9a91b4;
  font-style: italic;
  margin-left: 7px;
}
#cookie-modal .cookie-btn {
  margin: 14px 0 0 0;
}

/* ==============================================
   SPACING, LAYOUT, RESPONSIVE FLEX
============================================== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Enforce spacing between all sections and cards */
section + section { margin-top: 20px; }
.card + .card { margin-left: 20px; }

/* ==============================================
   RESPONSIVE DESIGN (MOBILE-FIRST)
============================================== */
@media (max-width: 1200px) {
  .footer-content { flex-wrap: wrap; gap: 26px; }
  .content-wrapper, .feature-grid, .stats-list, .testimonial-slider { gap: 18px; }
}
@media (max-width: 900px) {
  .feature, .feature-grid, .stats-list, .milestones .timeline, .testimonial-slider {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .content-wrapper { gap: 16px; }
  section, .section { padding: 28px 2px; margin-bottom: 38px; }
  .footer-content { flex-direction: column; gap: 12px; padding: 38px 0 18px 0; }
  .footer-social { gap: 8px; }
  .testimonial-slider, .feature-grid, .stats-list, .milestones .timeline {
    gap: 14px;
    flex-direction: column;
    align-items: stretch;
  }
  .card {
    min-width: unset;
    padding: 16px 8px;
  }
  .legal-text, .about { padding: 24px 9px; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.47rem; }
  h2 { font-size: 1.13rem; }
  .subheadline { font-size: 1.04rem; }
  .cta-primary { font-size: 0.96rem; padding: 12px 16px; }
  .main-nav a, .footer-nav a { font-size: 0.97rem; }
  .testimonial-card { max-width: 98vw; padding: 11px 7px; }
}

/* ================ MICRO-ANIMATIONS ================ */
.cta-primary, .cookie-btn, .mobile-menu-toggle, .feature, .testimonial-card {
  transition: box-shadow 0.18s, background 0.16s, transform 0.17s, color 0.16s;
}
.card, .feature, .testimonial-card {
  will-change: transform, box-shadow;
}
.feature:active, .testimonial-card:active {
  transform: scale(0.97);
}

/* ============= REMOVE OUTLINES / FOCUSES =============*/
button:focus, .cta-primary:focus {
  outline: 2px solid #C6C2ED;
  outline-offset: 2px;
}

/* ============= HELPER CLASSES & MISC ================ */
.muted { color: #948CAC; }

/* ============= UTILITY (HIDE, SHOW) ================= */
.hide { display: none !important; }

/* ============= SPECIAL FORMS, LISTS ================= */
ul, ol {
  margin: 0 0 16px 18px;
}
ul li {
  margin-bottom: 9px;
}

/* ENFORCE NO OVERLAP -- enough margin/padding on all content blocks */
.card, .feature, .testimonial-card, .faq-item {
  margin-bottom: 20px;
}
.content-grid > * { margin-bottom: 20px; }

/* ============= END OF CSS ============= */
