/* RESET & BASE STYLES */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fffefa;
  color: #243976;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* FONTS & TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #243976;
  line-height: 1.1;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, ul, li { font-size: 1rem; color: #243976; }
p { margin-bottom: 12px; }
a {
  color: #18a19a;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #146762;
  outline: none;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
  color: #243976;
}

/* CONTAINER */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* HEADER */
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 32px;
  position: relative;
  background: #fffefa;
}
.header-bar img {
  height: 46px;
  width: auto;
}
.header-bar nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header-bar nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 0;
  border-radius: 3px;
  transition: color .15s;
}
.header-bar nav a:hover, .header-bar nav a:focus {
  color: #18a19a;
  background: rgba(24,161,154,0.08);
}
.btn-primary {
  background: linear-gradient(90deg, #243976 0%, #18a19a 100%);
  color: #fffefa;
  border: none;
  border-radius: 22px;
  padding: 10px 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 2px 12px rgba(36,57,118,0.07);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.16s, transform 0.13s;
  display: inline-block;
  margin-left: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #18a19a 0%, #243976 100%);
  color: #fffefa;
  box-shadow: 0 2px 20px rgba(24,161,154,0.18);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}


/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #243976;
  cursor: pointer;
  z-index: 1003;
  margin-left: 20px;
  border-radius: 6px;
  padding: 6px 14px;
  transition: background 0.13s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #e6f1f0;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: #fffefa;
  box-shadow: -4px 0 32px 0 rgba(36,57,118,0.10);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.7,.34,0,1);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding-top: 34px;
  padding-bottom: 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 22px;
  top: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #243976;
  cursor: pointer;
  z-index: 1101;
  border-radius: 4px;
  padding: 5px 12px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus{
  background: #e6f1f0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 60px 20px 0 32px;
  overflow-y: auto;
  flex: 1 1 auto;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #243976;
  padding: 11px 0;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s;
  display: block;
}
.mobile-nav a.btn-primary {
  margin-top: 20px;
  margin-bottom: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e6f1f0;
  color: #18a19a;
}


/* MAIN LAYOUT SECTIONS */
main {
  flex: 1 1 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/****** FLEX GRIDS & FEATURES ******/
.feature_grid, .card-container, .content-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 16px;
  list-style: none;
}
.feature_grid li,
.feature_grid div {
  background: #fffefa;
  box-shadow: 0 2px 12px rgba(24,161,154,0.09);
  border-radius: 18px;
  padding: 24px 22px 22px 22px;
  min-width: 200px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow .17s, transform .14s;
}
.feature_grid li:hover, .feature_grid div:hover {
  box-shadow: 0 4px 18px 0 rgba(36,57,118,0.13);
  transform: translateY(-4px) scale(1.02);
  background: #e6f1f0;
}
.feature_grid img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fffefa;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(24,161,154,0.09);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.1s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(36,57,118,0.13);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 18px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/****** TESTIMONIALS ******/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(36,57,118,0.07);
  padding: 20px 30px;
  min-width: 220px;
  margin-bottom: 20px;
  border-left: 5px solid #18a19a;
  transition: box-shadow .15s, border-color .15s;
}
.testimonial-card p {
  color: #243976;
  font-size: 1.08rem;
  font-weight: 400;
}
.testimonial-card span {
  color: #18a19a;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(24,161,154,.14);
  border-color: #243976;
}

/****** MAP PLACEHOLDER ******/
.map-placeholder {
  background: #e6f1f0;
  border-radius: 8px;
  padding: 18px;
  margin-top: 18px;
  color: #243976;
  font-style: italic;
}

/****** FEATURE ITEM ******/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*****************************
   FOOTER
