/* 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, 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 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  background: #F7F8FA;
  color: #28415E;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #4EB9A9;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s cubic-bezier(.45,1.8,.59,.84);
}
a:hover, a:focus {
  color: #28415E;
  text-underline-offset: 3px;
}

/* TYPOGRAPHY SCALE */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #28415E;
  letter-spacing: -0.5px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #28415E;
  letter-spacing: -0.5px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.25;
  margin-bottom: 14px;
  color: #28415E;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #28415E;
}
strong {
  font-weight: 700;
  color: #28415E;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
}
ul, ol {
  padding-left: 22px;
}
blockquote {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  position: relative;
  color: #28415E;
  margin-bottom: 10px;
}

.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  color: #4EB9A9;
  font-weight: 500;
  margin-bottom: 24px;
}

/* LAYOUT & CONTAINERS */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(40,65,94,0.06);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* FLEXBOX PATTERNS */
.card-container, .service-list, .service-list-detailed {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(40,65,94,0.06);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.2s cubic-bezier(.5,1.6,.33,1.01),transform 0.16s cubic-bezier(.22,.61,.36,1);
}
.card:hover {
  box-shadow: 0 6px 32px rgba(40,65,94,0.14);
  transform: translateY(-2px) scale(1.03);
  z-index: 2;
}
.content-grid, .feature-grid, .feature-list, .blog-list-previews {
  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: #F7F8FA;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(40,65,94,0.04);
  margin-bottom: 20px;
  min-width: 0;
  max-width: 640px;
  transition: box-shadow 0.2s cubic-bezier(.45,1.8,.59,.84),transform 0.16s cubic-bezier(.22,.61,.36,1);
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(78,185,169,0.18);
  transform: translateY(-2px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 7px 0 rgba(40,65,94,0.06);
  position: sticky;
  top: 0;
  z-index: 60;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  flex-wrap: wrap;
  gap: 20px;
}
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}
nav ul li {
  display: flex;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #28415E;
  letter-spacing: 0.02em;
  border-radius: 8px;
  padding: 7px 12px;
  transition: background 0.18s, color 0.18s;
}
nav ul li a:hover, nav ul li a:focus, nav ul li a.active {
  background: #4EB9A9;
  color: #fff;
}
nav a img {
  height: 38px;
  width: auto;
  margin-right: 24px;
}

.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 13px 32px;
  font-size: 1.08rem;
  cursor: pointer;
  box-shadow: 0 2px 6px 0 rgba(40,65,94,0.12);
  transition: background 0.18s, color 0.17s, box-shadow 0.17s, transform 0.14s cubic-bezier(.55,1.8,.59,.84);
}
.cta.primary {
  background: #28415E;
  color: #fff;
  box-shadow: 0 3px 16px 0 rgba(78,185,169,.05);
}
.cta.primary:hover, .cta.primary:focus {
  background: #4EB9A9;
  color: #fff;
  box-shadow: 0 12px 26px 0 rgba(40,65,94,0.18);
  transform: translateY(-1px) scale(1.07);
}
.cta.secondary {
  background: #fff;
  color: #28415E;
  border: 2px solid #4EB9A9;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #4EB9A9;
  color: #fff;
  border-color: #28415E;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 25px;
  z-index: 101;
  background: #28415E;
  color: #fff;
  border: none;
  border-radius: 10px;
  width: 45px;
  height: 45px;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(40,65,94,.12);
  transition: background .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #4EB9A9;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #28415E;
  z-index: 120;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.8,0,.2,1);
  box-shadow: -2px 0 18px rgba(40,65,94,0.10);
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 20px 32px 0 0;
  cursor: pointer;
  transition: color .17s;
  z-index: 121;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #4EB9A9;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 0 44px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 0;
  letter-spacing: .02em;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .13s;
  width: max-content;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: #4EB9A9;
  border-bottom: 2px solid #4EB9A9;
}

