/* RESET & BASE TYPOGRAPHY */
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;
}
/* Set base box-sizing and font */
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F8FAFB;
  color: #295265;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #295265;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover {
  color: #F3C11D;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  line-height: 1.2;
  color: #295265;
  text-wrap: balance;
}
h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.03em;}
h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 24px; }
h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 10px; }
h4, h5, h6 { font-weight: 600; }

p, ul, ol { margin-bottom: 1em; }
ul, ol { padding-left: 1.25em; }

blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-style: italic;
  background: #FFFBE8;
  border-left: 6px solid #F3C11D;
  padding: 20px 30px;
  border-radius: 18px;
  font-size: 1.1em;
  margin: 16px 0 24px 0;
}
blockquote span { font-weight: bold; display: block; margin-top: 6px; font-size: 1em; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/***** FLEXBOX LAYOUTS *****/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 28px;
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 20px;
  padding: 28px 22px 24px 22px;
  box-shadow: 0 3px 24px rgba(41,82,101,0.07), 0 1px 2px rgba(41,82,101,0.04);
  transition: box-shadow 0.25s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 36px rgba(41,82,101,0.13), 0 4px 12px rgba(41,82,101,0.10);
  transform: translateY(-6px) scale(1.025) rotate(-2deg);
}
.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: 20px;
  background: #FFFBE8;
  border-radius: 22px;
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px 0 rgba(41,82,101,0.07);
  min-width: 220px;
  max-width: 420px;
  color: #295265;
}
.testimonial-card p {
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0 0 8px 0;
  color: #295265;
}
.testimonial-card span {
  color: #F3C11D;
  font-weight: 700;
  font-size: 1em;
}
.star-ratings {
  font-size: 1.2em;
  color: #F3C11D;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  padding: 18px 18px 16px 18px;
  box-shadow: 0 2px 14px rgba(41, 82, 101, 0.07);
  min-width: 175px;
}

/***** PLAYFUL DYNAMIC DECORATIVE ELEMENTS *****/
/**** Section Soft Backgrounds & Decorative Circles ****/
.section:nth-child(2n) {
  background: #FDF7E5;
}
.section:nth-child(2n+1) {
  background: #E3F3FA;
}
.section {
  overflow: visible;
}

/**** Animated confetti dots (for fun) ****/
.section:before {
  content: '';
  display: block;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #F3C11D;
  position: absolute;
  left: -30px; top: -30px;
  opacity: 0.30;
  animation: float-confetti 5.5s infinite alternate ease-in-out;
  z-index: 0;
}
.section:after {
  content: '';
  display: block;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #295265;
  position: absolute;
  right: -22px; bottom: -22px;
  opacity: 0.18;
  animation: float-confetti2 7s infinite alternate-reverse;
  z-index: 0;
}
@keyframes float-confetti {
  0%   { transform: translateY(0) scale(1) rotate(-1deg); }
  100% { transform: translateY(18px) scale(1.07) rotate(8deg); }
}
@keyframes float-confetti2 {
  0%   { transform: translateY(0) scale(1) rotate(1deg); }
  100% { transform: translateY(-14px) scale(1.14) rotate(-11deg); }
}

/***** NAVIGATION & HEADER *****/
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 3px 10px 0 rgba(41,82,101,0.05);
  z-index: 100;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 12px 18px 12px 10px;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #295265;
  padding: 8px 16px;
  border-radius: 16px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.main-nav img {
  display: block;
  height: 38px;
  margin-right: 10px;
  margin-left: 8px;
}
.main-nav .cta-primary {
  background: #F3C11D;
  color: #295265;
  border-radius: 40px;
  font-weight: 800;
  font-size: 1.06em;
  letter-spacing: 0.03em;
  margin-left: 16px;
  box-shadow: 0 2px 12px #f3c11d33;
  padding: 10px 22px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.12s;
}
.main-nav a:hover, .main-nav .cta-primary:hover {
  background: #E3F3FA;
  color: #F3C11D;
  transform: rotate(-2deg) scale(1.07);
}
.main-nav .cta-primary:hover {
  background: #295265;
  color: #fff;
  box-shadow: 0 6px 32px #f3c11d55;
}
/* Hide on mobile by default */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 14px;
  top: 12px;
  background: #F3C11D;
  color: #295265;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  z-index: 222;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px #f3c11d55;
  cursor: pointer;
  transition: background 0.2s transform 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #fff;
  color: #F3C11D;
  border: 2px solid #F3C11D;
  outline: none;
}
.mobile-menu {
  display: none;
}

