/*---------------------------------------------------------
  CSS RESET & NORMALIZE
---------------------------------------------------------*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  color: #1a2831;
  background: #F4F7F5;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #205072;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.7,.1,.5,1);
}
a:focus {
  outline: 2px solid #49A078;
  outline-offset: 1px;
}

/*---------------------------------------------------------
  FONT IMPORTS
---------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

h1, h2, h3, h4, h5 {
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  color: #205072;
  line-height: 1.15;
  text-rendering: optimizeLegibility;
}
h1 {
  font-size: 2.25rem;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.125rem;
}
h4, h5 { font-size: 1rem; }
p, ul, ol, blockquote { margin-bottom: 16px; font-size: 1rem; }
strong { font-weight: 700; }
ul, ol { padding-left: 1.3em; }
ul { list-style-type: square; }
li { margin-bottom: 8px; }

blockquote {
  border-left: 4px solid #49A078;
  margin-left: 0;
  padding: 10px 16px;
  background: #f1f5f3;
  font-style: italic;
  color: #205072;
  border-radius: 8px;
}

small {
  font-size: 0.89em;
  color: #394e59;
}

/*---------------------------------------------------------
  CONTAINER & GEOMETRIC STRUCTURE
---------------------------------------------------------*/
.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/*---------------------------------------------------------
  HEADER + DESKTOP NAVIGATION
---------------------------------------------------------*/
header {
  width: 100%;
  background: #205072;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 18px 20px;
  box-shadow: 0 2px 16px 0 rgba(32,80,114,0.07);
  position: relative;
  z-index: 100;
}
header img {
  height: 42px;
  margin-right: 18px;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  color: #fff;
  font-family: "Roboto Slab", serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 8px 4px 6px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.18s;
}
header nav a:hover,
header nav a:focus {
  color: #49A078;
  border-bottom: 2.5px solid #49A078;
}

.cta-button {
  background: #49A078;
  color: #fff;
  font-weight: 700;
  font-family: "Roboto Slab", serif;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  padding: 11px 32px 11px 32px;
  border: none;
  border-radius: 10px 22px 10px 22px;
  box-shadow: 0 3px 24px 0 rgba(32,80,114,0.09);
  margin-left: 28px;
  outline: none;
  cursor: pointer;
  transform: skew(-6deg);
  transition: background 0.22s, color 0.17s, box-shadow 0.18s, transform 0.07s;
  display: inline-block;
}
.cta-button:hover,
.cta-button:focus {
  background: #205072;
  color: #fff;
  box-shadow: 0 7px 36px -5px rgba(73,160,120,0.11);
  transform: skew(-6deg) scale(1.045);
}

/* Hide menu toggle by default (mobile only) */
.mobile-menu-toggle {
  display: none;
}

/*---------------------------------------------------------
  MAIN + SECTIONS + LAYOUT
---------------------------------------------------------*/
main {
  width: 100%;
  margin-top: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 18px 0 rgba(32,80,114,0.04);
  position: relative;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.features-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-grid > div, .card {
  background: #f7fbfa;
  border-radius: 15px;
  border: 2.5px solid #e0e5e3;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 310px;
  padding: 26px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 7px 30px 0 rgba(32,80,114,0.07);
  transition: box-shadow 0.18s, border 0.14s, transform 0.12s;
}
.features-grid > div:hover {
  border: 2.5px solid #49A078;
  box-shadow: 0 10px 34px -8px rgba(32,80,114,0.11);
  transform: translateY(-3px) scale(1.025);
}
.features-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}