/* Hide desktop menu on mobile, and show burger */
@media (max-width: 1024px) {
  nav ul {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* CARDS & CAROUSELS */
.service-list,
.service-list-detailed,
.feature-grid,
.feature-list,
.blog-list-previews {
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-list > li,
.service-list-detailed > li,
.feature-grid > li,
.feature-list > li,
.blog-list-previews > li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(40,65,94,0.06);
  padding: 24px 20px 20px 20px;
  margin-bottom: 20px;
  flex: 1 1 calc(33% - 24px);
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: box-shadow 0.17s cubic-bezier(.55,1.5,.59,.84),transform 0.14s cubic-bezier(.22,.61,.36,1);
}
.service-list > li:hover, .service-list-detailed > li:hover,
.feature-grid > li:hover, .feature-list > li:hover, .blog-list-previews > li:hover {
  box-shadow: 0 4px 22px rgba(78,185,169,0.17);
  transform: scale(1.03) translateY(-2px);
  z-index: 2;
}

.service-list-detailed img {
  width: 48px;
  height: 48px;
  margin-bottom: 9px;
  background: #4EB9A9;
  border-radius: 50%;
  padding: 6px;
}
.service-list > li strong, .service-list-detailed > li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  letter-spacing: 0.01em;
  color: #28415E;
}
.service-list-detailed > li span,
.service-list > li span {
  color: #4EB9A9;
  font-weight: 700;
  font-size: 1.12rem;
  margin-bottom: 7px;
}
.feature-grid > li strong,
.feature-list > li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  color: #28415E;
}
.feature-grid > li img {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #4EB9A9;
  padding: 6px;
  object-fit: contain;
}

/* BLOG PREVIEWS */
.blog-list-previews > li h3 {
  font-size: 1.18rem;
  color: #28415E;
  margin-bottom: 8px;
}
.blog-list-previews > li span {
  color: #4EB9A9;
  font-size: 0.97rem;
  font-weight: 500;
  margin-top: 5px;
}

/* TESTIMONIALS */
.testimonial-card blockquote {
  font-size: 1.07rem;
  color: #28415E;
  font-style: italic;
  margin: 0;
  line-height: 1.4;
}
.testimonial-card p {
  margin: 0 0 0 18px;
  color: #4EB9A9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
}

/* CONTACT INFO */
.contact-info {
  background: #F7F8FA;
  border-left: 6px solid #4EB9A9;
  border-radius: 12px;
  padding: 24px 22px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1.02rem;
  box-shadow: 0 0 8px 0 rgba(78,185,169,0.08);
}
.contact-info ul {
  list-style: none;
  padding: 0;
}
.contact-info li {
  margin-bottom: 12px;
  color: #28415E;
  font-weight: 500;
}

/* MAP BLOCK (Kontakt page) */
.map-block {
  margin-top: 16px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 14px 0 rgba(40,65,94,0.10);
  max-width: 500px;
}