/***** HERO / CONTENT WRAPPERS *****/
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 10px;
}
/***** HERO BUTTON *****/
.cta-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #F3C11D;
  color: #295265;
  font-weight: 800;
  font-size: 1.18em;
  border-radius: 30px;
  box-shadow: 0 2px 16px #f3c11d55;
  border: none;
  padding: 13px 32px;
  cursor: pointer;
  margin-top: 10px;
  text-align: center;
  transition: background 0.25s, color 0.25s, box-shadow 0.22s, transform 0.15s;
  display: inline-block;
}
.cta-primary:hover {
  background: #295265;
  color: #fff;
  box-shadow: 0 6px 36px #f3c11d88;
  transform: scale(1.065) rotate(-1.5deg);
}

/***** FEATURE GRIDS *****/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(41, 82, 101, 0.07);
  padding: 26px 22px 22px 22px;
  flex: 1 1 240px;
  min-width: 185px;
  max-width: 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s, transform 0.20s;
  position: relative;
  margin-bottom: 0;
  z-index: 1;
}
.feature-grid > div:hover {
  transform: translateY(-7px) scale(1.045) rotate(2.5deg);
  box-shadow: 0 6px 32px #F3C11D22, 0 6px 32px #29526514;
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 8px #f3c11d44);
  /* playful move */
  animation: iconBounce 2.7s infinite alternate cubic-bezier(0.63,0,.38,1.23);
}
@keyframes iconBounce {
  0%   { transform: translateY(0px) rotate(-3deg); }
  40%  { transform: translateY(-4px) rotate(2deg); }
  100% { transform: translateY(2px) rotate(-5deg); }
}

/**** Text Section (for About, Kontakt, Legal pages) ****/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin-bottom: 8px;
  font-size: 1.04rem;
  color: #376278;
}
.text-section h3 {
  margin-top: 18px;
  margin-bottom: 6px;
  color: #295265;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13em;
  font-weight: 700;
}
.address-map {
  margin: 20px 0 10px 0;
  text-align: center;
}

/**** Testimonial slider (index) ****/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 0;
}
.testimonial-slider .testimonial-card {
  min-width: 240px;
  flex: 1 1 280px;
}

/**** FOOTER ****/
footer {
  background: #295265;
  color: #fff;
  padding: 36px 0 12px 0;
  margin-top: 40px;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -2px 7px #29526511;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.footer-nav a {
  color: #F3C11D;
  font-size: 1.05em;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 18px;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.footer-nav a:hover {
  background: #fff;
  color: #295265;
  transform: scale(1.07) rotate(-2.2deg);
}
.footer-info {
  text-align: center;
  font-size: .97em;
  color: #fff;
  letter-spacing: 0.01em;
}

/***** BUTTONS & INTERACTIVE ELEMENTS *****/
button, .cta-primary, .main-nav a.cta-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  outline: none;
}
button {
  cursor: pointer;
  border: none;
  background: #F3C11D;
  color: #295265;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 21px;
  padding: 8px 20px;
  margin: 0 8px 8px 0;
  box-shadow: 0 2px 10px #f3c11d33;
  transition: background 0.23s, color 0.23s, transform 0.13s;
}
button:hover, button:focus {
  background: #295265;
  color: #fff;
  transform: scale(1.045) rotate(-2deg);
}

