/* --- CSS RESET & BASE --- */
html { box-sizing: border-box; font-size: 16px; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #19324F;
  background: #F6F7F9;
  min-height: 100vh;
  line-height: 1.6;
  /* Prevent text size adjust on mobile */
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; border: 0; display:block; }

/* Typography: Modern_Bold */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  color: #19324F;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, ul, ol, li, a, span, strong { font-weight: 400; }
p { font-size: 1rem; margin-bottom: 18px; }
strong { font-weight: 700; }
ul, ol { padding-left: 22px; margin-bottom: 18px; }
li {
  margin-bottom: 10px;
  font-size: 1rem;
}
a { color: #3FA1C0; text-decoration: none; transition: color 0.2s; }
a:hover,
a:focus { color: #19324F; text-decoration: underline; }

/* --- LAYOUT CONTAINERS & SPACING --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* MANDATORY SPACING AND ALIGNMENT */
.section { margin-bottom: 60px; padding: 40px 20px; background: none; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; box-shadow: 0 2px 12px 0 rgba(25,50,79,0.06); border-radius: 16px; padding: 24px; background: #fff; }
.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; background: #fff; border-radius: 16px; box-shadow: 0 4px 16px 0 rgba(25, 50, 79, 0.09); min-width: 280px; margin-bottom: 20px; border-left: 8px solid #3FA1C0; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* --- HEADER --- */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(25,50,79,0.07);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #19324F;
  position: relative;
  padding: 6px 8px;
}
header nav a:hover, header nav a:focus {
  color: #3FA1C0;
}
.cta-primary {
  background: #3FA1C0;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 32px;
  transition: background 0.22s, transform 0.18s;
  box-shadow: 0 2px 12px rgba(63,161,192,0.09);
  border: none;
  display: inline-block;
  text-align: center;
  margin-left: 28px;
}
.cta-primary:hover,.cta-primary:focus {
  background: #19324F;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.cta-secondary {
  background: transparent;
  color: #3FA1C0;
  border: 2px solid #3FA1C0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 32px;
  transition: color 0.18s, background 0.22s;
  display: inline-block;
  text-align: center;
}
.cta-secondary:hover,.cta-secondary:focus {
  background: #3FA1C0;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #19324F;
  cursor: pointer;
  margin-left: 20px;
  z-index: 101;
  transition: color 0.15s;
}
.mobile-menu-toggle:hover { color: #3FA1C0; }

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25, 50, 79, 0.92);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.86,0,0.07,1);
  z-index: 120;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin: 22px 24px 0 0;
  cursor: pointer;
  z-index: 121;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin: 40px 32px 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #fff;
  font-size: 1.35rem;
  padding: 10px 0;
  transition: color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #3FA1C0;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(90deg,#3FA1C0 10%,#F6F7F9 100%);
  padding: 60px 0 50px 0;
}
.hero h1 {
  color: #19324F;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 18px;
}
.hero p {
  color: #19324F;
  font-size: 1.1rem;
  margin-bottom: 28px;
}

