/* 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F9FAFB;
  color: #182237;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
ul,ol,dl {
  padding-left: 24px;
}
a {
  color: #21579C;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #5DB585;
  text-decoration: underline;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}

/* BRAND TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -.5px;
  color: #21579C;
  margin-bottom: 12px;
}
h1 {font-size: 2.5rem; line-height: 1.15; margin-bottom: 18px;}
h2 {font-size: 2rem;   line-height: 1.2; margin-bottom: 14px;}
h3 {font-size: 1.5rem; line-height: 1.25;}
h4 {font-size: 1.25rem;}
h5 {font-size: 1.1rem;}
h6 {font-size: 1rem;}
p, li, span, dd {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #202A3B;
  line-height: 1.6;
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
  color: #5DB585;
}

/* LAYOUT CONTAINERS */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.content-wrapper {
  background: #FFF;
  border-radius: 24px;
  box-shadow: 0 2px 24px 0 rgba(33,87,156,0.05), 0 1.5px 6px 0 rgba(93,181,133,0.07);
  padding: 36px 26px;
  margin: 0 auto 32px auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

main {
  padding-top: 24px;
  padding-bottom: 48px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEX-BASED MANDATORY CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 1.5px 8px 0 rgba(33,87,156,0.08), 0 0.5px 2px 0 rgba(93,181,133,0.05);
  padding: 25px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 260px;
  flex: 1 1 240px;
  transition: box-shadow .18s, transform .18s;
}
.card:hover {
  box-shadow: 0 7px 32px -8px #5DB58544, 0 3px 12px -2px #21579C22;
  transform: translateY(-4px) scale(1.016);
}
.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: #F7E16D;
  border-radius: 19px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px #21579C22;
  color: #202A3B;
  font-style: italic;
  flex-direction: row;
  position: relative;
}
.testimonial-card p {
  color: #182237;
  margin-bottom: 0;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: normal;
}
.testimonial-card span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.99rem;
  color: #21579C;
  font-weight: bold;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAV */
header {
  width: 100%;
  background: #21579C;
  box-shadow: 0 3px 16px -6px #214d8344;
  padding: 0;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
header nav {
  display: flex;
  gap: 32px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.01rem;
  text-transform: uppercase;
  color: #FFF;
  letter-spacing: 0.2px;
  position: relative;
  padding: 8px 0;
  transition: color .18s;
}
header nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: #5DB585;
  border-radius: 2px;
  transition: width .22s;
  margin-top: 4px;
}
header nav a:hover, header nav a:focus {
  color: #F7E16D;
}
header nav a:hover:after, header nav a:focus:after {
  width: 100%;
}
header img {
  height: 46px;
  margin-right: 22px;
}
/* Primary Button */
.btn-primary {
  background: #5DB585;
  color: #fff;
  font-family: 'Montserrat', Arial, serif;
  font-size: 1.11rem;
  font-weight: 700;
  border-radius: 21px;
  padding: 12px 28px;
  box-shadow: 0 2px 18px 0 #5DB58544;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  transition: background .18s, color .16s, transform .16s, box-shadow .18s;
  margin-left: 36px;
  display: inline-block;
  position: relative;
  z-index: 2;
}
.btn-primary:hover, .btn-primary:focus {
  background: #21579C;
  color: #F7E16D;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 6px 28px -6px #21579C44;
  text-decoration: none;
}

/* FOOTER */
footer {
  background: #182237;
  color: #FFF;
  width: 100%;
  padding: 0 0 0 0;
  box-shadow: 0 -1px 12px #21579C22;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 10px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  width: 100%;
}
footer a {
  color: #F7E16D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding-right: 18px;
  transition: color .15s;
}
footer a:hover, footer a:focus {
  color: #5DB585;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.97rem;
  color: #FFF;
  margin-top: 12px;
}
.footer-contact span {
  color: #EAEAEA;
}
.footer-contact img {
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}
footer img {
  height: 38px;
  margin-bottom: 5px;
}

/* LISTS */
ul, ol {
  margin-bottom: 12px;
  margin-top: 0;
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1.04rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #21579C;
  line-height: 1.55;
  position: relative;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #5DB585;
  border-radius: 50%;
  margin-right: 10px;
  transform: translateY(1px);
}
ul li {
  padding-left: 2px;
}
ol li {
  padding-left: 4px;
}