.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 30px 20px 26px;
  border-radius: 16px;
  background: #f7fbfa;
  margin-bottom: 20px;
  box-shadow: 0 3px 16px 0 rgba(32,80,114,0.09);
  border-left: 6px solid #49A078;
  color: #213344;
}
.testimonial-card p {
  margin-bottom: 0;
  font-size: 1.1rem;
  color: #1a2831;
  flex: 1;
}
.testimonial-card strong {
  font-size: 0.99em;
  color: #205072;
}
.ratings-overview {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  margin-top: 13px;
  color: #205072;
  font-family: "Roboto Slab", serif;
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/*-----------------------------------------------
  FOOTER
-----------------------------------------------*/
footer {
  background: #205072;
  color: #fff;
  width: 100%;
  padding: 0;
  margin-top: 40px;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 0;
}
footer img {
  height: 40px;
  margin-bottom: 11px;
}
footer a {
  color: #fff;
  text-decoration: underline;
  font-size: 1rem;
  transition: color 0.15s;
}
footer a:hover {
  color: #49A078;
}
footer nav {
  margin-top: 12px;
  font-size: 1rem;
}
footer strong {
  font-size: 1.025em;
}

/*---------------------------------------------------------
  MOBILE MENU (BURGER NAVIGATION)
---------------------------------------------------------*/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 23px;
  right: 22px;
  z-index: 300;
  background: #205072;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px -2px rgba(32,80,114,0.14);
  cursor: pointer;
  transition: background 0.12s, transform 0.09s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #49A078;
  color: #fff;
  transform: scale(1.06);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #205072;
  box-shadow: 0 3px 20px 0 rgba(32,80,114, 0.22);
  padding: 42px 0 0 0;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.53,1.5,.4,1);
  will-change: transform;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #49A078;
  color: #fff;
  font-size: 2rem;
  border-radius: 10px;
  border: none;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: background 0.12s, transform 0.09s;
  z-index: 20;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #fff;
  color: #49A078;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 70px 0 0 0;
  align-items: flex-start;
  padding-left: 45px;
  width: 85vw;
}
.mobile-nav a {
  font-family: "Roboto Slab", serif;
  color: #fff;
  font-size: 1.19rem;
  letter-spacing: 0.02em;
  padding: 7px 0;
  width: 100%;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #49A078;
  border-bottom: 2.5px solid #49A078;
}

/* Overlay for menu background blur */
.mobile-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(32,80,114,0.92);
  z-index: 0;
  border-radius: 0;
}

/* Hide main nav, show burger on mobile */
@media (max-width: 991px) {
  header nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .cta-button {
    margin-left: 0 !important;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 97vw;
    padding: 0 10px;
  }
  header {
    flex-direction: row;
    gap: 0;
    padding: 16px 10px;
  }
  .features-grid > div, .card {
    max-width: 100%;
    min-width: 0;
    flex-basis: 100%;
  }
  .content-wrapper {
    gap: 12px;
  }
  section {
    padding: 30px 6px;
    margin-bottom: 32px;
    border-radius: 11px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 15px 12px 16px 16px;
    gap: 8px;
  }
  .card-container, .features-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .footer .content-wrapper {
    gap: 14px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.05rem; }
  h3 { font-size: 1rem; }
  .cta-button {
    font-size: 1rem;
    padding: 8px 15px 8px 15px;
  }
}

/*----------------------------------------------------------
  COOKIE CONSENT BANNER (BOTTOM LEFT/RIGHT)
----------------------------------------------------------*/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #205072;
  color: #fff;
  z-index: 9999;
  padding: 18px 6vw 18px 6vw;
  box-shadow: 0 -4px 20px 0 rgba(32,80,114,0.24);
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(.53,1.5,.4,1), opacity 0.22s;
}
.cookie-consent-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-consent-banner strong {
  color: #49A078;
  font-weight: 700;
}
.cookie-consent-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 9px;
}
.cookie-consent-banner button {
  font-family: "Roboto Slab", serif;
  padding: 7px 18px;
  border-radius: 7px 20px 7px 20px;
  border: none;
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color 0.12s, transform 0.09s;
  margin-right: 4px;
}
.cookie-accept-btn {
  background: #49A078;
  color: #fff;
}
.cookie-accept-btn:hover,
.cookie-accept-btn:focus {
  background: #f4f7f5;
  color: #205072;
}
.cookie-reject-btn {
  background: #fff;
  color: #205072;
  border: 1.5px solid #49A078;
}
.cookie-reject-btn:hover,
.cookie-reject-btn:focus {
  background: #205072;
  color: #fff;
}
.cookie-settings-btn {
  background: transparent;
  color: #fff;
  border: 1.5px solid #49A078;
}
.cookie-settings-btn:hover,
.cookie-settings-btn:focus {
  background: #49A078;
  color: #fff;
}

