/* ==========================================================================
   CSS RESET & BASELINE NORMALIZATION
   ========================================================================== */
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, main, 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; height: 100%; }
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  background: #F5F5F5;
  color: #223857;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #223857;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus { color: #60B2D3; outline: none; }
ul, ol { list-style: none; }
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

/* ==========================================================================
   BRAND TYPOGRAPHY – BOLD, MODERN, CLEAR HIERARCHY
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: #223857;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
}
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
strong, b {
  font-weight: 700;
  color: #223857;
}
em, i {
  font-style: italic;
  color: #60B2D3;
}

/* ==========================================================================
   CONTAINER & GLOBAL SPACING
   ========================================================================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(34,56,87,0.08), 0 1.5px 6px rgba(96,178,211,0.03);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.text-section {
  margin-bottom: 20px;
}

/* ==========================================================================
   HEADER & MAIN NAVIGATION – DESKTOP
   ========================================================================== */
header {
  background: #223857;
  color: #fff;
  padding: 0;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(34,56,87,0.09);
}
header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header nav {
  display: flex;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  padding: 8px 4px;
  border-radius: 6px;
  transition: background 0.16s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #60B2D3;
  color: #223857;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #60B2D3;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 32px;
  margin-left: 24px;
  box-shadow: 0 2px 8px rgba(96,178,211,0.16);
  letter-spacing: 1px;
  border: none;
  transition: background .2s, color .15s, box-shadow .15s;
  display: inline-block;
  text-transform: uppercase;
}
.cta-btn:hover, .cta-btn:focus {
  background: #223857;
  color: #60B2D3;
  box-shadow: 0 5px 18px rgba(34,56,87,0.20);
}
header img {
  height: 44px;
  width: auto;
}

/* Hide mobile nav on desktop */
.mobile-menu-toggle, .mobile-menu {
  display: none;
}

/* ==========================================================================
   FLEXBOX – LAYOUT PATTERNS
   ========================================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 0 0;
}
.card {
  flex: 1 1 320px;
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3.5px 16px rgba(34,56,87,0.09);
  padding: 32px 28px;
  transition: box-shadow 0.15s, transform 0.13s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
  max-width: 420px;
}
.card:hover {
  box-shadow: 0 12px 36px rgba(96,178,211,0.18);
  transform: translateY(-10px) scale(1.03);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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: #f5f5f5;
  border-radius: 16px;
  box-shadow: 0 1.5px 6px rgba(34,56,87,0.09);
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.testimonial-card p {
  color: #223857;
  margin-bottom: 0;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  flex: 1 1 auto;
}
.testimonial-info {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: .97rem;
  color: #60B2D3;
  font-weight: 500;
  margin-left: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 20px 18px;
  margin-bottom: 20px;
}

/* Spacing for in-section lists */
ul li:not(:last-child), ol li:not(:last-child) {
  margin-bottom: 12px;
}
ul {
  padding-left: 0;
}

