/* =============================================================
   Misty Money Übersetzungen – TECH_FUTURISTIC CSS
   Responsive, flexbox-only, brand-compliant, modern, accessible
   Brand colors: #15243E (primary), #6FB1C7 (secondary), #F8F9FD (accent)
   Fonts: "Montserrat", Arial
============================================================= */
/* RESET & BASELINE NORMALIZATION */
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, main, 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 {
  background: #101624;
  font-family: Arial, 'Montserrat', sans-serif;
  color: #F8F9FD;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  scroll-behavior: smooth;
}
img { max-width: 100%; display: block; height: auto; }
a { color: #6FB1C7; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #fff; text-shadow: 0 0 2px #6FB1C7, 0 0 8px #6FB1C7; outline: none; }
ul, ol { margin-left: 24px; margin-bottom: 18px; }
strong, b { font-weight: bold; }

/* -------------------------
   TYPOGRAPHY
   ------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #F8F9FD;
  letter-spacing: 0.01em;
  line-height: 1.13;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.125rem; margin-bottom: 12px; }
p, li {
  font-family: Arial, 'Montserrat', sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}

/* -------------------------
   LAYOUT CONTAINERS & FLEXBOX
------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Flexbox utility layouts, enforced, NO GRID */
.feature-grid, .service-grid, .industry-list, .testimonial-slider, .customer-logos, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card-container { gap: 24px; margin-bottom: 24px; }
.card { margin-bottom: 20px; position: relative; background: #182c52; border-radius: 18px; box-shadow: 0 8px 32px rgba(40,86,134,0.08); }
.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-slider { gap: 24px; }
.testimonial-card {
  background: #F8F9FD;
  color: #15243E;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(21,36,62,0.10), 0 0 0 2px #6FB1C726;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 225px;
  min-height: 160px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover { box-shadow: 0 4px 32px 0 #6FB1C7a6; transform: translateY(-3px) scale(1.025); }
.feature-item, .industry-item, .service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #15243E;
  border: 1px solid #233a5e;
  border-radius: 16px;
  padding: 24px 20px 20px 20px;
  box-shadow: 0 1px 16px 0 #6FB1C72a;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 200px;
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
.feature-item img, .industry-item img {
  height: 38px; width:38px; filter: drop-shadow(0 2px 6px #6FB1C770);
  margin-bottom: 8px;
}
.feature-item:hover, .industry-item:hover, .service-item:hover {
  border-color: #6FB1C7;
  box-shadow: 0 4px 32px 0 #6FB1C7;
  background: #1b3656;
}
.service-item h3, .feature-item h3, .industry-item h3 {
  color: #6FB1C7;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.customer-logos {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
  justify-content: flex-start;
  margin: 28px 0 0 0;
  flex-wrap: wrap;
}
.customer-logos img {
  height: 48px;
  filter: grayscale(1) brightness(1.3) drop-shadow(0 0 10px #6FB1C770);
  opacity: 0.8;
  transition: filter 0.2s, opacity 0.2s;
}
.customer-logos img:hover { filter: grayscale(0) brightness(1.08) drop-shadow(0 0 12px #6FB1C7cc); opacity: 1; }

/* ---------------------
   HERO SECTION
--------------------- */
.hero-section {
  background: linear-gradient(135deg, #15243E 77%, #6FB1C7 100%);
  border-bottom: 4px solid #162f53;
  padding: 60px 0 50px 0;
  margin-bottom: 60px;
}
.hero-section h1 {
  font-size: 2rem;
  color: #F8F9FD;
  margin-bottom: 20px;
  text-shadow: 0 6px 32px #1b365680;
}
.hero-section p {
  font-size: 1.14rem;
  margin-bottom: 24px;
  color: #CBD3EF;
}
.hero-section .btn { margin-top: 12px; }

/* ---------------------
   BUTTONS & INTERACTIONS
--------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 25px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 11px 30px;
  background: #6FB1C7;
  color: #15243E;
  cursor: pointer;
  box-shadow: 0 4px 24px #6FB1C728, 0 0 0 2px #6FB1C730;
  text-transform: none;
  letter-spacing: 0.04em;
  transition: background 0.18s, color 0.18s, transform 0.15s, box-shadow 0.18s;
  margin-bottom: 12px;
  outline: none;
  position: relative;
  z-index: 1;
}
.btn.btn-primary {
  background: #6FB1C7;
  color: #15243E;
  border: none;
}
.btn:focus, .btn:hover {
  background: #F8F9FD;
  color: #15243E;
  transform: scale(1.045);
  box-shadow: 0 8px 32px 0 #6FB1C7cc, 0 0 0 2px #6FB1C7;
}

/* Links in nav */
.main-nav a, .footer-nav a, .mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 1rem;
  color: #F8F9FD;
  padding: 10px 16px;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s, box-shadow 0.20s;
  margin: 0 2px 0 0;
}
.main-nav a:hover, .footer-nav a:hover, .main-nav a:focus, .footer-nav a:focus {
  background: #162f53;
  color: #6FB1C7;
  box-shadow: 0 0 6px #6FB1C770;
  outline: none;
}
.mobile-nav a {
  display: block;
  width: 100%;
  color: #6FB1C7;
  font-size: 1.16rem;
  margin-bottom: 3px;
  padding: 14px 0 14px 20px;
  border-radius: 0 25px 25px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #22395a;
}

/* ---------------------
   TABLE STYLES
--------------------- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
  margin-top: 12px;
  background: #182c52;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 16px 0 #6FB1C72a;
}
.pricing-table th, .pricing-table td {
  padding: 18px 10px;
  border-bottom: 1px solid #22395a;
  font-size: 1rem;
}
.pricing-table th {
  background: #1b3656;
  color: #6FB1C7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table td {
  color: #F8F9FD;
}

/* ---------------------
   FOOTER
--------------------- */
footer {
  background: #15243E;
  color: #F8F9FD;
  padding: 42px 0 18px 0;
  margin-top: 70px;
  border-top: 4px solid #6FB1C7;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 23px;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  font-size: 0.97rem;
  margin-bottom: 18px;
  color: #CBD3EF;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-contact img { height: 16px; width: 16px; filter: grayscale(1) opacity(0.9); }
.footer-copy {
  color: #6FB1C7;
  font-size: 0.87rem;
  margin-top: 16px;
}

/* ---------------------
   COOKIE CONSENT BANNER
--------------------- */
.cookie-consent-banner {
  position: fixed;
  z-index: 9999;
  bottom: 0; left: 0; right: 0;
  background: #22395a;
  color: #F8F9FD;
  box-shadow: 0 -2px 32px #0006;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 22px 10px 22px 10px;
  font-size: 1rem;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.cookie-consent-banner.hide { transform: translateY(110%); }
.cookie-consent-banner .cookie-btn {
  margin-left: 15px;
  font-size: 1rem;
  border-radius: 20px;
  padding: 8px 20px;
  background: #6FB1C7;
  color: #15243E;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.15s;
}
.cookie-consent-banner .cookie-btn.cookie-settings {
  background: #22395a;
  color: #6FB1C7;
  border: 1.5px solid #6FB1C7;
}
.cookie-consent-banner .cookie-btn:hover, .cookie-btn:focus {
  background: #F8F9FD;
  color: #15243E;
  outline: none;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: #101624d9;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
  opacity: 1;
  transition: opacity 0.3s;
}
.cookie-modal {
  background: #162f53;
  color: #F8F9FD;
  border-radius: 20px;
  max-width: 95vw;
  min-width: 320px;
  width: 420px;
  padding: 42px 32px 26px 32px;
  box-shadow: 0 2px 48px 0 #6FB1C7cc;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.cookie-modal h2 {
  color: #6FB1C7;
  font-size: 1.23rem;
  margin-bottom: 6px;
}
.cookie-cat-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 22px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-cat .cat-label {
  color: #F8F9FD;
  font-weight: 500;
}
.cookie-cat input[type=checkbox] { accent-color: #6FB1C7; width: 16px; height: 16px; }
.cookie-cat.disabled .cat-label {
  opacity: 0.7;
  text-decoration: line-through;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute; top: 12px; right: 16px;
  background: transparent;
  border: none;
  color: #6FB1C7;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------------------
   MOBILE MENU
--------------------- */
.mobile-menu-toggle {
  display: flex;
  position: absolute;
  top: 24px;
  right: 26px;
  z-index: 100;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: #6FB1C7;
  cursor: pointer;
  padding: 6px;
  transition: color 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #fff;
  outline: none;
}
.mobile-menu {
  position: fixed;
  z-index: 10000;
  top: 0; right: 0; left: 0; bottom: 0;
  background: #182c52f5;
  box-shadow: -1px 0 24px #15243Ef0;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.33s cubic-bezier(0.49,1.5,0.45,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  position: absolute; right: 18px; top: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #6FB1C7;
  cursor: pointer;
  z-index: 2;
  transition: color 0.13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover { color: #fff; outline: none; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0px;
  padding: 90px 0 0 0;
  overflow-y: auto;
  width: 100%;
  height: 100vh;
  background: transparent;
}

@media (min-width: 1060px) {
  .container { padding-left: 40px; padding-right: 40px; }
}
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .footer-contact { flex-direction: column; gap: 6px; }
  .footer-nav { flex-direction: column; gap: 6px; }
  .hero-section { padding: 40px 0 38px 0; }
  .section { padding: 24px 10px; }
  .testimonial-slider, .feature-grid, .industry-list, .service-grid, .customer-logos {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card { min-width: 0; }
  .feature-item, .industry-item, .service-item { min-width: 0; width: 100%; }
  .content-grid { flex-direction: column; gap: 18px; }
  .text-image-section { flex-direction: column; gap: 18px; }
}
@media (max-width: 782px), (max-width: 1100px) {
  .main-nav, .footer-nav { flex-wrap: wrap; }
}

/* Hide main nav, show burger on mobile */
@media (max-width: 950px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
@media (min-width: 951px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
    flex-direction: row;
    gap: 10px;
  }
}

/* ---------------------
   CTAs, CARDS, SECTIONS
--------------------- */
.cta-section {
  background: #15243E;
  border-radius: 28px;
  margin: 50px 0 0 0;
  box-shadow: 0 4px 32px 0 #6FB1C760;
  padding: 44px 0;
  text-align: center;
}
.cta-section h2 { color: #6FB1C7; }
.cta-section .btn { margin: 23px auto 0 auto; }

.card, .service-item, .feature-item, .industry-item {
  border-radius: 18px;
}

/* Lists */
ul.service-list {
  margin-bottom: 0;
}
ul.service-list li {
  padding-left: 0;
  margin-bottom: 10px;
}

/* Map Embed (Kontaktseite) */
.map-embed {
  background: #1b3656;
  color: #F8F9FD;
  border-radius: 13px;
  font-size: 1rem;
  padding: 16px 18px;
  margin: 20px 0 0 0;
  box-shadow: 0 1px 12px #6FB1C720;
}

/* Case study snippets on Branchen */
.case-study-snippet {
  background: #22395a;
  border-left: 5px solid #6FB1C7;
  border-radius: 9px;
  padding: 18px 16px 12px 16px;
  margin-bottom: 20px;
  color: #F8F9FD;
  box-shadow: 0 2px 10px #22395a33;
}

/* Thank you section */
.thank-you {
  background: linear-gradient(135deg, #6FB1C7 20%, #15243E 90%);
  border-radius: 24px;
  color: #F8F9FD;
  box-shadow: 0 4px 40px #15243E33;
  padding: 40px 0;
}
.thank-you h1 { color: #F8F9FD; }
.thank-you ul { color: #F8F9FD; }

/* ---------------------
   TEXT SECTIONS
--------------------- */
.text-section {
  margin-bottom: 26px;
}
.text-section ul li {
  padding-left: 0;
  margin-bottom: 8px;
}
.text-section h3 { color: #6FB1C7; }

/* ---------------------
   ANIMATIONS & MICROINTERACTIONS
--------------------- */
.btn, .feature-item, .industry-item, .service-item, .testimonial-card {
  transition: box-shadow .2s, background .21s, color .18s, border-color .2s, transform .16s;
}
.btn:active, .feature-item:active, .industry-item:active, .service-item:active, .testimonial-card:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px 0 #15243E33;
}

/* Slide-in on mobile menu */
.mobile-menu {
  transition: transform 0.32s cubic-bezier(0.4,1.3,0.6,1);
}
.mobile-menu.open { box-shadow: -1px 0 40px #15243E; }

/* Cookie modal fade */
.cookie-modal-overlay {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  pointer-events: none;
  opacity: 0;
}

/* --------------
   MISC CLEANUP
-------------- */
::-webkit-scrollbar {
  width: 9px; background: #15243E;
}
::-webkit-scrollbar-thumb {
  background: #22395a;
  border-radius: 16px;
  border: 1.5px solid #101624;
}

/* Hide non-active features if needed */
[hidden] { display: none !important; }

/* Utility: visually hidden */
.visually-hidden {
  position: absolute !important;
  clip: rect(0,0,0,0); width: 1px; height: 1px;
  margin: -1px; overflow: hidden; border: 0; padding: 0;
}

/* Ensure no content card overlapping (forbidden: absolute pos for content) */
/* Only decorative absolute used in selectors above */

/* ============== END ============== */