/* --- FEATURE/INDUSTRY/SERVICE GRIDS --- */
.feature-grid, .industry-grid, .service-grid, .case-overview-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 12px;
  justify-content: flex-start;
}
.feature, .industry, .service, .case-study {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(25,50,79,0.07);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature:hover, .industry:hover, .service:hover, .case-study:hover {
  box-shadow: 0 8px 28px rgba(25,50,79,0.17);
  transform: translateY(-4px) scale(1.03);
}
.feature img, .industry img, .service img, .case-study img {
  width: 48px;
  margin-bottom: 12px;
}
.feature h3, .industry h3, .service h3, .case-study h3 {
  font-size: 1.15rem;
  color: #3FA1C0;
  font-weight: 800;
}
.feature p, .industry p, .service p, .case-study p {
  color: #19324F;
}

/* --- TEAM LIST --- */
.team-list {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.team-member {
  background: #F6F7F9;
  border-radius: 16px;
  padding: 20px 18px;
  flex: 1 1 220px;
  box-shadow: 0 1px 7px rgba(25,50,79,0.05);
  min-width: 200px;
}
.team-member h3 { color: #19324F; font-size: 1.08rem; }
.team-member p { font-size: 0.96rem; }

/* --- TESTIMONIALS --- */
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 12px;
}
.testimonial-card {
  font-size: 1rem;
  color: #1b2637;
  background: #fff;
  box-shadow: 0 4px 16px rgba(25, 50, 79, 0.095);
  border-radius: 16px;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  border-left: 8px solid #3FA1C0;
  min-width: 240px;
  max-width: 340px;
  padding: 26px 22px 20px 22px;
}
.testimonial-card strong {
  color: #19324F;
  margin-top: 10px;
  display: block;
  font-weight: 800;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ENSURE DARK TEXT ON LIGHT BG */
.testimonial-card p,
.testimonial-card strong { color: #143153; }

/* --- CTA BANNER --- */
.cta-banner {
  background: #19324F;
  color: #fff;
  border-radius: 32px;
  margin: 60px 0 0 0;
  padding: 50px 20px;
  box-shadow: 0 4px 16px rgba(25,50,79,0.14);
}
.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
}
.cta-banner p { color: #fff; margin-bottom: 32px; }

/* --- BLOG POSTS LIST --- */
.blog-posts-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.blog-posts-list article {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(25,50,79,0.07);
  padding: 24px 22px 20px 22px;
  transition: box-shadow 0.17s;
}
.blog-posts-list article:hover { box-shadow: 0 8px 18px rgba(25,50,79,0.13); }
.blog-posts-list h3 { margin-bottom: 7px; }
.blog-posts-list div { color: #6a809a; margin-bottom: 13px; font-size: 0.93rem; }

/* --- Footer --- */
footer section {
  margin-top: 0;
  padding: 40px 20px 24px 20px;
  background: #19324F;
  color: #fff;
  border-radius: 24px 24px 0 0;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
footer nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 8px; justify-content: center; }
footer nav a { color: #3FA1C0; font-weight: 700; font-size: 1rem; text-decoration: underline; }
footer nav a:hover { color: #fff; }
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  color: #dfecf4;
  font-size: 0.9rem;
}
.footer-contact-info img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin: 0 6px 0 0;
}
.social-icons { display: flex; gap: 16px; margin-bottom: 5px; }
.social-icons img {
  width: 30px;
  height: 30px;
  filter: grayscale(0) brightness(1.1);
  transition: filter 0.19s, transform 0.16s;
}
.social-icons img:hover {
  transform: scale(1.12);
  filter: brightness(1.9) saturate(2);
}
footer p { color: #becbe2; font-size: 0.95rem; }

/* --- MAP SNIPPET in Kontakt --- */
.map-snippet {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(25,50,79,0.07);
  margin-top: 14px;
}
.map-snippet img { width: 54px; }

/* --- CONTENT DETAILS --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.contact-details img { width: 19px; margin-right: 7px; vertical-align: middle; }

/* --- CASE OVERVIEW --- */
.case-overview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.case-study { flex: 1 1 320px; min-width: 260px; }
.case-study h3 { color: #3FA1C0; margin-bottom: 9px; }

/* --- Animations & Effects --- */
.card, .feature, .industry, .service, .team-member, .case-study, .testimonial-card, .blog-posts-list article {
  transition: box-shadow 0.17s, transform 0.18s;
}
.card:hover, .feature:hover, .industry:hover, .service:hover, .case-study:hover, .team-member:hover {
  box-shadow: 0 8px 22px rgba(63,161,192,0.14);
  transform: translateY(-3px) scale(1.04);
}

/* --- Cookie Consent Banner (fixed bottom) --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(25,50,79,0.12);
  padding: 18px 22px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  z-index: 150;
  justify-content: space-between;
  border-radius: 16px 16px 0 0;
  font-size: 1rem;
  transition: transform 0.35s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
}
.cookie-buttons {
  display: flex;
  gap: 18px;
}
.cookie-consent-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  transition: background 0.20s, color 0.19s;
}
.cookie-consent-banner .accept {
  background: #3FA1C0;
  color: #fff;
}
.cookie-consent-banner .accept:hover { background: #19324F; }
.cookie-consent-banner .reject {
  background: transparent;
  color: #FF3947;
  border: 2px solid #FF3947;
}
.cookie-consent-banner .reject:hover { background: #FF3947; color: #fff; }
.cookie-consent-banner .settings {
  background: transparent;
  color: #3FA1C0;
  border: 2px solid #3FA1C0;
}
.cookie-consent-banner .settings:hover { background: #3FA1C0; color: #fff; }

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(25,50,79, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  padding: 34px 32px;
  max-width: 410px;
  width: 95%;
  box-shadow: 0 8px 24px rgba(25,50,79,0.17);
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1rem;
  position: relative;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 16px;
  top: 18px;
  background: transparent;
  border: none;
  color: #19324F;
  font-size: 1.7rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #19324F;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 8px 0;
}
.cookie-modal .cookie-category strong { color: #3FA1C0; font-size: 1rem; }
.cookie-modal .toggle {
  width: 42px; height: 24px; position: relative; display: inline-block;
}
.cookie-modal .toggle input { opacity: 0; width: 0; height: 0; }
.cookie-modal .slider {
  position: absolute;
  cursor: pointer; left: 0; top: 0; right: 0; bottom: 0;
  background: #cad4de;
  border-radius: 22px;
  transition: background .23s;
}
.cookie-modal .toggle input:checked + .slider { background: #3FA1C0; }
.cookie-modal .slider:before {
  position: absolute; content: "";
  height: 18px; width: 18px;
  left: 2px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .23s;
}
.cookie-modal .toggle input:checked + .slider:before {
  transform: translateX(18px);
}
.cookie-modal .category-desc {
  color: #6a809a;
  font-size: 0.95rem;
  margin-top: 1px;
}
.cookie-modal .cookie-category.essential .slider {
  background: #e1e1e1;
}
.cookie-modal .cookie-category.essential .toggle {
  pointer-events: none;
}
.cookie-modal .actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal .actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  transition: background 0.20s;
}
.cookie-modal .actions .save {
  background: #3FA1C0;
  color: #fff;
}
.cookie-modal .actions .save:hover {
  background: #19324F;
}
.cookie-modal .actions .cancel {
  background: transparent;
  color: #19324F;
  border: 2px solid #19324F;
}
.cookie-modal .actions .cancel:hover {
  background: #19324F;
  color: #fff;
}

/* --- RESPONSIVE DESIGN (Mobile First) --- */
@media (max-width: 1024px) {
  .feature-grid,
  .industry-grid,
  .service-grid,
  .case-overview-grid {
    gap: 18px;
  }
  .card-container, .team-list {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .footer-contact-info { align-items: center; }
  .case-study, .feature, .industry, .service { flex-basis: 320px; min-width: 220px; }
}
@media (max-width: 768px) {
  .container { padding-left: 12px; padding-right: 12px; }
  header .container { height: 64px; }
  header nav {
    display: none;
  }
  .cta-primary {
    margin-left: 8px;
    font-size: 0.97rem;
    padding: 11px 15px;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .feature-grid, .industry-grid, .service-grid, .case-overview-grid {
    flex-direction: column;
    gap: 18px;
  }
  .case-study, .feature, .industry, .service { min-width: 0; }
  .team-list {
    flex-direction: column;
    gap: 14px;
  }
  .content-wrapper, .footer .content-wrapper {
    gap: 18px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 15px;
  }
  .section { padding: 22px 8px; margin-bottom: 36px; }
  .cta-banner {
    padding: 28px 10px;
    border-radius: 22px;
  }
  .testimonial-card, .blog-posts-list article, .card {
    padding: 15px 11px;
  }
  .map-snippet { flex-direction: column; gap: 8px; }
  .footer .content-wrapper { gap: 13px; }
}
@media (max-width: 568px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  .hero { padding: 36px 0 28px 0; }
  .cta-banner { font-size: 1.01rem; }
  footer section { padding: 19px 6px 13px 6px; border-radius: 10px 10px 0 0; }
  .cookie-consent-banner { flex-direction: column; gap: 14px; align-items: flex-start; padding: 14px 8px; }
}

/* --- UTILITY CLASSES (for spacing if needed) --- */
.mb20 { margin-bottom: 20px !important; }
.mb40 { margin-bottom: 40px !important; }
.mt20 { margin-top: 20px !important; }

/* --- Misc helpers --- */
::-webkit-input-placeholder { color: #a7b3c7; }
::-moz-placeholder { color: #a7b3c7; }
:-ms-input-placeholder { color: #a7b3c7; }
::placeholder { color: #a7b3c7; }

/* --- Modal and overlay basic animation --- */
.cookie-modal { animation: fadeInScale .30s cubic-bezier(0.33,1,0.68,1); }
@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.88); }
  100% { opacity: 1; transform: scale(1); }
}

/* --- Hide visually but keep for accessiblity --- */
.sr-only { position: absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; border:0!important; }

/* --- END OF CSS --- */
