/* =====================
   CSS 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: inherit;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #183447;
  background: #f5f7fa;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #15446e;
  text-decoration: none;
  transition: color .2s;
}
a:hover,
a:focus {
  color: #f4b041;
  outline: none;
}
ul, ol {
  margin-left: 22px;
  margin-bottom: 16px;
  padding-left: 0;
}
li {
  margin-bottom: 10px;
}
strong {
  font-weight: 700;
}

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #15446e;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 14px;
  color: #193b53;
  font-weight: 400;
}
.text-section p:last-child {
  margin-bottom: 0;
}

/* =====================
   CONTAINER & LAYOUT
   ===================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(33,60,84,0.07);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: 0 6px 18px 0 rgba(21,68,110,0.13);
}
.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: #e0e6ed;
  color: #183447;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(33,60,84,0.09);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 600px;
}
.testimonial-card p {
  color: #183447;
  margin-bottom: 5px;
  font-style: italic;
}
.testimonial-card strong {
  color: #15446e;
  font-weight: 700;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid, .service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 6px;
}
.feature-grid > div, .service-cards > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(21,68,110,0.07);
  flex: 1 1 260px;
  min-width: 230px;
  padding: 28px 18px 24px 18px;
  transition: box-shadow .2s, transform .18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-grid > div:hover, .service-cards > div:hover {
  box-shadow: 0 6px 18px 0 rgba(21,68,110,0.13);
  transform: translateY(-4px);
}

/* =====================
   HEADER + NAVIGATION
   ===================== */
header {
  background: #fff;
  border-bottom: 1px solid #e0e6ed;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1090;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
header img {
  height: 46px;
  margin-right: 26px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #183447;
  padding: 8px 14px;
  border-radius: 7px;
  transition: background .18s, color .18s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #e0e6ed;
  color: #15446e;
}
.main-nav .cta-main {
  background: #15446e;
  color: #fff;
  border-radius: 7px;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(21,68,110,0.07);
  padding: 8px 20px;
  transition: background .22s, color .14s;
}
.main-nav .cta-main:hover,
.main-nav .cta-main:focus {
  background: #183447;
  color: #f4b041;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #15446e;
  cursor: pointer;
  display: none;
  padding: 8px 12px;
  transition: background .15s;
  border-radius: 7px;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #f4b041;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,44,74,0.98);
  color: #fff;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.77,.2,.05,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: -4px 0 28px rgba(21,44,74,0.13);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  margin: 18px 24px 12px 0;
  padding: 6px 12px;
  border-radius: 7px;
  transition: background .18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: rgba(255,255,255,0.16);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  padding-left: 40px;
  margin-top: 36px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  width: 100%;
  transition: color .15s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #f4b041;
}

/* Show/hide nav and burger */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 700px) {
  header .container {
    padding: 0 12px;
  }
  header img {
    height: 38px;
    margin-right: 18px;
  }
}

/* =====================
   HERO & SECTION BASE
   ===================== */
.hero {
  background: linear-gradient(96deg, #e0e6ed 90%, #f5f7fa 100%);
  border-bottom: 1px solid #e0e6ed;
  margin-bottom: 0;
  padding-top: 40px;
  padding-bottom: 38px;
}
.hero .content-wrapper {
  max-width: 790px;
  margin: 0 auto;
}
.contact-cta {
  background: #f4f6fa;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(21,68,110,0.06);
  margin-top: 40px;
  margin-bottom: 60px;
}
.kontakt-details {
  background: #ffffff;
  border: 1px solid #e0e6ed;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(33,60,84,0.07);
  margin-top: 40px;
}

/* =====================
   BUTTONS & INTERACTIONS
   ===================== */
.cta-main, .cta-btn, button, input[type=submit] {
  background: #15446e;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  padding: 10px 28px;
  border: none;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(21,68,110,0.07);
  cursor: pointer;
  transition: background .19s, color .16s, box-shadow .18s, transform .13s;
  text-align: center;
  display: inline-block;
  margin-top: 6px;
}
.cta-main:hover, .cta-btn:hover, button:hover, input[type=submit]:hover {
  background: #183447;
  color: #f4b041;
  transform: translateY(-1.5px) scale(1.025);
  box-shadow: 0 4px 12px rgba(21,68,110,0.11);
}
.cta-main:focus, .cta-btn:focus {
  outline: 2px solid #f4b041;
  outline-offset: 2px;
}

/* Inputs */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 14px;
  border: 1px solid #ccd6e2;
  border-radius: 7px;
  background: #f9fbfd;
  margin-bottom: 14px;
  transition: border-color .16s;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border-color: #15446e;
  outline: none;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: #15446e;
  color: #fff;
  padding: 22px 0 12px 0;
  font-size: 0.98rem;
  margin-top: 30px;
}
footer .container {
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: #fff;
  opacity: 0.87;
  font-size: 1rem;
  padding: 5px 9px;
  border-radius: 6px;
  transition: background .15s, color .13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #f4b041;
  color: #15446e;
}
footer p {
  margin-bottom: 0;
  color: #dde9fb;
}

