/* ====================================================================
   LucidCash Beratung – Geometric Structured Style CSS (Mobile First)
   ==================================================================== */
/* === CSS 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;
  height: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #FFFFFF;
  color: #17415A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #009688;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #17415A;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 1.5em;
}
li + li {
  margin-top: 8px;
}
strong, b {
  font-weight: bold;
}
hr {
  border: 0;
  border-top: 1.5px solid #E4E7EB;
  margin: 32px 0;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #17415A;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
h4 {
  font-size: 1.06rem;
}
section ul, section ol {
  font-size: 1rem;
}

/* === GEOMETRIC STRUCTURED STYLE === */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.text-section {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  position: relative;
  background: #fff;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: 0 2px 12px rgba(23,65,90,0.10);
  border: 2.5px solid #E4E7EB;
  border-radius: 14px;
  padding: 25px;
  min-width: 210px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 36px rgba(0, 150, 136, 0.14);
  border-color: #009688;
}

.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;
}

/******************
 * HEADER
 *****************/
header {
  width: 100%;
  background: #fff;
  border-bottom: 3px solid #E4E7EB;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding-top: 0;
  padding-bottom: 0;
}
header img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2vw;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #17415A;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.16s;
}
.main-nav a:hover, .main-nav a.active {
  background: #009688;
  color: #fff;
}
.cta-header {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 24px;
  border-radius: 100px;
  background: #17415A;
  color: #fff;
  margin-left: 14px;
  letter-spacing: 0.05em;
  transition: background 0.22s;
  border: none;
  outline: none;
  box-shadow: 0 1px 6px rgba(23,65,90, 0.10);
}
.cta-header:hover, .cta-header:focus {
  background: #009688;
  color: #fff;
}
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #17415A;
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px 18px 7px 10px;
  z-index: 31;
  border-radius: 8px;
  transition: box-shadow 0.18s, background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E4E7EB;
  box-shadow: 0 1px 10px rgba(23,65,90,0.11);
}

/******************
 * MOBILE MENU
 *****************/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,65,90,0.98);
  color: #fff;
  z-index: 50;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100vw;
  height: 100vh;
  padding: 0 0 0 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  margin: 28px 0 0 20px;
  background: none;
  color: #fff;
  border: none;
  font-size: 2.4rem;
  align-self: flex-start;
  cursor: pointer;
  z-index: 51;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #009688;
}
.mobile-nav {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 0 0 32px;
  gap: 14px;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  padding: 16px 0;
  width: 90%;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  letter-spacing: 0.03em;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: #009688;
}

/******************
 * HERO/BUTTONS/CTA
 *****************/
.cta-main, .cta-inline {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 32px;
  border-radius: 100px;
  background: #009688;
  color: #fff;
  border: none;
  box-shadow: 0 2px 12px rgba(23,65,90,0.11);
  transition: background 0.18s, box-shadow 0.2s, transform 0.15s;
  display: inline-block;
  letter-spacing: 0.07em;
  margin-top: 18px;
  cursor: pointer;
}
.cta-main:hover, .cta-inline:hover, .cta-main:focus, .cta-inline:focus {
  background: #17415A;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 22px rgba(0,150,136,0.17);
}
.cta-inline {
  background: #E4E7EB;
  color: #17415A;
  border: 2px solid #009688;
  margin-left: 5px;
}
.cta-inline:hover, .cta-inline:focus {
  background: #009688;
  color: #fff;
}

/*****************
 * FEATURES & CARDS
 *****************/
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F6F8FA;
  border: 2px solid #E4E7EB;
  border-radius: 14px;
  padding: 29px 22px 27px 22px;
  min-width: 240px;
  flex: 1 1 280px;
  margin-bottom: 8px;
  transition: box-shadow 0.18s, background 0.15s, border-color 0.15s;
  box-shadow: 0 1px 8px rgba(23,65,90,0.05);
  position: relative;
}
.feature-item img {
  height: 40px;
  width: 40px;
}
.feature-item h3 {
  margin-bottom: 4px;
  font-size: 1.18rem;
  letter-spacing: 0.045em;
  font-weight: 600;
  color: #17415A;
}
.feature-item:hover, .feature-item:focus {
  border-color: #009688;
  background: #E4E7EB;
  box-shadow: 0 3px 14px rgba(0,150,136,0.11);
}

