/* 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 {
  height: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  color: #23394D;
  background: #F5F7FA;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #22405A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #41A7B3;
  outline: none;
}
ul, ol {
  margin-left: 24px;
}
strong { font-weight: bold; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22405A;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.18;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  font-weight: 600;
  color: #25547A;
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #23394D;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* HEADER & NAVIGATION */
header {
  padding: 0;
  background: #ffffff;
  box-shadow: 0 2px 10px 0 rgba(34, 64, 90, 0.04);
  border-bottom: 1px solid #E0E6EA;
  position: relative;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
header a img {
  height: 44px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #22405A;
  padding: 8px 2px;
  border-radius: 2px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
header nav a:hover,
header nav a:focus {
  color: #41A7B3;
  background: #F5F7FA;
}
header .btn-primary {
  margin-left: 30px;
  min-width: 160px;
}

/* MAIN LAYOUT SECTIONS */
.section,
main section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 24px 0 rgba(34,64,90,0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero {
  background: #f5f7fa;
  padding: 64px 0 56px 0;
  border-radius: 0 0 24px 24px;
  box-shadow: none;
}
.hero .container {
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #22405A;
}
.hero p {
  margin-bottom: 36px;
  max-width: 520px;
}

.features {
  background: #fff;
}
.features h2 {
  margin-bottom: 18px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 230px;
  min-width: 220px;
  background: #F5F7FA;
  border-radius: 10px;
  padding: 24px 16px 18px 16px;
  box-shadow: 0 1px 10px 0 rgba(34,64,90,0.05);
  transition: box-shadow 0.18s;
  border: 1px solid #E1E7EE;
}
.feature-item:hover {
  box-shadow: 0 6px 24px 0 rgba(34,64,90,0.14);
}
.feature-item img {
  width: 36px;
  height: 36px;
}
.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* SERVICES-INTRO / USP */
.services-intro ul, .usp ul {
  margin-top: 0;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #22405A;
}
.services-intro li, .usp li {
  font-size: 1rem;
  line-height: 1.5;
  list-style-type: disc;
}
.usp img {
  vertical-align: middle;
  margin-right: 8px;
}

/* TESTIMONIALS */
.testimonials, .testimonial-cards {
  background: #F5F7FA;
  box-shadow: none;
}
.testimonials h2 {
  margin-bottom: 26px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #FFFFFF;
  padding: 20px 26px 16px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px 0 rgba(34,64,90,0.09);
  border-radius: 10px;
  border: 1px solid #E6EEF5;
  max-width: 650px;
  transition: box-shadow 0.18s;
  color: #23394D;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #22405A;
}
.testimonial-card .testimonial-meta {
  font-size: 0.95rem;
  color: #41A7B3;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  gap: 8px;
  align-items: center;
}

/* CTA BUTTONS */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.17s, color 0.17s, box-shadow 0.13s, transform 0.1s;
  box-shadow: 0 1px 8px 0 rgba(65,167,179,0.07);
  margin-top: 16px;
}
.btn-primary {
  background: #22405A;
  color: #fff;
  border: 1.5px solid #22405A;
}
.btn-primary:hover, .btn-primary:focus {
  background: #27648A;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(34,64,90,0.16);
  transform: translateY(-1px) scale(1.01);
}
.btn-secondary {
  background: #41A7B3;
  color: #fff;
  border: 1.5px solid #41A7B3;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #22405A;
}

/* TABLES (for Preise) */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  margin-bottom: 20px;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 2px 10px 0 rgba(34,64,90,0.05);
}
thead {
  background: #22405A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
}
th, td {
  text-align: left;
  padding: 13px 14px;
  font-size: 1rem;
  border-bottom: 1px solid #E5EBF1;
}
th {
  font-weight: bold;
  letter-spacing: 0.03em;
}
tbody tr:nth-child(odd) {
  background: #F5F7FA;
}
tbody tr:hover {
  background: #e2eef6;
}

/* CASE STUDY CARDS (Referenzen) */
.case-study-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.case-study-card {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 10px 0 rgba(34,64,90,0.08);
  padding: 20px 22px;
  margin-bottom: 20px;
  flex: 1 1 300px;
  min-width: 260px;
  transition: box-shadow 0.16s;
  border: 1px solid #E0E6EA;
}
.case-study-card:hover {
  box-shadow: 0 6px 24px 0 rgba(65,167,179,0.17);
}
.case-study-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: #22405A;
}

/* FOOTER */
footer {
  background: #22405A;
  color: #fff;
  padding: 38px 0 0 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 22px;
}
footer a {
  color: #fff;
  opacity: 0.93;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-right: 16px;
}
footer a:hover, footer a:focus {
  color: #41A7B3;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 8px;
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1rem;
  margin: 18px 0;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-details img {
  width: 20px;
  height: 20px;
  margin-right: 2px;
}

/* FAQ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-accordion h2 {
  font-size: 1.11rem;
  color: #25547A;
  cursor: pointer;
  margin-bottom: 2px;
  transition: color 0.17s;
}
.faq-accordion h2:hover { color: #41A7B3; }
.faq-accordion p {
  margin-left: 4px;
  margin-bottom: 12px;
}

/* CONTACT INFO for FAQ page */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.98rem;
  color: #22405A;
  margin-bottom: 10px;
}
.contact-info img {
  width: 18px;
  height: 18px;
  margin-right: 4px;
}

