/* ============================================================
   GlanzLöwe – Creative Artistic Flexbox CSS Theme
   Brand: Modern, Artistic, Vibrant – No CSS Grid, Only Flexbox!
   ============================================================ */
/* --------------------
   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,
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F5F8F9;
  color: #202531;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
a {
  color: #22608A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3CB496;
}
ul, ol {
  padding-left: 24px;
  margin: 12px 0;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
:focus {
  outline: 2px solid #22608A;
  outline-offset: 2px;
}

/* ---------------------------
   ARTISTIC BRAND TYPOGRAPHY
---------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  letter-spacing: 0.5px;
  color: #22608A;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }
h4 { font-size: 1.2rem; margin-bottom: 12px; }
h5 { font-size: 1rem; margin-bottom: 8px; }
h6 { font-size: 0.9rem; margin-bottom: 6px; }

p, li, address, .subheadline {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #222c37;
  margin-bottom: 12px;
}
.subheadline {
  font-size: 1.12rem;
  font-weight: 500;
  color: #3CB496;
  margin-bottom: 18px;
  font-family: 'Montserrat','Open Sans', Arial, sans-serif;
}
strong { font-weight: 700 !important; }

blockquote {
  border-left: 5px solid #3CB496;
  padding-left: 18px;
  margin: 24px 0;
  font-style: italic;
  color: #22608A;
  background: #e2f2ef;
}

/* ----------------------
   FLEXBOX CONTAINERS
----------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 36px 36px 16px 16px;
  box-shadow: 0 6px 24px rgba(45,96,138,0.08), 0 1.5px 4.5px #3cb49622;
  position: relative;
}

/* FLEX GROUPS for Cards */
.card-container, .card-grid, .feature-grid, .usp-list, .service-categories, .pricing-table, .case-studies {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .feature, .usp, .service-category, .pricing-tier, .case-summary-card {
  margin-bottom: 20px;
  position: relative;
  background: #fefefe;
  border-radius: 22px;
  box-shadow: 0 2px 16px #22608A0a;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover, .feature:hover, .usp:hover, .service-category:hover, .pricing-tier:hover, .case-summary-card:hover {
  box-shadow: 0 10px 36px #22608A25, 0 1.5px 4.5px #3cb49622;
  transform: translateY(-3px) scale(1.03);
}

.feature-grid, .service-categories, .pricing-table, .case-studies {
  gap: 24px !important;
}

/* Spacing for content grid */
.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: center;
  gap: 20px;
  padding: 20px;
  background: #F5F8F9;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px #22608A12;
  border-left: 6px solid #3CB496;
}
.testimonial-meta {
  font-size: 0.95rem;
  color: #22608A;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: -8px;
  letter-spacing: 0.04em;
}
/* Visual separation for case studies */
.case-summary-card {
  min-width: 250px;
  flex: 1 1 260px;
  padding: 24px 22px 18px 24px;
  background: #fff;
  border-left: 6px solid #22608A;
  margin-bottom: 20px;
}

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