/*****************
 * SERVICE CARDS, TEAM MEMBERS ETC.
 *****************/
.service-item-cards, .team-members-grid, .training-types-grid, .analytics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 18px;
}
.service-card, .team-member, .training-type, .analytics-feature {
  background: #fff;
  box-shadow: 0 2px 12px rgba(23,65,90,0.08);
  border: 2px solid #E4E7EB;
  border-radius: 14px;
  padding: 29px 22px 27px 22px;
  min-width: 220px;
  flex: 1 1 264px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border 0.16s, box-shadow 0.16s, background 0.18s;
  position: relative;
}
.service-card:hover, .team-member:hover, .training-type:hover, .analytics-feature:hover {
  border-color: #009688;
  background: #F6F8FA;
  box-shadow: 0 8px 28px rgba(0,150,136,0.065);
}
.team-member h3 {
  font-size: 1.18rem;
  color: #009688;
}

/*****************
 * TESTIMONIALS
 *****************/
.testimonial-card, .success-case {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #E4E7EB;
  color: #17415A;
  border-radius: 12px;
  font-style: italic;
  box-shadow: 0 2px 10px rgba(23,65,90,0.08);
  margin-bottom: 20px;
  min-width: 240px;
}
.testimonial-card p, .success-case p {
  margin-bottom: 0;
}
.testimonial-card span, .success-case strong {
  margin-left: 14px;
  color: #17415A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1em;
  font-style: normal;
}

/*****************
 * STAT CARDS/HIGHLIGHTS
 *****************/
.stats-counters, .impact-metrics, .stats-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: stretch;
  margin: 22px 0 12px 0;
}
.stat, .impact-metrics > div, .stats-highlights > p {
  background: #F6F8FA;
  border-radius: 10px;
  border: 2px solid #E4E7EB;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  color: #009688;
  padding: 18px 25px;
  flex: 1 1 170px;
  text-align: center;
  box-shadow: 0 1px 7px rgba(23,65,90,0.07);
}
.stat strong, .impact-metrics strong, .stats-highlights strong {
  font-size: 2.1rem;
  color: #17415A;
  display: block;
}

/**************
 * FOOTER
 **************/
