/* =======================
   CELSTIAL JOURNEY DIGITAL
   Soft Pastel Style (Flexbox Only) CSS
   Brand: Modern, Trustworthy, Pastel, Dreamy
   ======================= */

/* -------- 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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background-color: #fafffd;
  color: #223358;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
u, ins, del { text-decoration: none; }
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:focus { outline: 2px solid #6EC1E4; outline-offset: 2px; }
ul, ol { list-style: none; }

/* --------- VARIABLES & PASTELS --------- */
:root {
  --cj-primary: #223358;
  --cj-secondary: #6EC1E4;
  --cj-accent: #F6F7FB;
  --cj-bg: #fafffd;
  --cj-pastel-peach: #FFE6E6;
  --cj-pastel-blue: #E7F7FA;
  --cj-pastel-purple: #EAEAFD;
  --cj-pastel-pink: #FCEAFF;
  --cj-pastel-mint: #D4FDF4;
  --cj-pastel-yellow: #FFF8E2;
  --cj-box-shadow: 0 4px 24px 0 rgba(153, 184, 209, 0.08), 0 1.5px 8px 0 rgba(100,130,187,0.07);
  --cj-radius: 18px;
  --cj-radius-sm: 10px;
  --cj-radius-lg: 30px;
  --cj-header-height: 68px;
  --cj-transition: 0.26s cubic-bezier(.6,.2,.3,1);  
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--cj-primary);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; font-weight: 600; }
h4 { font-size: 1.1rem; }
p, li, td, th {
  font-size: 1rem;
  color: var(--cj-primary);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.7;
  font-weight: 400;
}
strong, b { font-weight: 600; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

/* ---------- GLOBAL STRUCTURE & LAYOUT ---------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: var(--cj-accent);
  border-radius: var(--cj-radius);
  box-shadow: var(--cj-box-shadow);
}
@media (max-width: 600px) {
  .section {
    padding: 28px 7px;
    margin-bottom: 36px;
  }
}

/* ---------- HEADER & NAVIGATION ---------- */
header {
  width: 100%;
  background: linear-gradient(90deg, #E7F7FA 0%, #FCEAFF 100%);
  box-shadow: 0 2px 10px rgba(111,195,228,0.05);
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--cj-header-height);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
header img {
  height: 40px;
  width: auto;
}
nav.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
nav.main-nav a {
  padding: 6px 2px;
  font-size: 1rem;
  border-radius: var(--cj-radius-sm);
  color: var(--cj-primary);
  position: relative;
  transition: background .22s, color .22s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  background: var(--cj-pastel-blue);
  color: #226985;
}
.cta-button {
  background: var(--cj-secondary);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(184,201,210,0.16);
  cursor: pointer;
  transition: background var(--cj-transition), box-shadow var(--cj-transition), color var(--cj-transition);
  outline: none;
  position: relative;
}
.cta-button:active {
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.cta-button:hover, .cta-button:focus {
  background: #80d6ee;
  color: var(--cj-primary);
  box-shadow: 0 8px 30px -6px #b8d5e6;
}

/* Hide burger menu on desktop */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 105;
  background: var(--cj-pastel-blue);
  border: none;
  border-radius: 50%;
  padding: 12px;
  font-size: 1.8rem;
  box-shadow: var(--cj-box-shadow);
  color: var(--cj-primary);
  transition: background .2s, color .2s;
  cursor: pointer;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:hover {
  background: var(--cj-secondary);
  color: #fff;
}

/* Hamburger visible, desktop nav hidden on small screens */
@media (max-width: 1000px) {
  nav.main-nav { display: none; }
  .cta-button { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 600px) {
  header .container {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  header img { height: 33px; }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(234,234,253,0.97);
  /* pastel purpleish overlay */
  z-index: 110;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.6,.2,.23,1);
  box-shadow: 0 8px 32px rgba(145,170,191,0.12);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 8px 32px rgba(145,166,191,0.18);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 22px 0 0;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: var(--cj-primary);
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover { color: #80c8ee; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
  margin-top: 34px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.mobile-nav a {
  padding: 15px 0 7px 0;
  font-size: 1.2rem;
  width: 100%;
  text-align: center;
  color: var(--cj-primary);
  border-bottom: 1px solid #e7f7fa;
  background: transparent;
  border-radius: var(--cj-radius-sm);
  transition: background .15s, color .23s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--cj-pastel-pink);
  color: #345c8c;
}

/* Hide mobile menu + button on desktop */
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ---------- HERO SECTION ---------- */
.hero {
  background: linear-gradient(100deg,#e7f7fa 0%, #fff8e2 180%);
  padding: 50px 0 45px 0;
  min-height: 320px;
  border-radius: 0 0 var(--cj-radius-lg) var(--cj-radius-lg);
  box-shadow: 0 7px 25px -10px #d9eef1;
  display: flex;
}
.hero .container {
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
}
.hero h1 {
  color: var(--cj-primary);
  margin-bottom: 18px;
}
.hero p {
  max-width: 570px;
  margin-bottom: 24px;
  color: #3d4961;
}
.hero .cta-button {
  margin-top: 8px;
}
@media (max-width: 700px) {
  .hero { padding: 30px 0 20px 0; }
  .hero .content-wrapper { align-items: flex-start; gap: 18px; }
  .hero h1 { font-size: 1.5rem; }
}

/* ---------- FLEX CONTAINERS ---------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--cj-box-shadow);
  border-radius: var(--cj-radius);
  padding: 28px 24px;
  background: var(--cj-pastel-peach);
  min-width: 250px;
  flex: 1 1 320px;
  transition: box-shadow var(--cj-transition), transform var(--cj-transition);
}
.card:hover {
  box-shadow:0 8px 36px -8px rgba(231,247,250,0.27);
  transform: translateY(-2px) scale(1.01);
}
.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, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ---------- FEATURE GRID ---------- */
.features ul,
.feature-grid, 
.benefits ul,
.benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  margin-top: 12px;
}
.feature-grid > li, .benefit-grid > li {
  background: var(--cj-pastel-mint);
  border-radius: var(--cj-radius);
  padding: 28px 20px 20px 20px;
  min-width: 220px;
  flex: 1 1 240px;
  margin-bottom: 15px;
  box-shadow: var(--cj-box-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 9px;
  transition: box-shadow .2s, background .2s;
  position: relative;
}
.feature-grid > li:hover {
  background: #e7f7fa;
  box-shadow:0 8px 30px -10px #c5f4e7;
}
.feature-grid img, .benefit-grid img {
  width: 34px; height: 34px; margin-bottom: 7px;
}
.features h3, .benefit-grid strong {
  color: #2b487e;
  font-size: 1.09rem;
  margin-bottom: 8px;
}

/* --------- CARDS, TESTIMONIALS, ETC --------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px 20px 22px;
  background: var(--cj-pastel-purple);
  border-radius: var(--cj-radius);
  margin-bottom: 20px;
  box-shadow: 0 3px 16px -3px #a8bae6;
  min-width: 220px;
  max-width: 700px;
  color: #1c2542;
  font-size: 1.09rem;
  transition: box-shadow .2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px -9px #c8daf0;
}
.testimonial-meta {
  color: #446389;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  margin-top: 6px;
}

/* ------- TABLES (Pricing, Vergleich etc) ------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px 0;
  border-radius: var(--cj-radius);
  overflow: hidden;
  background: var(--cj-pastel-yellow);
  box-shadow: var(--cj-box-shadow);
  color: var(--cj-primary);
  font-size: 1rem;
  text-align: center;
}
thead {
  background: var(--cj-pastel-blue);
}
th, td {
  padding: 14px 12px;
  border-bottom: 1px solid #f6f7fb;
}
th {
  font-weight: 600;
  color: #394865;
}
tr:last-child td {
  border-bottom: none;
}

/* --------- ACCORDION FAQ --------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 10px;
}
.faq-accordion > div {
  background: var(--cj-pastel-pink);
  border-radius: var(--cj-radius-sm);
  box-shadow: 0 2px 5px -2px #e6d6ef;
  padding: 18px 16px 14px 16px;
  cursor: pointer;
  transition: box-shadow .18s;
  font-size: 1rem;
}
.faq-accordion > div:hover { box-shadow: 0 7px 19px -8px #e7c8f5; }
.faq-accordion strong { color: #2d3258; display: block; margin-bottom: 6px; }

/* ------------- LISTS ------------- */
ul, ol {
  padding-left: 18px;
}
ul li, ol li {
  padding-left: 0;
  margin-bottom: 7px;
}
ul li::marker, ol li::marker { color: #80c8ee; font-size: 1.2em; }

/* ------------- CTA SECTION ------------- */
.cta {
  background: linear-gradient(93deg,#eaeafd 0%, #d4fdf4 91%);
  padding: 42px 0 42px 0;
  border-radius: var(--cj-radius-lg) var(--cj-radius-lg) 0 0;
  box-shadow: 0 -7px 32px -10px #e2e8ed;
  text-align: center;
}
.cta .container { align-items: center; }
.cta .content-wrapper { align-items: center; }
.cta h2 { color: #223358; }
.cta p { color: #445985; margin-bottom: 20px; }

/* ------------- FOOTER ------------- */
footer {
  background: linear-gradient(87deg,#E7F7FA 0%, #FFE6E6 100%);
  box-shadow:0 -2px 14px rgba(231,247,250,0.05);
  margin-top: 40px;
  padding: 22px 0 17px 0;
  border-radius: var(--cj-radius-lg) var(--cj-radius-lg) 0 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 38px;
}
footer img { height: 33px; }
footer nav.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--cj-primary);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer nav.footer-nav a {
  color: #223358;
  padding: 3px 0;
  transition: color .15s;
}
footer nav.footer-nav a:hover, footer nav.footer-nav a:focus {
  color: #80d6ee;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
  color: #4c6691;
}
.footer-contact img { width: 18px; height: 18px; margin-right: 7px; vertical-align: middle; }
.footer-contact span { display: flex; align-items: center; gap: 6px; }

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

/* ---------- SPECIALIZED SECTIONS ---------- */
.services ul {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 14px;
}
.about-company ul, .team ul, .industry-solutions ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* BENEFIT CARDS */
.benefit-grid > li {
  background: var(--cj-pastel-yellow);
  box-shadow: var(--cj-box-shadow);
  border-radius: var(--cj-radius);
  margin-bottom: 10px;
}
.benefit-grid strong { color: #2254a6; }

/* MODAL-LIKE LEGAL SECTION */
.legal-content {
  background: var(--cj-pastel-blue);
  border-radius: var(--cj-radius);
  box-shadow: var(--cj-box-shadow);
  padding: 44px 30px;
  margin-bottom: 42px;
}

.thankyou {
  background: var(--cj-pastel-mint);
  border-radius: var(--cj-radius);
  padding: 50px 22px;
  margin: 52px 0 0 0;
  text-align: center;
}
.thankyou h1 { margin-bottom: 16px; }

@media (max-width:600px) {
  .thankyou { padding: 30px 4px; margin: 30px 0 0 0; }
  .legal-content { padding: 30px 8px; }
}

/* --------- RESPONSIVENESS --------- */
@media (max-width: 670px) {
  .card-container, .feature-grid, .benefit-grid {
    flex-direction: column;
    gap: 15px;
  }
}
@media (max-width: 600px) {
  .content-wrapper, .hero .content-wrapper, .cta .content-wrapper { gap: 13px; }
  table, th, td { font-size: .97rem; }
  .section { padding:20px 5px; }
}

/* -------- BUTTON, INPUTS, INTERACTION -------- */
button, [type="button"], [type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  cursor: pointer;
  border-radius: var(--cj-radius-sm);
  border: none;
  outline: none;
  transition: background var(--cj-transition), color var(--cj-transition), box-shadow var(--cj-transition);
}
button:focus { outline: 2px solid #80d6ee; }

/* --------- ANIMATIONS / MICROINTERACTIONS --------- */
.cta-button, .card, .feature-grid > li, .benefit-grid > li, .testimonial-card, .faq-accordion > div {
  transition: box-shadow .2s, transform .19s, background .23s, color .17s, border-color .18s;
}
.cta-button:active, .feature-grid > li:active, .faq-accordion > div:active {
  transform: scale(0.97);
}

/* ----------- COOKIE CONSENT BANNER ----------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: var(--cj-pastel-blue);
  box-shadow: 0 -4px 32px -12px #80d6ee;
  padding: 26px 18px 22px 18px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 28px;
  border-radius: var(--cj-radius-lg) var(--cj-radius-lg) 0 0;
  font-size: 1rem;
  color: #1d3559;
  opacity: 0;
  pointer-events: none;
  transform: translateY(50px);
  transition: opacity .5s, transform .36s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  margin: 0;
  font-size: 1rem;
  flex: 1 0 220px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 13px;
  align-items: center;
}
.cookie-banner button {
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: var(--cj-radius-sm);
  border: none;
  background: var(--cj-secondary);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(184,201,210,0.16);
  transition: background var(--cj-transition), color var(--cj-transition);
}
.cookie-banner button.cookie-reject {
  background: #ffe6e6;
  color: #223358;
  border: 1px solid #fdc3d8;
}
.cookie-banner button.cookie-settings {
  background: #fff8e2;
  color: #323865;
  border: 1px solid #f6d69f;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--cj-pastel-mint);
  color: #183066;
}
.cookie-banner button.cookie-reject:hover, .cookie-banner button.cookie-reject:focus {
  background: #f6d6ef;
  color: #ab377a;
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: #eaeafd;
  color: #2c389b;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px 5px 14px 5px;
    font-size: .98rem;
  }
  .cookie-banner .cookie-buttons {
    flex-direction: row;
    gap: 9px;
    justify-content: flex-end;
  }
}

/* ----------- COOKIE MODAL ----------- */
.cookie-modal {
  position: fixed;
  z-index: 1300;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(90, 110, 172, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .27s;
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: var(--cj-pastel-purple);
  border-radius: var(--cj-radius);
  padding: 34px 30px 29px 30px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 8px 32px -8px #bcaefa;
  display: flex;
  flex-direction: column;
  gap: 13px;
  position: relative;
  color: #202442;
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-modal-content .cookie-settings-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 12px 0 12px 0;
}
.cookie-modal-content .cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
}
.cookie-modal-content .cookie-toggle-row label {
  font-size: 1rem;
  color: #1d3559;
  font-weight: 500;
}
.cookie-toggle {
  width: 36px;
  height: 20px;
  border-radius: 15px;
  background: #eaeafd;
  position: relative;
  cursor: pointer;
  transition: background .2s;
  border: 1px solid #b7bdeb;
  box-sizing: border-box;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--cj-secondary);
  border-color: #80d6ee;
}
.cookie-toggle::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 1px; top: 1px;
  box-shadow: 0 1px 6px -2px #a8bae6;
  transition: left .21s;
}
.cookie-toggle[aria-checked="true"]::after {
  left: 17px;
}
.cookie-modal-actions {
  margin-top: 21px;
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 9px; right: 12px;
  font-size: 1.45rem;
  color: #829bc4;
  background: transparent;
  border: none;
  cursor: pointer;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus { color: #223358; }
@media (max-width: 550px) {
  .cookie-modal-content { padding: 14px 7px; min-width: 0; }
}

/* ------------- OTHER: HIGHLIGHT, MISC ------------- */
mark, .highlight {
  background: var(--cj-pastel-yellow);
  color: #31363c;
  border-radius: 5px;
  padding: 2px 7px 1px 7px;
}

::-webkit-scrollbar {
  width: 8px;
  background: #e7f7fa;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #eaeafd;
  border-radius: 10px;
}


/*
--------------------------------
   END: Soft Pastel Flexbox CSS
--------------------------------
*/
