/* ==== CSS RESET & BASE ==== */
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 {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: #F6F7F9;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F6F7F9;
  color: #22313F;
  min-height: 100vh;
  font-size: 16px;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #0B3C5D;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
a {
  color: #0B3C5D;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #59A5D8;
  outline: none;
}
strong {
  font-weight: 700;
}
code, pre {
  background: #EFF3F6;
  border-radius: 6px;
  font-size: 90%;
  padding: 2px 6px;
}
::-webkit-input-placeholder { color: #7E8AA0; }
::-moz-placeholder          { color: #7E8AA0; }
:-ms-input-placeholder      { color: #7E8AA0; }
::placeholder              { color: #7E8AA0; }

/* ==== SPACING & FLEXBOX PATTERNS ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0px 2px 12px rgba(11,60,93,0.06);
  padding: 24px 22px 20px 22px;
  transition: box-shadow 0.2s;
  min-width: 260px;
}
.card:hover, .card:focus-within {
  box-shadow: 0px 8px 32px rgba(11,60,93,0.10);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 10px rgba(11,60,93,0.07);
  margin-bottom: 20px;
  min-width: 260px;
  border-left: 6px solid #59A5D8;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 24px rgba(11,60,93,0.11);
  border-left: 6px solid #0B3C5D;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== TYPOGRAPHY SYSTEM ==== */
.text-section {
  max-width: 720px;
  margin-bottom: 32px;
}
.text-section ul li {
  margin-bottom: 10px;
}
.text-section h3 {
  font-size: 1.1rem;
  color: #22313F;
  margin-top: 18px;
  margin-bottom: 8px;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: #fff;
  box-shadow: 0 1px 12px rgba(11,60,93,0.07);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
  margin-right: 10px;
}
.logo {
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial;
  font-weight: 500;
  font-size: 1rem;
  color: #0B3C5D;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2F2F2;
  color: #59A5D8;
}
.cta-btn {
  display: inline-block;
  background: #0B3C5D;
  color: #fff !important;
  padding: 12px 26px;
  border-radius: 24px;
  font-family: 'Montserrat', 'Roboto', Arial;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 12px rgba(11,60,93,.09);
  transition: background 0.13s, transform 0.13s, box-shadow 0.13s;
  border: none;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #59A5D8;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 24px rgba(11,60,93,.14);
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #0B3C5D;
  cursor: pointer;
  display: none;
  margin-left: 10px;
  padding: 4px 10px;
  border-radius: 7px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F2F2F2;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 32px 32px 26px;
  transition: transform .35s cubic-bezier(.5,.2,.3,1);
  box-shadow: 0 6px 50px 0 rgba(11,60,93,0.11);
  /* menu closed by default; add class .open with JS */
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #0B3C5D;
  cursor: pointer;
  margin-bottom: 24px;
  transition: color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #59A5D8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 10px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial;
  font-weight: 600;
  font-size: 1.16rem;
  color: #0B3C5D;
  background: #EFF3F6;
  border-radius: 9px;
  padding: 14px 18px;
  transition: background 0.15s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #59A5D8;
  color: #fff;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ==== HERO SECTION ==== */
.hero-section {
  padding: 60px 0 40px 0;
  background: #F2F2F2;
  box-sizing: border-box;
  margin-bottom: 30px;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: center;
}
.hero-section h1 {
  color: #0B3C5D;
  font-size: 2.4rem;
}
.hero-section p {
  font-size: 1.2rem;
  font-weight: 400;
  color: #22313F;
  margin-bottom: 1rem;
}

/* ==== FEATURE GRID (INDEX) ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.feature-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 14px rgba(11,60,93,0.08);
  padding: 28px 20px 22px 20px;
  flex: 1 1 260px;
  max-width: 340px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 20px;
  gap: 12px;
  border-left: 4px solid #59A5D8;
  transition: box-shadow 0.16s, border-color 0.13s;
}
.feature-card h3 {
  font-size: 1.18rem;
  color: #0B3C5D;
  margin-bottom: 7px;
}
.feature-card p {
  color: #3E5368;
  font-size: 1rem;
}
.feature-card img {
  height: 40px;
  width: 40px;
  margin-bottom: 5px;
}
.feature-card:hover, .feature-card:focus-within {
  box-shadow: 0 8px 32px rgba(11,60,93,0.13);
  border-left: 4px solid #0B3C5D;
}

/* ==== TESTIMONIALS ==== */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card p {
  color: #262E36;
  font-size: 1.08rem;
  font-style: italic;
  letter-spacing: 0.01em;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #1C2B36;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

/* ==== CASE STUDY (REFERENZEN) ==== */
.case-study-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.case-study {
  flex: 1 1 320px;
  max-width: 420px;
  min-width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 12px rgba(11,60,93,0.06);
  padding: 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.case-study h3 {
  font-size: 1.1rem;
  margin-bottom: 9px;
}
.case-study p {
  color: #2A3647;
  font-size: 1rem;
}

/* ==== FAQ ACCORDION ==== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 18px;
}
.faq-item {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 1px 10px rgba(11,60,93,0.08);
  padding: 18px 20px 14px 20px;
  margin-bottom: 4px;
  transition: box-shadow 0.15s;
}
.faq-item h3 {
  font-size: 1.11rem;
  color: #0B3C5D;
  margin-bottom: 6px;
}
.faq-item p {
  font-size: 1rem;
  color: #27344A;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 4px 18px rgba(11,60,93,.13);
}

/* ==== SERVICE LIST (LEISTUNGEN) ==== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.service-item {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 1px 14px rgba(11,60,93,0.08);
  padding: 22px 20px 18px 20px;
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 260px;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow 0.17s;
}
.service-item h3 {
  font-size: 1.1rem;
  color: #0B3C5D;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
  gap: 10px;
}
.service-item h3 span {
  font-size: .95rem;
  font-weight: 500;
  color: #59A5D8;
}
.service-item p {
  color: #3E5368;
  font-size: 1rem;
  margin-bottom: 0;
}
.service-item:hover, .service-item:focus-within {
  box-shadow: 0 8px 32px rgba(11,60,93,0.13);
}

/* ==== CONTACT SECTION ==== */
.contact-section .container {
  display: flex;
  flex-direction: column;
}
.contact-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.contact-section .text-section {
  min-width: 280px;
  max-width: 420px;
}
.contact-section ul {
  margin-top: 6px;
  margin-bottom: 12px;
}
.contact-section ul li {
  margin: 0 0 9px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #193047;
}
.contact-section ul img {
  width: 20px;
  height: 20px;
  opacity: 0.75;
}
.map-embed {
  background: #F8FAFB;
  border-radius: 10px;
  padding: 20px 18px;
  min-width: 200px;
  color: #2E3C48;
  box-shadow: 0 1px 8px rgba(11,60,93, 0.03);
}

/* ==== CTA STRIP ==== */
.cta-strip {
  background: #0B3C5D;
  color: #FFF;
  border-radius: 24px;
  margin: 54px 0 0 0;
  padding: 38px 0 34px 0;
  box-shadow: 0 4px 26px 0 rgba(11,60,93,.11);
}
.cta-strip .container {
  display: flex;
  flex-direction: column;
}
.cta-strip .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}
.cta-strip p {
  font-size: 1.19rem;
  color: #fff;
  flex-shrink: 1;
  margin-bottom: 0;
}
.cta-strip .cta-btn {
  margin-left: 0;
  margin-top: 0;
}

/* ==== THANKYOU ==== */
.thankyou-section {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 80px 0;
  flex-direction: column;
  background: #F2F2F2;
}

/* ==== FOOTER ==== */
footer {
  background: #fff;
  box-shadow: 0 -1px 12px rgba(11,60,93,0.06);
  margin-top: 60px;
  padding: 38px 0 9px 0;
  color: #1E2830;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.logo-footer img {
  height: 36px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
}
.footer-nav a {
  color: #0B3C5D;
  font-family: 'Montserrat', 'Roboto', Arial;
  font-size: 1rem;
  border-radius: 4px;
  padding: 5px 9px;
  transition: background 0.14s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F2F2F2;
  color: #59A5D8;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.97rem;
  min-width: 240px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  opacity: .82;
}
.footer-meta {
  flex-basis: 100%;
  margin-top: 20px;
  color: #89909a;
  font-size: 0.96rem;
}


/* ==== LEGAL PAGES ==== */
.legal-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 14px rgba(11,60,93,0.06);
  margin-bottom: 60px;
  padding: 40px 22px 30px 22px;
}
.legal-section h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.legal-section h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.legal-section h3 {
  font-size: 1.07rem;
  margin-bottom: 8px;
}
.legal-section p, .legal-section li {
  color: #3E5368;
  line-height: 1.7;
  font-size: 1rem;
}
.legal-section ul {
  margin-bottom: 15px;
}
.legal-section a {
  color: #59A5D8;
  text-decoration: underline;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 5000;
  background: #fff;
  color: #22313F;
  box-shadow: 0 -2px 28px rgba(11,60,93,0.09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 20px 20px;
  gap: 20px;
  font-size: 1rem;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .25s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  margin-right: 16px;
  color: #22313F;
  flex: 1 1 180px;
  margin-bottom: 0;
  min-width: 120px;
}
.cookie-btn {
  background: #0B3C5D;
  color: #fff;
  padding: 8px 22px;
  border: none;
  border-radius: 19px;
  font-family: 'Montserrat', 'Roboto', Arial;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 0;
  min-width: 120px;
  cursor: pointer;
  margin-bottom: 0;
  transition: background 0.16s, color 0.14s, transform 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #59A5D8;
  color: #fff;
  transform: scale(1.04);
}
.cookie-btn.alt {
  background: #F2F2F2;
  color: #0B3C5D;
  border: 1.5px solid #0B3C5D;
  margin-left: 10px;
}
.cookie-btn.alt:hover {
  background: #e4e9ee;
  color: #0B3C5D;
}
.cookie-btn.settings {
  background: #e4e9ee;
  color: #0B3C5D;
  border: 1.5px solid #59A5D8;
  margin-left: 10px;
}
.cookie-btn.settings:hover {
  background: #59A5D8;
  color: #fff;
  border-color: #0B3C5D;
}

/* ==== COOKIE MODAL ==== */
.cookie-modal {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translate(-50%, 98%);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 -4px 60px rgba(11,60,93,0.15);
  z-index: 6000;
  min-width: 320px;
  max-width: 98vw;
  padding: 38px 30px 22px 30px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: transform .36s cubic-bezier(.5,.2,.3,1), opacity .26s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 8px 0;
  border-bottom: 1px solid #F2F2F2;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category-name {
  font-size: 1rem;
  color: #0B3C5D;
  font-weight: 600;
}
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #F2F2F2;
  border-radius: 15px;
  position: relative;
  outline: none;
  transition: background 0.18s;
  cursor: pointer;
  border: 1.5px solid #CED8DE;
}
.cookie-toggle:checked {
  background: #59A5D8;
  border-color: #59A5D8;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.20s;
}
.cookie-toggle:checked::before {
  left: 22px;
}
.cookie-category-desc {
  color: #3E5368;
  font-size: .97rem;
  margin-top: 4px;
}
.cookie-modal .cookie-btn {
  align-self: flex-end;
  margin-top: 18px;
  min-width: 120px;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 1024px) {
  .container, .hero-section .container, .cta-strip .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .case-study-grid, .service-list, .feature-grid, .testimonial-grid { gap: 18px; }
  .footer-contact { min-width: 180px; }
}
@media (max-width: 900px) {
  .feature-card, .case-study, .service-item {
    max-width: 100%;
    min-width: 200px;
    flex-basis: 100%;
  }
  .content-wrapper, .cta-strip .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-meta {
    margin-top: 18px;
  }
}
@media (max-width: 768px) {
  .hero-section {
    padding: 36px 0 28px 0;
  }
  .section, .legal-section {
    padding: 30px 7px;
  }
  .content-wrapper, .cta-strip .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .contact-section .content-wrapper, .case-study-grid, .feature-grid, .service-list, .testimonial-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
  .hero-section {
    padding: 22px 0 15px 0;
  }
  .cta-strip {
    padding: 17px 0 15px 0;
    border-radius: 12px;
    margin: 38px 0 0 0;
  }
  .cookie-modal {
    min-width: unset;
    padding: 22px 7px 13px 7px;
    border-radius: 11px;
  }
  footer .container { gap: 16px; }
}
@media (max-width: 470px) {
  .feature-card, .case-study, .service-item, .testimonial-card {
    padding-left: 11px;
    padding-right: 7px;
  }
  .hero-section, .thankyou-section {
    padding-left: 0; padding-right: 0;
  }
}

/* ==== MICRO-INTERACTIONS & TRANSITIONS ==== */
.card, .feature-card, .service-item, .faq-item, .testimonial-card, .case-study {
  transition: box-shadow 0.18s, border-color 0.18s;
}
.card:hover, .feature-card:hover, .service-item:hover, .faq-item:hover, .testimonial-card:hover, .case-study:hover {
  box-shadow: 0 6px 28px rgba(11,60,93,0.13);
}
.cta-btn, .cookie-btn {
  transition: background .18s, color .13s, transform .12s;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(.99);
}

/* ==== UTILITY CLASSES ==== */
.hide {
  display: none !important;
}
.visible {
  display: block !important;
}

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