footer {
  background: #17415A;
  color: #fff;
  padding: 40px 0 18px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 34px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 22px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #E4E7EB;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #009688;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.footer-contact img {
  height: 56px;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social span {
  color: #E4E7EB;
  font-size: 1rem;
  margin-right: 7px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.footer-social a img {
  height: 32px;
  width: 32px;
  filter: grayscale(0.3) brightness(2);
  transition: filter 0.18s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: none;
}
footer p, footer span {
  color: #E4E7EB;
  font-size: 1em;
  margin-bottom: 0;
}

/**************
 * CONTACT INFO & UTILS
 **************/
.contact-fields, .contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #F6F8FA;
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 16px;
}
.contact-details img {
  height: 18px;
  width: 18px;
  vertical-align: middle;
  margin-right: 5px;
  margin-bottom: 3px;
}

/**************
 * MISC COMPONENTS/LISTS
 **************/
.core-values ul, .usp-points, .benefits-list ul, .benefit-points, .benefit-highlights, .problem-list, .solution-overview ul, .explainer-texts ul, .methodology-points {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1em;
  color: #17415A;
  background: #F6F8FA;
  border-radius: 7px;
  padding: 15px 22px;
  margin: 15px 0 12px 0;
  list-style: disc inside;
  box-shadow: 0 1px 7px rgba(23,65,90,0.04);
}
.core-values ul, .benefit-points, .methodology-points {
  margin-bottom: 0;
}

/*********************
 * COOKIE CONSENT BANNER
 *********************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #17415A;
  color: #fff;
  padding: 20px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 1100;
  box-shadow: 0 -6px 30px rgba(23,65,90,0.17);
  animation: cookieSlideIn 420ms cubic-bezier(.5,.6,.45,1.45);
}
@keyframes cookieSlideIn {
  from { transform: translateY(120%); opacity: 0.5; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner strong {
  color: #E4E7EB;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 24px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  margin-right: 4px;
  transition: background 0.14s, color 0.14s, transform 0.12s;
}
.cookie-btn.accept {
  background: #009688;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #00BFAE;
  color: #fff;
  transform: translateY(-1px);
}
.cookie-btn.reject {
  background: #E4E7EB;
  color: #17415A;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #DA3441;
  color: #fff;
  transform: translateY(-1px);
}
.cookie-btn.settings {
  background: transparent;
  color: #009688;
  border: 2px solid #009688;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #009688;
  color: #fff;
}

/**************************
 * COOKIE MODAL DIALOG
 **************************/
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(23,65,90,0.86);
  color: #17415A;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1111;
  animation: modalSlideIn 380ms cubic-bezier(.46,.8,.49,1.38);
}
@keyframes modalSlideIn {
  from{opacity:0;transform:scale(0.98);} to{opacity:1;transform:scale(1);}
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 20px;
  max-width: 400px;
  width: 95%;
  padding: 36px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 8px 38px rgba(0,150,136,0.11);
  position: relative;
  border: 4px solid #E4E7EB;
}
.cookie-modal-dialog h2 {
  color: #17415A;
  font-size: 1.25rem;
  margin-bottom: 5px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F6F8FA;
  border-radius: 8px;
  padding: 13px 12px;
}
.cookie-category label {
  flex: 1;
  font-size: 1em;
  color: #17415A;
}
.cookie-category input[type=checkbox] {
  accent-color: #009688;
}
.cookie-category.essential input[type=checkbox] {
  accent-color: #17415A;
}
.cookie-category .cookie-always-on {
  font-size: 0.92em;
  color: #009688;
  margin-left: 8px;
  font-weight: 700;
}
.cookie-modal .close {
  position: absolute;
  top: 9px;
  right: 14px;
  background: transparent;
  color: #17415A;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: color 0.14s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: #009688;
}
/* Cookie Modal Buttons */
.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.cookie-modal-buttons .cookie-btn {
  min-width: 100px;
}

/******************
 * RESPONSIVE DESIGN (MEDIA QUERIES) MOBILE FIRST
 ******************/
@media (max-width: 1025px) {
  .container { max-width: 98vw; }
  header .container, footer .container {
    flex-wrap: wrap;
    gap: 18px;
  }
  .features-grid, .service-item-cards, .team-members-grid, .training-types-grid, .analytics-list, .stats-counters, .impact-metrics {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none !important;
  }
  .cta-header {
    display: none;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  .container, .section {
    padding-left: 11px !important;
    padding-right: 11px !important;
  }
  .section {
    padding-left: 0 !important; padding-right: 0 !important;
    margin-bottom: 42px;
  }
  .content-wrapper { gap: 14px; }

  .features-grid, .service-item-cards, .team-members-grid, .training-types-grid, .analytics-list, .stats-counters, .impact-metrics, .stats-highlights {
    flex-direction: column;
    gap: 13px;
  }
  .feature-item, .service-card, .team-member, .training-type, .analytics-feature, .stat, .impact-metrics > div, .stats-highlights > p {
    min-width: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .testimonial-card, .success-case {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 9px;
  }
  .footer-nav, .footer-contact, .footer-social {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-contact img {
    height: 40px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  header img {
    height: 32px !important;
  }
  .cookie-banner {
    padding: 13px 5px;
    font-size: 0.95em;
    bottom: 0;
  }
  .cookie-banner-buttons {
    flex-direction: column;
    gap: 9px;
  }
}

/**************
 * ANIMATIONS & MICRO-INTERACTIONS
 **************/
.card, .service-card, .team-member, .feature-item, .testimonial-card, .training-type, .analytics-feature {
  transition: box-shadow 0.19s, border-color 0.18s, background 0.17s, transform 0.19s;
}
.card:active, .service-card:active, .feature-item:active, .team-member:active, .testimonial-card:active {
  transform: scale(0.99);
}

/*****************
 * SECTION AUTO-SPACING FOR PAGES
 *****************/
section:not(:last-child) {
  margin-bottom: 60px;
}

/*****************
 * Z-INDEX & OVERLAP SAFETY
 *****************/
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 1000;
}

/* END LucidCash Beratung Geometric Structured CSS */