/* =====================
   UTILITIES FOR FLEX SPACING
   ===================== */
.mt-0  { margin-top: 0 !important; }
.mb-0  { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.gap-24 { gap: 24px !important; }

/* =====================
   RESPONSIVE DESIGN
   ===================== */
@media (max-width: 990px) {
  .feature-grid, .service-cards {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 880px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 768px) {
  .content-grid, .feature-grid, .service-cards {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .section,
  .hero {
    padding: 24px 6px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .card, .testimonial-card {
    min-width: unset;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .feature-grid > div, .service-cards > div {
    min-width: 100%;
    padding: 22px 8px 16px 12px;
  }
  .testimonial-card {
    padding: 14px;
    min-width: unset;
    max-width: 100%;
    font-size: 1rem;
  }
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2100;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(21,68,110,0.13);
  border-top: 2px solid #e0e6ed;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  min-height: 74px;
  gap: 28px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s, visibility 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  color: #183447;
  font-size: 1.05rem;
  flex: 1 1 auto;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  background: #15446e;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 7px;
  padding: 8px 17px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .14s, color .13s, transform .13s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #183447;
  color: #f4b041;
}
.cookie-banner .btn-secondary {
  background: #e0e6ed;
  color: #15446e;
}
.cookie-banner .btn-secondary:hover {
  background: #c4cedb;
  color: #15446e;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 10px 18px 10px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: row;
    gap: 9px;
  }
}

/* COOKIE PREFERENCE MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background: rgba(24,44,74,0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2200;
  opacity: 1;
  visibility: visible;
  transition: opacity .22s, visibility .22s;
}
.cookie-modal.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(21,68,110,0.25);
  padding: 36px 32px 28px 32px;
  width: 98%;
  max-width: 420px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  color: #183447;
  animation: modalIn .31s cubic-bezier(.55,.12,.35,1);
}
@keyframes modalIn {
  0% { transform: scale(.88) translateY(-80px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #15446e;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #15446e;
  cursor: pointer;
  border-radius: 7px;
  transition: background .13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #e0e6ed;
}
.cookie-modal-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 1.04rem;
}
.cookie-category label {
  font-weight: 500;
  cursor: pointer;
}
.cookie-toggle {
  width: 42px;
  height: 24px;
  border-radius: 12px;
  background: #e0e6ed;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: background .15s;
}
.cookie-toggle input[type=checkbox] {
  display: none;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #c1c5cd;
  transition: left .2s, background .2s;
}
.cookie-toggle input[type=checkbox]:checked + .slider {
  background: #15446e;
  left: 20px;
}
.cookie-actions-modal {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 18px;
}
.cookie-actions-modal button {
  padding: 8px 17px;
  font-size: 1rem;
}

/* =====================
   MISCELLANEOUS UTILITIES
   ===================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 740px;
}
.section h2, .section h3, .section h4 {
  margin-bottom: 10px;
}
.section ul li, .section ol li {
  margin-bottom: 9px;
}
.section ul {
  list-style: disc inside;
}
.section ol {
  list-style: decimal inside;
}

/* ==============
   ICON STYLES
   ============== */
.feature-grid img, .service-cards img, ul li img, p img {
  margin-right: 8px;
  vertical-align: middle;
  height: 28px; width: auto;
  display: inline-block;
}

/* ==============
   ALERTS, MESSAGES
   ============= */
.alert, .success-message {
  background: #e0e6ed;
  color: #15446e;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 26px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  box-shadow: 0 2px 8px rgba(21,68,110,0.09);
}

/* =================
   THANK YOU PAGE BTN
   ================= */
.thank-you .cta-main {
  margin-top: 14px;
  font-size: 1.20rem;
  min-width: 216px;
}

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