/* Icon inside feature/service list */
ul li img {
  vertical-align: middle;
  margin-right: 10px;
  height: 1.6em;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: #223857;
  color: #fff;
  padding: 0;
  font-size: 1rem;
  letter-spacing: 0.2px;
}
footer .container {
  padding-top: 40px;
  padding-bottom: 40px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
}
.footer-brand img {
  width: 38px;
  height: auto;
  margin-right: 10px;
}
footer nav {
  display: flex;
  gap: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer nav a {
  color: #60B2D3;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
}
.footer-contact {
  font-family: 'Roboto', Arial, sans-serif;
  color: #fff;
  margin-top: 6px;
  font-size: .97rem;
  font-weight: 500;
}

/* ==========================================================================
   MOBILE MENU (BURGER MENU & SLIDE-IN NAV)
   ========================================================================== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 16px;
  right: 20px;
  background: #60B2D3;
  color: #223857;
  font-size: 2rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  z-index: 1101;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 4px 12px rgba(34,56,87,0.10);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #223857;
  color: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #223857;
  z-index: 1200;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.68, -.55, .27, 1.55);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 28px;
  top: 24px;
  background: #60B2D3;
  color: #223857;
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1202;
  box-shadow: 0 4px 12px rgba(34,56,87,0.10);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #223857;
  color: #fff;
}
.mobile-nav {
  padding-top: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  gap: 34px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 18px 0;
  border-radius: 12px;
  width: 85vw;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #60B2D3;
  color: #223857;
}

/* ==========================================================================
   COOKIE CONSENT BANNER & MODAL
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1400;
  background: #223857;
  color: #fff;
  box-shadow: 0 -2.5px 24px rgba(34,56,87,0.17);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 14px 18px;
  gap: 16px;
}
.cookie-banner p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 0;
  max-width: 700px;
  text-align: center;
}
.cookie-actions {
  display: flex;
  gap: 18px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #60B2D3;
  color: #223857;
  padding: 11px 26px;
  border-radius: 28px;
  font-weight: 900;
  font-size: 1rem;
  border: none;
  margin: 0 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.17s, color 0.15s;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #fff;
  color: #60B2D3;
}
.cookie-btn.settings {
  background: #fff;
  color: #223857;
  border: 1.5px solid #60B2D3;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #60B2D3;
  color: #fff;
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1500;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,56,87,0.83);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.31s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #223857;
  padding: 38px 28px 28px;
  border-radius: 20px;
  min-width: 320px;
  max-width: 96vw;
  width: 420px;
  box-shadow: 0 8px 34px rgba(34,56,87,0.21);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: popin 0.35s cubic-bezier(.42,0,0,1) both;
}
@keyframes popin {
  0%   { transform: scale(.85); opacity: 0; }
  80%  { transform: scale(1.04); }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
  letter-spacing: 0.8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
  padding: 16px;
  background: #F5F5F5;
  border-radius: 10px;
  font-weight: 500;
}
.cookie-category .toggle {
  width: 42px;
  height: 24px;
  background: #ddd;
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-category .toggle.enabled {
  background: #60B2D3;
}
.cookie-category .toggle:after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.17s;
}
.cookie-category .toggle.enabled:after {
  left: 20px;
  background: #223857;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: #60B2D3;
  color: #223857;
  border: none;
  border-radius: 50%;
  width: 39px;
  height: 39px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #223857;
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE DESIGN – MOBILE-FIRST
   ========================================================================== */
@media (max-width: 1020px) {
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .container {
    padding: 0 10px;
    max-width: 100vw;
  }
  .section {
    padding: 20px 8px;
    margin-bottom: 32px;
    border-radius: 12px;
  }
  .content-grid,
  .text-image-section,
  .footer .content-wrapper {
    flex-direction: column;
    gap: 16px !important;
    align-items: flex-start;
  }
  .card-container {
    gap: 16px;
  }
  .card {
    min-width: unset;
    width: 100%;
    padding: 20px 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 9px;
  }
  .feature-item {
    padding: 14px 7px;
    font-size: 1rem;
  }
  .footer-brand {
    font-size: 1rem;
  }

  header .container {
    padding: 0 10px;
    min-height: 56px;
    gap: 12px;
  }
}

/* --- MOBILE NAVIGATION --- */
@media (max-width: 900px) {
  header nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 900px) {
  .mobile-menu {
    display: flex;
    flex-direction: column;
    top: 0; left: 0; bottom: 0; right: 0;
  }
}

/* ==========================================================================
   FORM STYLES (Kontakt etc.)
   ========================================================================== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1.5px solid #E1E5EA;
  background: #fff;
  margin-bottom: 20px;
  outline: none;
  width: 100%;
  transition: border-color 0.16s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #60B2D3;
  box-shadow: 0 2px 0px rgba(96,178,211,0.12);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 5px;
  display: block;
  color: #223857;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   MICRO-INTERACTIONS & SHADOWS
   ========================================================================== */
.card, .section, .testimonial-card, .feature-item, .cookie-modal {
  transition: box-shadow 0.17s, transform 0.15s;
}
.card:active, .section:active, .testimonial-card:active, .feature-item:active {
  transform: scale(.98);
  box-shadow: 0 .5px 2px rgba(34,56,87,0.09);
}

/* ==========================================================================
   MISCELLANEOUS
   ========================================================================== */
::-webkit-scrollbar {
  width: 9px;
  background: #e6e6e6;
}
::-webkit-scrollbar-thumb {
  background: #60b2d3;
  border-radius: 16px;
}

/* Selection highlight */
::selection {
  background: #60B2D3;
  color: #fff;
}

/* ==========================================================================
   HIGH CONTRAST – Testimonials/reviews on light backgrounds
   ========================================================================== */
.testimonial-card, .feature-item {
  background: #f5f5f5 !important;
  color: #223857 !important;
}

/* ==========================================================================
   GEOMETRIC & BOLD ELEMENT ACCENTS
   ========================================================================== */
section {
  position: relative;
  z-index: 1;
}
section:before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  border-radius: 60px;
  background: #60B2D3;
  opacity: 0.09;
  width: 90px;
  height: 90px;
  top: -32px;
  left: -18px;
}
.section:last-child:after {
  content: '';
  position: absolute;
  right: 16px;
  bottom: -22px;
  width: 48px;
  height: 48px;
  border-radius: 24px 18px 33px 46px;
  background: #60B2D3;
  opacity: 0.14;
  z-index: 0;
}

/* ==========================================================================
   PRINT STYLES (optional, for accessibility)
   ========================================================================== */
@media print {
  header, footer, .cta-btn, .cookie-banner, .mobile-menu { display: none !important; }
  body { color: #000; background: #fff; }
}