*****************************/
footer {
  margin-top: 60px;
  padding: 44px 0 20px 0;
  background: linear-gradient(90deg, #243976 0%, #18a19a 100%);
  color: #fffefa;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
footer img {
  height: 52px;
  margin-bottom: 5px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 8px;
}
footer nav a {
  color: #fffefa;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  opacity: .9;
  margin: 0 3px;
  transition: opacity 0.15s;
}
footer nav a:hover, footer nav a:focus {
  opacity: 1;
  text-decoration: underline;
}
footer p {
  font-size: 0.95rem;
  color: #fffefa;
  text-align: center;
  opacity: 0.87;
}

/*****************************
   BUTTONS & FORMS
*****************************/
button, .btn, .btn-primary {
  outline: none;
}
button:focus-visible, .btn:focus-visible, .btn-primary:focus-visible {
  box-shadow: 0 0 0 2px #18a19a44;
}

/*****************************
   MISCELLANEOUS & UTILS
*****************************/
img {
  max-width: 100%;
  display: block;
}
hr {
  border: none;
  border-top: 1px solid #e6f1f0;
  margin: 32px 0;
}
/* Give forms a modern feel */
input, textarea, select {
  font-size: 1rem;
  padding: 9px 15px;
  border-radius: 7px;
  border: 1px solid #e1e7f5;
  background: #fff;
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #18a19a;
  outline: none;
}

/*****************************
   COOKIE CONSENT BANNER
*****************************/
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #fffefa;
  color: #243976;
  box-shadow: 0 -2px 22px 0 rgba(24,161,154,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  gap: 24px;
  z-index: 1200;
  transition: transform 0.33s cubic-bezier(.7,.34,0,1), opacity .23s;
  font-size: 1rem;
}
.cookie-consent-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-consent-banner .cookie-consent-message {
  flex: 1 1 auto;
  max-width: 600px;
}
.cookie-consent-banner .cookie-btn {
  border: none;
  border-radius: 20px;
  padding: 8px 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-right: 8px;
  margin-left: 0;
  margin-bottom: 0;
  cursor: pointer;
  transition: background 0.17s, color 0.14s;
}
.cookie-consent-banner .cookie-btn.accept {
  background: #18a19a;
  color: #fffefa;
}
.cookie-consent-banner .cookie-btn.accept:hover, .cookie-consent-banner .cookie-btn.accept:focus {
  background: #243976;
  color: #fff;
}
.cookie-consent-banner .cookie-btn.reject {
  background: #fff;
  color: #18a19a;
  border: 1px solid #18a19a;
}
.cookie-consent-banner .cookie-btn.reject:hover, .cookie-consent-banner .cookie-btn.reject:focus {
  background: #f3f9f9;
  color: #146762;
}
.cookie-consent-banner .cookie-btn.settings {
  background: #eee;
  color: #243976;
  border: 1px solid #d2dcfb;
}
.cookie-consent-banner .cookie-btn.settings:hover, .cookie-consent-banner .cookie-btn.settings:focus {
  background: #18a19a;
  color: #fffefa;
  border: 1px solid #18a19a;
}

/*****************************
   COOKIE MODAL
*****************************/
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,57,118,.17);
  z-index: 1220;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.24s;
}
.cookie-modal.hidden {
  display: none;
  opacity: 0;
}
.cookie-modal .cookie-modal-content {
  background: #fffefa;
  border-radius: 16px;
  padding: 24px 32px;
  max-width: 370px;
  box-shadow: 0 16px 40px rgba(36,57,118,.15);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h3 {
  color: #243976;
  font-size: 1.35rem;
  font-weight: 700;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #18a19a;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  background: #e6f1f0;
} 

/*************************************
   RESPONSIVE STYLES
**************************************/
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .feature_grid li, .feature_grid div {
    flex: 1 1 230px;
  }
}
@media (max-width: 768px) {
  .header-bar nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .header-bar {
    padding: 18px 0;
  }
  .section, main section {
    padding: 32px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 8px;
  }
  .feature_grid, .card-container, .content-grid, .card-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature_grid li, .feature_grid div {
    flex: 1 1 100%;
    min-width: 0;
  }
  .testimonial-card {
    padding: 18px 12px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 7px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.23rem; }
  .section, main section {
    padding: 24px 4px;
  }
  .cookie-modal .cookie-modal-content {
    padding: 16px 7px;
    max-width: 97vw;
  }
  .footer p, .footer nav a {
    font-size: 0.9rem;
  }
}

/*************************************
   SMALL ANIMATIONS
**************************************/
.btn-primary, .cookie-btn {
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
}
.btn-primary:active, .cookie-btn:active {
  transform: scale(0.97);
}
.card, .feature_grid li, .testimonial-card {
  transition: box-shadow 0.14s, background 0.13s, transform 0.13s; 
}

/*************************************
   Z-INDEX LAYERS (SIDEBAR & COOKIE)
**************************************/
/*
 mobile-menu: 1100
 mobile-menu-toggle: 1003
 mobile-menu-close: 1101
 cookie banner: 1200
 cookie modal: 1220
*/

/*************************************
   ACCESSIBILITY & FOCUS RINGS
**************************************/
a:focus, button:focus, .btn-primary:focus, .cookie-btn:focus {
  outline: 2px solid #18a19a;
  outline-offset: 2px;
}

/*************************************
   UTILITY CLASSES FOR SPACING
**************************************/
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-16 { margin-top: 16px !important; }

/*************************************
 OVERRIDES FOR SPECIAL CASES
**************************************/
/* Lists with icons (kontakt.html, etc.) */
.text-section ul li img, ul li img {
  vertical-align: middle;
  margin-right: 4px;
  width: 22px;
  height: 22px;
  display: inline-block;
}

/*************************************
   VISUAL EFFECTS: GRADIENTS
**************************************/
.section:nth-of-type(odd) {
  background: linear-gradient(90deg, #f2f5fd 0%, #e9fcfa 100%);
}
.section:nth-of-type(even) {
  background: #fffefa;
}

/*************************************
   PRINT (SAFEGUARD)
**************************************/
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal {
    display: none !important;
  }
  main {
    padding: 0 !important;
  }
}