/***** MOBILE NAVIGATION *****/
@media (max-width: 1024px) {
  header {
    position: sticky;
    top: 0;
    z-index: 1002;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex; /* burger appears */
  }
}
@media (max-width: 1024px) {
  .mobile-menu {
    display: flex;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: #295265ee;
    z-index: 4002;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    transform: translateX(100%);
    transition: transform 0.33s cubic-bezier(.7,0,.3,1);
    pointer-events: none;
    opacity: 0;
  }
  .mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu-close {
    margin: 30px 34px 20px 0; /* right X button */
    background: #F3C11D;
    color: #295265;
    border-radius: 50%;
    width: 48px; height: 48px;
    border: 2px solid #F3C11D;
    font-size: 2.15rem;
    box-shadow: 0 2px 12px #f3c11d33;
    display: flex;
    align-items: center; justify-content: center;
    transition: background 0.2s, color 0.18s, border 0.13s;
  }
  .mobile-menu-close:hover, .mobile-menu-close:focus {
    background: #fff;
    color: #F3C11D;
    border: 2px solid #fff;
    outline: none;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    margin-top: 32px;
    padding-left: 20px;
    gap: 18px;
  }
  .mobile-nav a {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.18em;
    color: #fff;
    font-weight: 700;
    background: none;
    border-radius: 18px;
    padding: 12px 16px;
    margin-bottom: 6px;
    display: block;
    width: 85vw;
    transition: background 0.17s, color 0.17s, transform 0.13s;
  }
  .mobile-nav a:nth-child(4n) {
    background: #F3C11D;
    color: #295265;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: #E3F3FA;
    color: #F3C11D;
    transform: scale(1.07) rotate(-3deg);
  }
  .mobile-nav a.cta-primary {
    background: #F3C11D;
    color: #295265;
    font-size: 1.20em;
    font-weight: 900;
    margin-top: 16px;
    margin-bottom: 0;
    border-radius: 28px;
  }
}
/********* RESPONSIVE FLEX LAYOUTS *********/
@media (max-width: 900px) {
  .feature-grid, .testimonial-slider, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid > div,
  .testimonial-slider .testimonial-card,
  .card {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 24px 7px;
    margin-bottom: 32px;
    border-radius: 18px;
  }
  .container {
    padding: 0 7px;
    max-width: 100vw;
  }
  .content-wrapper {
    gap: 10px;
    margin-bottom: 2px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card, .feature-grid > div {
    padding: 18px 13px 14px 13px;
    border-radius: 13px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.39rem; }
  h2 { font-size: 1.09rem; }
  h3 { font-size: 1.01rem; }
  .container {
    padding: 0 4px;
  }
}
/***** COOKIE CONSENT BANNER & MODAL *****/
#cookie-consent-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 5006;
  background: #FFFBE8;
  color: #295265;
  border-radius: 20px;
  box-shadow: 0 4px 32px #F3C11D40;
  padding: 24px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 1.09em;
  animation: cookieIn 0.8s cubic-bezier(.41,.76,0,1.1) 0s 1;
  transition: transform .68s cubic-bezier(0.62,0,.04,1.12), opacity .5s;
  opacity: 1;
}
@keyframes cookieIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
#cookie-consent-banner.hide {
  pointer-events: none;
  opacity: 0;
  transform: translateY(50px) scale(0.92);
}
#cookie-consent-banner .cookie-btn {
  border-radius: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98em;
  font-weight: 800;
  padding: 8px 20px;
  margin: 0 8px 2px 0;
  box-shadow: 0 2px 12px #f3c11d33;
  border: none;
  background: #F3C11D;
  color: #295265;
  transition: background 0.22s, color 0.22s, transform 0.12s;
}
#cookie-consent-banner .cookie-btn.cookie-settings {
  background: #E3F3FA;
  color: #295265;
}
#cookie-consent-banner .cookie-btn.cookie-reject {
  background: #295265;
  color: #fff;
}
#cookie-consent-banner .cookie-btn:hover {
  background: #295265;
  color: #F3C11D;
  transform: scale(1.06) rotate(-2deg);
}
#cookie-consent-banner .cookie-btn.cookie-reject:hover {
  background: #F3C11D;
  color: #295265;
}