/* FOOTER */
footer {
  background: #28415E;
  color: #fff;
  margin-top: 64px;
  padding: 38px 0 18px 0;
}
.footer-menu nav,
.footer-menu {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 1.04rem;
  justify-content: center;
}
.footer-menu a {
  color: #4EB9A9;
  font-weight: 700;
  padding: 0 5px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.footer-menu a:hover {
  color: #fff;
  text-decoration: underline;
}
.contact-details {
  font-size: 0.96rem;
  opacity: 0.93;
  text-align: center;
  margin-bottom: 16px;
}
.legal-links {
  text-align: center;
  font-size: 0.92rem;
  opacity: 0.76;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  width: 100%;
  background: #fff;
  color: #28415E;
  box-shadow: 0 -2px 16px 0 rgba(40,65,94,0.13);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 28px 22px 28px;
  font-size: 1rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: slideUp 0.6s cubic-bezier(.55,1.5,.36,1);
}
@keyframes slideUp {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  cursor: pointer;
  margin: 0 0 0 0;
  transition: background .15s, color .14s;
}
.cookie-banner .accept {
  background: #4EB9A9;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #28415E;
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: #4EB9A9;
  border: 2px solid #4EB9A9;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #4EB9A9;
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  color: #28415E;
  border: none;
  text-decoration: underline;
  padding: 10px 10px;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  color: #4EB9A9;
  text-decoration: none;
}

.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  width: 100vw;
  height: 100vh;
  background: rgba(40,65,94,0.44);
  align-items: center;
  justify-content: center;
  animation: fadeIn .18s cubic-bezier(.16,.8,.3,1);
}
.cookie-modal.active {
  display: flex;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 470px;
  min-width: 320px;
  padding: 28px 30px;
  color: #28415E;
  box-shadow: 0 6px 28px 0 rgba(40,65,94,0.12);
  animation: modalPop .18s cubic-bezier(.6,2,.31,.98);
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@keyframes modalPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.24rem;
  color: #28415E;
}
.cookie-category {
  background: #F7F8FA;
  border-radius: 9px;
  padding: 13px 15px;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-toggle {
  appearance: none;
  width: 32px;
  height: 19px;
  background: #ddd;
  outline: none;
  border-radius: 9px;
  position: relative;
  transition: background 0.15s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #4EB9A9;
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  transition: left .17s;
}
.cookie-toggle:checked::after {
  left: 15px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  padding: 8px 18px;
}

/* FORMS (contact, modal) */
input, textarea, select {
  border: 2px solid #4EB9A9;
  border-radius: 9px;
  padding: 13px 12px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  outline: none;
  margin-bottom: 15px;
  color: #28415E;
  background: #fff;
  transition: border .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #28415E;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #28415E;
  margin-bottom: 6px;
}
button {
  font-family: inherit;
}

/* GENERAL UTILITIES */
.d-none {
  display: none !important;
}
.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.justify-between {
  justify-content: space-between;
}
.align-center {
  align-items: center;
}

/* TEXT SECTIONS */
.text-section {
  margin-bottom: 22px;
}
.text-section ul {
  margin-bottom: 10px;
}

/* MEDIA QUERIES */
@media (max-width: 1024px) {
  .container {
    max-width: 97vw;
  }
  .section {
    padding: 28px 7px;
  }
}
@media (max-width: 900px) {
  .card-container, .service-list, .service-list-detailed, .content-grid, .feature-grid, .feature-list, .blog-list-previews {
    flex-direction: column;
    gap: 18px;
  }
  .card, .service-list > li, .service-list-detailed > li, .feature-grid > li, .feature-list > li, .blog-list-previews > li {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.35rem; }
  .section { margin-bottom: 36px; padding: 22px 7px; }
  .container { padding: 0 8px; }
  .card-container, .service-list, .service-list-detailed, .feature-grid, .content-grid, .feature-list, .blog-list-previews { gap: 13px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; padding: 18px; max-width: 100vw; }
  .text-image-section { flex-direction: column; gap: 18px; }
  nav ul { gap: 10px; }
  nav a img { margin-right: 11px; height: 29px; }
}
@media (max-width: 520px) {
  .cookie-banner { padding: 18px 8px 10px 8px; font-size: .96rem; flex-direction: column; gap: 13px; align-items: flex-start; }
  .cookie-modal-content { padding: 19px 8px; min-width: 92vw; }
  .section { border-radius: 9px; }
}

::-webkit-scrollbar {
  width: 9px;
  background: #F7F8FA;
}
::-webkit-scrollbar-thumb {
  background: #4EB9A9;
  border-radius: 8px;
}

/* BUTTONS & INTERACTIONS */
button, .cta, .cookie-banner button, .cookie-modal .modal-actions button {
  transition: background 0.18s, color 0.15s, box-shadow 0.14s, transform 0.12s;
}
button:active, .cta:active { transform: scale(0.97); }

/* VISUAL ACCENTS */
.section {
  position: relative;
  overflow: visible;
  /* bold geometric accent */
}
.section::before {
  content: '';
  position: absolute;
  left: -36px;
  top: -18px;
  width: 55px;
  height: 55px;
  background: #4EB9A9;
  opacity: 0.08;
  border-radius: 17px 20px 6px 52px;
  z-index: 0;
}
.section > *, .section > .container > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 520px){
  .section::before { left: -13px; top: -7px; width: 37px; height: 37px; }
}

/* ACCESSIBILITY */
:focus {
  outline: 2px solid #4EB9A9;
  outline-offset: 2px;
}

/* OVERRIDE FORMS AND INTERACTIVES */
input[type="checkbox"], input[type="radio"] {
  width: 16px; height: 16px;
  accent-color: #4EB9A9;
}

/* END */