/* -------------------------------------
   CREATIVE ARTISTIC BUTTONS & ELEMENTS 
--------------------------------------- */
.button-primary, .button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 32px;
  font-size: 1.08rem;
  font-weight: bold;
  transition: background 0.15s, box-shadow 0.15s, color 0.15s, transform 0.18s;
  box-shadow: 0 4px 18px #22608A18;
  text-shadow: 0 1px 2px #fff4;
  border: none;
}
.button-primary {
  background: linear-gradient(90deg, #22608A 85%, #3CB496 100%);
  color: #fff;
  letter-spacing: 0.05em;
  border: 2px solid #22608A;
}
.button-primary:hover, .button-primary:focus {
  background: linear-gradient(90deg, #247ddd 75%, #3CB496 100%);
  color: #fff;
  box-shadow: 0 8px 24px #22608A33;
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
}
.button-secondary {
  background: #fff;
  color: #3CB496;
  border: 2px solid #3CB496;
}
.button-secondary:hover, .button-secondary:focus {
  background: #3CB496;
  color: #fff;
  box-shadow: 0 8px 16px #3CB49625;
  transform: translateY(-2px) scale(1.04) rotate(1deg);
}


/* -------------
   HEADER STYLING
-------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 6px 24px rgba(34,96,138,0.06);
  position: sticky;
  top: 0;
  z-index: 1200;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 78px;
}
header a img {
  height: 45px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  color: #22608A;
  padding: 6px 14px;
  border-radius: 12px;
  margin: 0 2px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.main-nav a:hover, .main-nav a.active {
  background: #3CB49622;
  color: #3CB496;
  box-shadow: 0 2px 8px #3CB49618;
}

/* ----------------------
   HAMBURGER MENU – MOBILE
------------------------ */
.mobile-menu-toggle {
  display: none;
  background: #22608A;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2101;
  margin-left: auto;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:hover {
  background: #3CB496;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 32px #22608A44;
  z-index: 2100;
  display: flex;
  flex-direction: column;
  transform: translateX(100vw);
  transition: transform 0.45s cubic-bezier(.6,.05,.31,.92);
  padding: 28px 28px 12px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #3CB496;
  color: #fff;
  border-radius: 50%;
  border: none;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 18px;
  transition: background 0.2s, color 0.2s;
  z-index: 2200;
}
.mobile-menu-close:hover {
  background: #22608A;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  background: none;
  padding: 12px 0 12px 10px;
  color: #22608A;
  border-radius: 8px;
  font-weight: 600;
  width: 100%;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover {
  background: #3CB49612;
  color: #3CB496;
}

@media (max-width: 1099px) {
  header .container { gap: 18px; }
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 880px) {
  .main-nav a {
    font-size: 1rem;
    padding: 6px 6px;
  }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .button-primary { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ----------------------
   HERO BANNERS & BACKGROUNDS
------------------------- */
.hero {
  min-height: 44vh;
  background: linear-gradient(96deg,#f5f8f9 58%, #22608A12 100%);
  border-radius: 0 0 60px 60px;
  margin-bottom: 40px;
  overflow: hidden;
  position: relative;
}
.hero .container {
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.hero .content-wrapper {
  text-align: center;
  align-items: center;
  gap: 18px;
}
.hero h1 {
  color: #22608A;
  font-size: 2.35rem;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 1.13rem;
  color: #38886d;
}

/* -------------------------------------------
   FEATURE CARDS, USPs, SERVICE CATEGORIES
-------------------------------------------- */
.feature-grid, .usp-list, .service-categories {
  width: 100%;
  justify-content: flex-start;
}
.feature, .usp, .service-category {
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 360px;
  padding: 32px 24px 24px 24px;
  text-align: left;
  border-left: 5px solid #3CB496;
}
.feature img, .usp img, .service-category img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  filter: drop-shadow(0 3px 6px #22608A18);
}
.feature h3, .usp h3, .service-category h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #22608a;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature p, .usp p, .service-category p {
  color: #245059;
  font-size: 1rem;
}

/* ----------------------------------------
   PRICING TABLE – 'Prices' Page Only
------------------------------------------ */
.pricing-table {
  width: 100%;
  justify-content: flex-start;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 28px;
}
.pricing-tier {
  flex: 1 1 210px;
  min-width: 190px;
  max-width: 330px;
  padding: 32px 22px 24px 22px;
  text-align: left;
  border-left: 4px solid #3CB496;
}
.pricing-tier h3 {
  color: #22608A;
  font-size: 1.18rem;
}
.pricing-tier ul {
  margin-bottom: 14px;
  color: #22608A;
}
.pricing-tier p {
  font-size: 1.23rem;
  font-weight: bold;
  color: #3CB496;
}
/* Table Compare */
table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 2px 15px #22608A12;
  background: #fff;
}
thead {
  background: #22608A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
}
th, td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid #dde5ec;
}
th:first-child, td:first-child {
  text-align: left;
}
tbody tr:nth-child(even){ background: #f5f8f9; }
tbody tr:hover{ background: #e2f2ef; }

/* FAQ LIST */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 18px;
}
.faq-item h3 {
  color: #3CB496;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  margin-bottom: 5px;
}
.faq-item p {
  font-size: 1rem;
}

/* ------------------
   CONTACT DETAILS
------------------- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.05rem;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 2px;
}
.contact-details img {
  width: 26px;
  height: 26px;
}
.location-map {
  background: #e2f2ef;
  padding: 18px 12px;
  border-radius: 14px;
  color: #22608A;
  margin-top: 12px;
}

/* -----------------------------------------
   FOOTER
------------------------------------------ */
footer {
  background: #22608A;
  color: #fff;
  padding: 36px 0 18px 0;
  border-radius: 60px 60px 0 0;
  margin-top: 40px;
  box-shadow: 0 -4px 18px #22608A11;
}
footer .container {
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #3CB496;
  background: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border-radius: 14px;
  padding: 8px 14px;
  font-size: 1.01rem;
  transition: background 0.11s, color 0.11s;
}
.footer-nav a:hover {
  background: #3CB496;
  color: #fff;
}
address {
  font-style: normal;
  font-size: 0.99rem;
  color: #e4f2ed;
  margin-bottom: 7px;
}
small {
  display: block;
  font-size: 0.92rem;
  color: #bbe2d5;
}

/* -------------------
   COOKIE CONSENT BANNER
-------------------- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #22608A;
  color: #fff;
  padding: 24px 18px 15px 18px;
  box-shadow: 0 -3px 19px #22608A33;
  z-index: 5400;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  transition: transform 0.28s;
  transform: translateY(0);
}
.cookie-consent-banner.closed {
  transform: translateY(160%);
  pointer-events: none;
  opacity: 0.2;
}
.cookie-banner-text {
  font-size: 1rem;
  flex: 2 1 280px;
  color: #fff;
  margin-right: 30px;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-accept-btn, .cookie-reject-btn, .cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  border-radius: 26px;
  padding: 10px 22px;
  border: none;
  font-weight: bold;
  transition: background 0.13s, color 0.13s, box-shadow 0.14s;
}
.cookie-accept-btn {
  background: #3CB496;
  color: #fff;
}
.cookie-accept-btn:hover { background: #27876a; }
.cookie-reject-btn {
  background: #fff;
  color: #22608A;
  border: 1.5px solid #22608A;
}
.cookie-reject-btn:hover {
  background: #22608A;
  color: #fff;
}
.cookie-settings-btn {
  background: transparent;
  color: #3CB496;
  border: 1.5px solid #3CB496;
}
.cookie-settings-btn:hover {
  background: #3CB496;
  color: #fff;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 5600;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #22608Abb;
  align-items: center;
  justify-content: center;
  transition: opacity 0.27s;
}
.cookie-modal.open {
  display: flex;
  animation: modalIn 0.4s cubic-bezier(.66,.03,.46,1.07);
}
@keyframes modalIn {
  0% { opacity: 0; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal-inner {
  background: #fff;
  border-radius: 24px;
  padding: 34px 30px 26px 30px;
  box-shadow: 0 8px 40px #22608A33;
  min-width: 320px;
  max-width: 95vw;
  flex-direction: column;
  display: flex;
}
.cookie-modal-inner h2 {
  color: #22608A;
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.cookie-modal-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #202531;
  flex: 1 0 140px;
}
.cookie-category-toggle {
  accent-color: #3CB496;
  width: 22px; height: 22px;
}
.cookie-category-essential {
  font-size: 0.96rem;
  color: #22608A;
  font-weight: bold;
  margin-left: 10px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 15px;
  align-items: center;
  justify-content: flex-end;
}

/* ----------------------
   OTHER UTILITY CLASSES
------------------------ */
ul.benefits-list {
  color: #3CB496;
  font-size: 1.07rem;
  margin-bottom: 15px;
  margin-top: 12px;
}
.certifications {
  margin-top: 7px;
  color: #22608A;
  font-size: 0.97rem;
}

/* --------------------------------------
   RESPONSIVE FLEX AND TYPOGRAPHY ORDERING
---------------------------------------- */
@media (max-width: 1150px) {
  .feature-grid, .usp-list, .service-categories, .pricing-table, .card-grid {
    gap: 18px!important;
  }
}
@media (max-width: 1020px) {
  .feature, .usp, .service-category, .pricing-tier {
    min-width: 150px;
    padding: 24px 10px 16px 14px;
  }
  .content-wrapper { gap: 8px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .footer-nav { gap: 10px; }
  .case-studies, .pricing-table {
    flex-direction: column;
  }
}
@media (max-width: 810px) {
  .hero .container {
    min-height: 210px;
  }
  .feature-grid, .service-categories, .usp-list, .card-grid {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  html { font-size: 97.5%; }
  .section { margin-bottom: 32px; padding: 23px 6px; border-radius: 22px; }
  .footer-nav { flex-wrap: wrap; gap: 8px; }
  .feature, .pricing-tier, .usp, .service-category, .case-summary-card {
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    padding: 15px 4vw 12px 4vw;
    margin-bottom: 15px;
  }
  .card-container, .feature-grid, .usp-list, .service-categories, .pricing-table {
    gap: 14px !important;
  }
  .content-wrapper {
    gap: 6px;
  }
  .hero h1 { font-size: 1.5rem; }
  .hero { border-radius: 0 0 34px 34px; min-height: 23vh; }
  .testimonial-card { padding: 13px; }
  .case-summary-card { padding-right: 5vw; padding-left: 5vw; }
  .text-image-section { flex-direction: column; align-items: stretch; gap: 20px; }
  .cookie-consent-banner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 6px 8px 6px; font-size: 0.98rem; }
  .cookie-banner-text { margin-right: 0; }
  .cookie-modal-inner { padding: 18px 6vw 16px 6vw; min-width: 0; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.15rem; }
  h2 { font-size: 1.04rem; }
  .hero h1 { font-size: 1.1rem; }
  .pricing-table, .usp-list, .feature-grid, .service-categories {
    gap: 8px !important;
  }
}

/* MICRO-INTERACTIONS / ANIMATIONS */
.button-primary, .button-secondary,
.button-primary *, .button-secondary * {
  transition: background 0.15s, color 0.15s, box-shadow 0.18s, transform 0.18s;
}
.card, .feature, .pricing-tier, .usp, .service-category, .case-summary-card {
  transition: box-shadow 0.24s, transform 0.21s;
}
.testimonial-card {
  transition: box-shadow 0.17s, border 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px #3cb49644;
  border-left: 6px solid #22608A;
}

/* Form elements for future-proofing */
input, textarea, select {
  font-family: inherit;
  border-radius: 12px;
  border: 1.5px solid #dde5ec;
  padding: 12px 13px;
  font-size: 1rem;
  margin-bottom: 14px;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #3CB496;
  box-shadow: 0 1px 7px #3CB49628;
}

/* ARIA/LABEL UTILITY */
[aria-label] { cursor: pointer; }

/* Artistic/Handdrawn Touches */
.section::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: -25px; left: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #3cb49618;
  filter: blur(1px);
  opacity: .54;
  pointer-events: none;
  display: block;
  /* Some fun! */
}
.section:nth-child(even)::before {
  left: initial; right: 23px; top: -32px;
}
@media (max-width: 768px) {
  .section::before { display: none; }
}

/* Hide visually but keep accessible */
.sr-only {
  position: absolute; 
  width: 1px; 
  height: 1px; 
  padding: 0; 
  margin: -1px; 
  overflow: hidden; 
  clip: rect(0,0,0,0); 
  border: 0;
}