/******** COOKIE MODAL *********/
#cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(41,82,101,0.74);
  z-index: 7002;
  align-items: center;
  justify-content: center;
}
#cookie-modal.open {
  display: flex;
  animation: modalIn .55s cubic-bezier(.41,.76,0,1.14) 0s 1;
}
@keyframes modalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #295265;
  border-radius: 24px;
  padding: 36px 36px 28px 36px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 14px 44px #29526530;
  position: relative;
  font-size: 1.08rem;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
#cookie-modal h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  margin-bottom: 7px;
}
.cookie-modal-section {
  margin-bottom: 13px;
  display: flex; flex-direction: row; gap: 16px; align-items: center;
}
.cookie-toggle {
  appearance: none;
  width: 45px; height: 25px;
  border-radius: 13px;
  background: #E3F3FA;
  position: relative;
  outline: none;
  border: none;
  transition: background .19s;
}
.cookie-toggle:checked {
  background: #F3C11D;
}
.cookie-toggle:after {
  content: '';
  position: absolute;
  top: 2.5px; left: 3px;
  background: #295265;
  width: 20px; height: 20px;
  border-radius: 50%;
  transition: transform 0.23s;
  box-shadow: 0 1.5px 6px rgba(41,82,101,.13);
}
.cookie-toggle:checked:after {
  transform: translateX(16px);
  background: #fff;
}
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 15px;
}
.cookie-modal-close {
  display: block;
  position: absolute;
  right: 18px; top: 18px;
  background: #F3C11D;
  color: #295265;
  border-radius: 50%;
  width: 36px; height: 36px;
  border: 2px solid #F3C11D;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 2px 9px #f3c11d44;
  transition: background 0.14s, color 0.14s;
  text-align: center;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #fff;
  color: #F3C11D;
  outline: none;
}
/********* MISC ELEMENTS *********/
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1em;
  border-radius: 8px;
  border: 1px solid #D9DCE3;
  background: #fff;
  padding: 8px 14px;
  margin-bottom: 9px;
  transition: border 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #F3C11D;
  box-shadow: 0 0 0 2px #F3C11D33;
  outline: none;
}
/***** Z-INDEX HIERARCHY MAINTAINED *****/
header { z-index: 1000; }
.mobile-menu { z-index: 4002; }
#cookie-consent-banner { z-index: 5006; }
#cookie-modal { z-index: 7002; }
footer { z-index: 1; }
/***** ANIMATIONS - MICROINTERACTIONS *****/
.card, .feature-grid > div, .testimonial-card, .footer-nav a, .cta-primary, .main-nav a {
  transition: box-shadow 0.2s, background 0.22s, color 0.22s, transform 0.20s;
}
/***** ENSURE MINIMUM MARGINS BETWEEN CONTENT CARDS *****/
.card, .feature-grid > div, .testimonial-card, section, .section {
  margin-bottom: 20px;
}
/***** OVERRIDE FOR LAST ELEMENTS (NO DOUBLE SPACING) *****/
.card:last-child, .feature-grid > div:last-child, .testimonial-card:last-child, .content-wrapper:last-child, .section:last-child {
  margin-bottom: 0;
}
/***** VISUAL HIERARCHY, SHADOWS & ROUNDED CORNERS *****/
.card, .feature-grid > div, .testimonial-card, .section, .cookie-modal-content, .footer-nav a, .cta-primary, .mobile-menu-toggle, .mobile-menu-close {
  border-radius: 18px;
}

/***** COLOR CONTRAST IN TESTIMONIALS SECTION *****/
.testimonial-card {
  color: #295265;
  background: #FFFBE8;
  box-shadow: 0 4px 18px #F3C11D26;
}
.testimonial-card p,
.testimonial-card span,
.testimonial-card strong {
  color: #295265;
}

/***** PRINT FRIENDLY & ACCESSIBILITY MINIMUMS *****/
@media print {
  .mobile-menu, .mobile-menu-toggle, #cookie-consent-banner, #cookie-modal, .footer-nav { display: none !important; }
  header, footer { box-shadow: none !important; }
  body { background: #fff !important; color: #000; }
}

/***** END OF CSS *****/