/* GENERIC FLEXBOX UTILS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(34,64,90,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;
  margin-bottom: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CTA SECTION SPECIAL */
.cta {
  text-align: center;
  background: #22405A;
  color: #fff;
  border-radius: 18px;
  padding: 48px 22px 48px 22px;
  box-shadow: 0 3px 18px 0 rgba(65,167,179, 0.13);
}
.cta h2 { color: #fff; }
.cta p { color: #F5F7FA; margin-bottom: 32px; }
.cta .btn-primary {
  background: #41A7B3;
  border: none;
  color: #fff;
}
.cta .btn-primary:hover {
  background: #1f374c;
}

/*-----------------
  MOBILE NAVIGATION
------------------*/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 105;
  background: #fff;
  color: #22405A;
  border: none;
  border-radius: 7px;
  font-size: 2rem;
  padding: 8px 13px;
  box-shadow: 0 2px 10px 0 rgba(65,167,179,0.13);
  cursor: pointer;
  transition: background 0.14s, color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #e8f4fa;
  color: #41A7B3;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #22405A;
  z-index: 107;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.55,0,.1,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  box-shadow: 0 0 0 10000px rgba(34,62,90,0.15);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 22px 0 0 20px;
  font-size: 2.1rem;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #41A7B3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: 40px;
  margin-top: 36px;
  width: 80vw;
}
.mobile-nav a {
  color: #F5F7FA;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 13px 0;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.14s, color 0.20s;
  display: block;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #41A7B3;
  background: #1b3246;
}

/* Hide nav and enable burger on mobile */
@media (max-width: 991px) {
  header nav,
  header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/*--------------------
  COOKIE CONSENT BANNER
---------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #22405A;
  color: #fff;
  padding: 30px 16px 22px 16px;
  z-index: 1100;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -2px 18px 0 rgba(34,64,90,0.18);
  animation: cookie-slide-up 0.29s;
}
@keyframes cookie-slide-up {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  margin: 0;
  font-size: 1rem;
  flex: 1 1 auto;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  margin: 0 2px;
  transition: background 0.18s, color 0.16s, box-shadow 0.11s;
}
.cookie-banner .accept {
  background: #41A7B3;
  color: #fff;
  box-shadow: 0 1px 8px 0 rgba(65,167,179,0.09);
  border: none;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #3189a0;
}
.cookie-banner .reject {
  background: #fff;
  color: #22405A;
  border: 1.5px solid #dfeaff;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #daedf2;
}
.cookie-banner .settings {
  background: #fff;
  color: #21507a;
  border: 1.5px solid #41A7B3;
}
.cookie-banner .settings:hover { background: #e5f5fa; color: #22405A; }

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,64,90,.20);
  z-index: 1112;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.24s;
}
@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  padding: 40px 28px 32px 28px;
  box-shadow: 0 8px 32px 0 rgba(34,64,90,0.17);
  max-width: 430px;
  width: 94vw;
  color: #22405A;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: modal-pop-in 0.23s;
}
@keyframes modal-pop-in {
  0% { transform: scale(.93) translateY(24px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #22405A;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #41A7B3;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  color: #22405A;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #41A7B3;
  width: 22px; height: 22px;
}
.cookie-modal .cookie-category {
  margin-bottom: 16px;
}
.cookie-modal .category-title {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  margin-right: 6px;
  color: #21507a;
}
.cookie-modal .always-enabled {
  color: #aaa;
  font-size: .98rem;
  font-style: italic;
  margin-left: 6px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.cookie-modal .modal-actions button {
  font-family: inherit;
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 6px;
  background: #22405A;
  color: #fff;
  border: none;
  transition: background 0.18s;
  cursor: pointer; 
}
.cookie-modal .modal-actions button:hover {
  background: #41A7B3;
}

/* RESPONSIVE STYLES, MOBILE FIRST */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  .section, main section {
    padding: 28px 8px;
    margin-bottom: 40px;
    border-radius: 8px;
  }
  .hero {
    padding: 32px 0 24px 0;
    border-radius: 0 0 10px 10px;
  }
  .feature-grid,
  .case-study-cards {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    padding: 16px 10px;
    margin-bottom: 16px;
  }
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
    padding-bottom: 12px;
  }
  .cta {
    padding: 32px 10px;
    border-radius: 8px;
    font-size: 1rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.24rem; }
  .section, main section { padding: 14px 2px; }
  .cookie-banner { flex-direction: column; gap: 15px; padding: 15px 5px 11px 5px; }
  .cookie-banner .cookie-actions button {
    font-size: 0.93rem;
    padding: 8px 12px;
  }
  .cookie-modal {
    padding: 16px 9px 13px 9px;
    max-width: 97vw;
    min-width: 0;
  }
}

/* Z-INDEX & SHADOW LAYERS */
header { z-index: 50; }
.mobile-menu { z-index: 107; }
.cookie-banner { z-index: 1100; }
.cookie-modal-overlay { z-index: 1112; }

/* GENERAL UTILITIES */
.mt-8 { margin-top: 8px; }
.mb-8 { margin-bottom: 8px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }

/* DISABLE OUTLINES on mouse, but KEEP for keyboard user (accessibility) */
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid #41A7B3; outline-offset: 2px; }

/* ACCESSIBLE HIDE */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* SMOOTH TRANSITION UTILITY */
* {
  transition: background 0.15s, color 0.14s, box-shadow 0.13s;
}

/* End of CSS */