/* DEFINITION LISTS (for kontakt.html) */
dl {
  margin: 0 0 10px 0;
}
dl dt {
  font-weight: 700;
  color: #21579C;
  font-size: 1.07rem;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
dl dd {
  margin-left: 22px;
  margin-bottom: 2px;
}
dl img {
  height: 20px;
}

/* ICONS (general) */
img[src*="/icon-"] {
  height: 24px;
  width: auto;
  vertical-align: middle;
  margin-right: 8px;
}

/* GENERAL SPACING & LAYOUT */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* .card & cards are defined above in FLEX section */

/* .card-grid (if present) */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: space-between;
}

/* Animations & micro-interactions */
.card, .btn-primary, .testimonial-card {
  transition: box-shadow .2s, background .18s, color .18s, transform .16s;
}

/* --- MOBILE MENU STYLES --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 1101;
  background: #21579C;
  color: #FFF;
  border-radius: 50%;
  border: none;
  width: 48px;
  height: 48px;
  font-size: 2.15rem;
  box-shadow: 0 2.5px 11px #21579C36;
  align-items: center;
  justify-content: center;
  transition: background .18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #5DB585;
  color: #FFF;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #182237ee;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.44,0,.14,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: #FFF;
  color: #21579C;
  border: none;
  border-radius: 50%;
  font-size: 2.15rem;
  width: 48px;
  height: 48px;
  margin: 18px 26px 4px 0;
  align-self: flex-end;
  z-index: 1202;
  box-shadow: 0 2px 12px #21579C18;
  transition: background .18s, color .16s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #5DB585;
  color: #FFF;
}

.mobile-nav {
  width: 90vw;
  max-width: 370px;
  padding: 32px 24px 24px 32px;
  background: #FFF;
  border-radius: 26px 0 0 36px;
  box-shadow: 0 7px 28px #21579C44;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 1201;
  height: calc(100vh - 80px);
  overflow-y: auto;
}
.mobile-nav a {
  color: #21579C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 2px 14px 0;
  border-radius: 8px;
  background: none;
  transition: background .16s, color .18s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7E16D;
  color: #202A3B;
}

/* RESPONSIVE STYLES - MOBILE FIRST */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  footer .container {
    padding-left: 0;
    padding-right: 0;
    min-width: 0;
  }
}
@media (max-width: 980px) {
  .footer-contact {
    font-size: 0.93rem;
    max-width: 320px;
  }
  .content-wrapper {
    padding: 26px 12px;
    font-size: 0.98rem;
  }
  .section {
    padding: 28px 10px;
  }
  .card {
    padding: 20px 8px;
    min-width: 178px;
  }
}
@media (max-width: 800px) {
  .content-wrapper {
    padding: 15px 4px;
    font-size: 0.96rem;
  }
  .footer-contact {
    font-size: 0.88rem;
    gap: 3px;
  }
  .content-grid, .card-grid, .card-container {
    gap: 12px;
  }
}
@media (max-width: 728px) {
  .content-wrapper {
    gap: 9px;
    padding: 13px 2px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 14px 10px;
    border-radius: 16px;
    font-size: 0.97rem;
  }
}
@media (max-width: 990px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 18px;
  }
}
@media (max-width: 750px) {
  header .container {
    flex-direction: row;
    padding: 0 5px;
    gap: 0;
  }
  .content-wrapper {
    padding-left: 0; padding-right: 0;
  }
  footer .container {padding: 0 2px;}
}
@media (max-width: 768px) {
  header nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper {
    border-radius: 14px;
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .section {
    margin-bottom: 32px;
    padding: 14px 3px;
  }
  .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .card {
    min-width: 0;
    width: 100%;
  }
}

/* --- COOKIE BANNER STYLES --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #21579C;
  color: #FFF;
  z-index: 1900;
  box-shadow: 0 -2px 22px #5DB58536;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 26px 12px 16px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  justify-content: center;
  transition: transform .35s, opacity .25s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1 1 370px;
  font-size: 1.06rem;
  color: #FFF;
  line-height: 1.55;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-btn {
  background: #5DB585;
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 20px;
  padding: 9px 22px;
  font-size: 1rem;
  margin: 0;
  border: none;
  box-shadow: 0 2px 9px #5DB58555;
  transition: background .13s, color .13s;
  min-width: 110px;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F7E16D;
  color: #21579C;
}
.cookie-btn:active {
  background: #21579C;
  color: #FFF;
}
.cookie-btn.settings {
  background: #F7E16D;
  color: #21579C;
  border: 1px solid #21579C;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #5DB585;
  color: #FFF;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 6px 18px 8px;
    gap: 12px;
  }
  .cookie-banner__actions {gap: 8px;}
  .cookie-banner__text {font-size: .97rem;}
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  background: #FFF;
  border-radius: 22px;
  box-shadow: 0 7px 44px #21579C55;
  z-index: 2000;
  padding: 32px 28px 32px 38px;
  min-width: 310px;
  max-width: 98vw;
  max-height: 97vh;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 19px;
  opacity: 1;
  transition: opacity .32s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #21579C;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.cookie-modal__section {
  display: flex;
  flex-direction: row;
  gap: 9px;
  align-items: center;
  margin-bottom: 11px;
}
.cookie-modal__section label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  color: #182237;
  margin-left: 4px;
  font-weight: 600;
  cursor: pointer;
}
.cookie-modal__toggle {
  appearance: none;
  width: 36px;
  height: 22px;
  background: #EAEAEA;
  border-radius: 13px;
  position: relative;
  outline: none;
  transition: background .15s;
}
.cookie-modal__toggle:checked {
  background: #5DB585;
}
.cookie-modal__toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 1px 4px #21579C22;
  transition: left .16s;
}
.cookie-modal__toggle:checked:before {
  left: 17px;
}
.cookie-modal__desc {
  margin-left: 38px;
  margin-bottom: 4px;
  color: #666;
  font-size: 0.99rem;
  line-height: 1.35;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal__cancel {
  background: none;
  border: none;
  color: #21579C;
  font-size: 1.07rem;
  padding: 7px 16px;
  border-radius: 9px;
  transition: background .12s, color .12s;
}
.cookie-modal__cancel:hover, .cookie-modal__cancel:focus {
  background: #EAEAEA;
  color: #5DB585;
}
@media (max-width: 530px) {
  .cookie-modal {
    padding: 18px 6px 20px 14px;
    min-width: 0; max-width: 99vw;
  }
  .cookie-modal__title {font-size: 1.1rem;}
  .cookie-modal__desc {margin-left: 18px;font-size: .95rem;}
}

/* --- GEOMETRIC SHAPES AND VISUAL DETAILS (MODERN_BOLD) --- */
.card, .testimonial-card, .cookie-banner, .cookie-modal {
  border-radius: 18px;
}
.card, .testimonial-card {
  border: 3.5px solid #F7E16D;
  box-shadow: 0 2px 12px #21579C1c;
}
.card:hover, .testimonial-card:hover {
  border-color: #5DB585;
}
h1, h2, h3 {
  text-shadow: 1px 2px 0 #F7E16D22;
}
hr {
  border: none;
  border-top: 2px solid #5DB585;
  margin: 24px 0;
  border-radius: 2px;
}
/* Decorative geometric accent (optionally used via ::after or special classes) */
.decor-accent {
  display: inline-block;
  width: 34px;
  height: 8px;
  background: #F7E16D;
  border-radius: 7px;
  margin-bottom: 7px;
}

/* --- PRINT/ACCESSIBILITY --- */
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal, header, footer {display: none !important;}
  main, .container, .content-wrapper {background: #FFF !important; color: #000 !important;}
}

/* --- SCROLLBAR --- */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-thumb {
  background: #5DB585;
  border-radius: 6px;
}
body::-webkit-scrollbar-track {
  background: #EAEAEA;
  border-radius: 6px;
}


/* --------------------------------------
   UTILITY CLASSES (if needed for margin)
   -------------------------------------- */
.mt-2 { margin-top: 2px; }
.mt-8 { margin-top: 8px; }
.mb-8 { margin-bottom: 8px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.gap-24 { gap: 24px; }

/* Hide elements visually only */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