/*----------------------------------------------------------
  COOKIE MODAL (PREFERENCES)
----------------------------------------------------------*/
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,80,114,0.33);
  align-items: center;
  justify-content: center;
  display: none;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  border: 2px solid #49A078;
  box-shadow: 0 9px 40px 0 rgba(32,80,114,0.15);
  padding: 34px 30px;
  max-width: 440px;
  width: 90vw;
  color: #205072;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
  animation: cookieModalPop .35s cubic-bezier(.62,-0.25,.56,1.44);
}
@keyframes cookieModalPop {
  0% { transform: scale(0.7) translateY(120px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-title {
  font-family: "Roboto Slab", serif;
  color: #205072;
  font-size: 1.22rem;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 12px 0 8px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.07em;
}
.cookie-category label {
  font-family: "Roboto Slab", serif;
  font-size: 1.07em;
  color: #205072;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: #49A078;
  width: 21px;
  height: 21px;
  border-radius: 5px;
  border: 2px solid #205072;
  margin-right: 7px;
}
.cookie-category input[disabled] {
  opacity: 0.45;
}
.cookie-modal-action-row {
  display: flex;
  justify-content: flex-end;
  gap: 13px;
  margin-top: 9px;
}
.cookie-modal-close-btn {
  background: #cf1818;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  padding: 7px 16px;
  transition: background 0.15s;
  cursor: pointer;
}
.cookie-modal-close-btn:hover {
  background: #ef2e2e;
}

/*-----------------------------------------------------------
  GEOMETRIC / STRUCTURED DETAILS (DECORATIVE ONLY)
------------------------------------------------------------*/
section::before {
  content: '';
  display: block;
  position: absolute;
  top: -26px;
  left: 20px;
  width: 50px;
  height: 8px;
  background: #49A078;
  border-radius: 0 5px 5px 0;
  z-index: 1;
  opacity: 0.16;
}
section:nth-child(2)::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -22px;
  right: 18px;
  width: 42px;
  height: 42px;
  background: #205072;
  border-radius: 9px;
  z-index: 1;
  opacity: 0.08;
  transform: rotate(38deg);
}

hr {
  margin: 34px 0;
  border: none;
  border-top: 2px solid #e5efe9;
  width: 100%;
}

/*-----------------------------------------------------------
  INTERACTIVE: BUTTONS, MICRO-ANIMATIONS
------------------------------------------------------------*/
button, .cta-button {
  cursor: pointer;
  transition: background 0.22s, color 0.14s, box-shadow 0.15s, transform 0.12s;
  outline: none;
}
button:focus-visible,
.cta-button:focus-visible {
  outline: 2.5px solid #49A078;
  outline-offset: 2.5px;
}

.card:hover, .card:focus-within {
  box-shadow: 0 8px 36px -3px rgba(32,80,114,0.13);
  border-color: #49A078;
  transform: scale(1.022);
}

li img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
}

/*-----------------------------------------------------------
  SPACING & RESPONSIVE UTILITIES
------------------------------------------------------------*/
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }

/*-----------------------------------------------------------
  ACCESSIBILITY & FOCUS VISIBLE POLYFILL
------------------------------------------------------------*/
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #49A078;
  outline-offset: 1.5px;
}

/*-----------------------------------------------------------
  Z-INDEXING LAYERS
------------------------------------------------------------*/
header { z-index: 100; }
.mobile-menu { z-index: 9999; }
.cookie-consent-banner { z-index: 10999; }

/*-----------------------------------------------------------
  PRINT STYLES
------------------------------------------------------------*/
@media print {
  * { background: #fff !important; color: #111 !important; box-shadow: none !important; }
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  section { box-shadow: none !important; border: none !important; }
}

/*-----------------------------------------------------------
  EDGE CASE: FORM ELEMENTS (if used on kontakt)
------------------------------------------------------------*/
input, textarea, select {
  border: 2px solid #e0e5e3;
  background: #f4f7f5;
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 7px;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #205072;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid #49A078;
}

/*---------------- END OF STYLE -------------------------*/
