/* === 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-size: 100%;
  font: inherit;
  box-sizing: border-box;
  vertical-align: baseline;
}
html {
  height: 100%;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #181F24;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background-color: #F5F7FA;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #181F24;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #226C83;
  text-decoration: none;
  transition: color 0.15s;
}
a:focus, a:hover {
  color: #4CB872;
  outline: none;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 8px;
  text-align: left;
}
th {
  background: #226C83;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
tr:nth-child(even) td {
  background: #F5F7FA;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #181F24;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 16px;
  line-height: 1.15;
  color: #226C83;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
}

/* === COLOR PALETTE FOR "vibrant_energetic" === */
:root {
  --brand-primary: #226C83;
  --brand-accent: #29874B;
  --brand-highlight: #4CB872;
  --brand-bg: #F5F7FA;
  --brand-card-bg: #fff;
  --brand-danger: #FF3860;
  --brand-yellow: #FFD600;
  --brand-violet: #6050DC;
  --brand-orange: #FF9400;
  --brand-dark: #181F24;
  --brand-link: #08B2E3;
}

/* === CONTAINER & SPACING === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 40px;
  }
}

/* === HEADER & MAIN NAVIGATION === */
header {
  background: var(--brand-primary);
  color: #fff;
  padding: 0;
  width: 100%;
  box-shadow: 0 4px 24px rgba(34,108,131,0.10);
  position: relative;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  max-width: 1120px;
  margin: 0 auto;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.main-nav ul li {
  margin: 0;
}
.main-nav ul li a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 7px;
  transition: background 0.12s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: var(--brand-accent);
  color: #fff;
}
.main-nav > a img {
  height: 42px;
  width: auto;
  margin-right: 8px;
}
.main-nav .btn-primary {
  margin-left: 22px;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #fff;
  cursor: pointer;
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 70;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--brand-accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 3px 24px rgba(34,108,131,0.10);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.59,-0.09,.53,1.31);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--brand-primary);
  align-self: flex-end;
  margin: 16px 18px 0 0;
  cursor: pointer;
  transition: color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-accent);
}
.mobile-nav {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  font-size: 1.35rem;
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: color 0.14s, background 0.12s;
  padding: 10px 8px;
  border-radius: 5px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--brand-accent);
  color: #fff;
}

@media (max-width: 1080px) {
  .main-nav ul {
    gap: 8px;
  }
  .main-nav > a {
    margin-left: 6px;
  }
}
@media (max-width: 950px) {
  .main-nav {
    max-width: 95vw;
    padding: 10px 7px;
  }
}
@media (max-width: 860px) {
  .main-nav ul, .main-nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* === GENERAL BUTTONS === */
.btn-primary, .btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1.14rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  padding: 14px 32px;
  box-shadow: 0 2px 14px rgba(34, 108, 131, 0.12);
  margin-top: 14px;
  min-width: 180px;
  margin-bottom: 6px;
  transition: background 0.19s, color 0.16s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(90deg, #226C83 65%, #4CB872 100%);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(270deg, #226C83 65%, #29874B 100%);
  color: #FFD600;
  box-shadow: 0 8px 32px rgba(76,184,114,0.18);
}
.btn-secondary {
  background: #FFD600;
  color: #226C83;
  border: 2px solid #FFD600;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #fff;
  color: #226C83;
  border: 2px solid #226C83;
  box-shadow: 0 4px 18px #FFD60044;
}

/* === SECTION LAYOUTS & SPACING === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(34,108,131,0.07);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 220px;
  max-width: 340px;
  padding: 28px 22px;
  transition: box-shadow 0.18s, transform 0.20s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(34,108,131,0.15);
  transform: translateY(-3px) scale(1.017);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(34,108,131,0.10);
  margin-bottom: 20px;
  margin-top: 8px;
  color: #181F24;
  min-width: 220px;
  max-width: 460px;
  border-left: 7px solid #4CB872;
  transition: box-shadow 0.16s;
}
.testimonial-card:focus-within, .testimonial-card:hover {
  box-shadow: 0 12px 30px rgba(76,184,114,0.12);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.featured-post {
  background: var(--brand-highlight);
  color: #fff;
  border-radius: 14px;
  padding: 22px 18px;
  margin: 24px 0 4px 0;
  box-shadow: 0 2px 24px #4CB87222;
  font-size: 1.15em;
}

/* === SERVICE LIST & FEATURE GRID === */
/* On some pages service list is a UL, some DIV with cards */
.service-list, .feature-grid, .post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 16px;
  margin-bottom: 8px;
}
.service-list li, .service-list > div, .feature-grid > div, .post-list article {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(34,108,131,0.08);
  padding: 22px 18px;
  flex: 1 1 240px;
  max-width: 340px;
  min-width: 190px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.17s, transform 0.14s;
  border-left: 5px solid #29874B;
}
.service-list li:hover, .feature-grid > div:hover, .post-list article:hover {
  box-shadow: 0 6px 24px #226C8320;
  transform: translateY(-2px) scale(1.012);
}
.service-list span {
  color: #226C83;
  font-weight: 700;
  font-size: 1.25em;
}
.feature-grid img, .service-list img {
  width: 44px; height: 44px;
  margin-bottom: 7px;
}

/* === BLOG POST CATEGORY FILTER === */
.category-filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  margin-bottom: 22px;
}
.category-filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.category-filter li {
  background: #FFD600;
  color: #226C83;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 18px;
  border-radius: 22px;
  font-size: 0.98em;
}

/* === CONTACT DETAILS CARD === */
.contact-details {
  background: #fff;
  border-radius: 13px;
  padding: 20px;
  box-shadow: 0 2px 14px #226C8312;
  margin-bottom: 18px;
}

.map {
  background: #E2F5EE;
  border-radius: 8px;
  color: #226C83;
  padding: 1em;
  font-weight: 600;
  margin-top: 8px;
}

/* === FOOTER === */
footer {
  background: #226C83;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.01em;
  width: 100%;
  margin-top: 60px;
}
.footer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 8px 24px 8px;
}
.footer-wrapper img {
  width: 52px;
}
.footer-wrapper nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
}
.footer-wrapper nav a {
  color: #FFD600;
  font-weight: 600;
  text-align: center;
  margin: 0 6px;
  transition: color 0.14s;
}
.footer-wrapper nav a:hover, .footer-wrapper nav a:focus {
  color: #fff;
}
.footer-contact {
  text-align: center;
  font-size: 1em;
  margin-bottom: 8px;
  color: #fff;
}
.footer-wrapper p:last-of-type {
  margin-top: 18px;
  color: #FFD600;
  font-weight: 600;
}

/* === RESPONSIVENESS (MOBILE-FIRST) === */
@media (max-width: 900px) {
  .card-container, .service-list, .feature-grid, .content-grid, .post-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-grid > div, .service-list li, .service-list > div, .card {
    min-width: unset;
    max-width: unset;
  }
  .testimonial-card {
    max-width: unset;
  }
}
@media (max-width: 700px) {
  .footer-wrapper {
    padding: 30px 7px 16px 7px;
  }
  .footer-wrapper img {
    width: 40px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .card, .testimonial-card {
    padding: 12px 10px;
    min-width: unset;
    max-width: unset;
  }
}
@media (max-width: 768px) {
  .main-nav {
    flex-direction: row;
    gap: 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}


/* === CTA ANIMATION === */
.btn-primary, .btn-secondary, .mobile-menu, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.22s, color 0.15s, box-shadow 0.20s, transform 0.28s;
}
@media (hover: hover) {
  .btn-primary:hover {
    transform: scale(1.045);
  }
  .btn-secondary:hover {
    transform: scale(1.045);
  }
}

/* === FAQ SECTION STYLING === */
.section > div > div > h3 {
  color: #226C83;
  margin-top: 22px;
  font-size: 1.14em;
}

/* === PRICING TABLE SPECIAL === */
table {
  margin-top: 18px;
  margin-bottom: 28px;
  border-radius: 12px;
  overflow: hidden;
  font-size: 1em;
  background: #fff;
  box-shadow: 0 2px 20px #226C8311;
}
th, td {
  border-bottom: 1px solid #E0E5EA;
}
th {
  background: #226C83;
  color: #fff;
}

/* === MICRO-INTERACTIONS === */
.card, .testimonial-card, .service-list > div, .feature-grid > div, .post-list article {
  transition: box-shadow 0.19s, transform 0.14s;
}
.card:hover, .testimonial-card:hover, .service-list > div:hover, .feature-grid > div:hover, .post-list article:hover {
  box-shadow: 0 10px 32px #226C8325;
  transform: translateY(-4px) scale(1.022);
  cursor: pointer;
}

/* === Cookie Consent Banner (fixed, animated) === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  z-index: 1200;
  background: #fff;
  color: #181F24;
  box-shadow: 0 -4px 32px #226C8320;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 26px 8px 20px 8px;
  font-size: 1.06rem;
  flex-wrap: wrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
  transition: opacity 0.34s, transform 0.28s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 22px;
  padding: 9px 22px;
  border: none;
  outline: none;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.14s, color 0.13s;
}
.cookie-accept {
  background: #4CB872;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #29874B;
  color: #FFD600;
}
.cookie-reject {
  background: #FFD600;
  color: #226C83;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #fff;
  border: 1.5px solid #FFD600;
  color: #181F24;
}
.cookie-settings {
  background: #E2F5EE;
  color: #226C83;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #226C83;
  color: #FFD600;
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 18px 2px 14px 2px;
    font-size: 0.99em;
    flex-direction: column;
    gap: 13px;
  }
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,31,36,0.57);
  z-index: 1300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 380px;
  margin: 40px auto 0 auto;
  padding: 32px 26px 22px 26px;
  box-shadow: 0 12px 60px #29874B33;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1310;
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.cookie-modal h3 {
  color: #226C83;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.27em;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #4CB872;
  width: 18px;
  height: 18px;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-category .cookie-essential {
  color: #226C83;
  font-weight: 700;
  font-size: 1.1em;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 16px;
}

/* === ACCESSIBILITY: FOCUS STATES === */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid #FFD600;
  outline-offset: 2px;
}

/* === HIGHLIGHTS & ENERGETIC APPEAL === */
h1, h2 {
  background: linear-gradient(90deg,#226C83,#FFD600 65%,#4CB872);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
@media (max-width: 640px) {
  h1, h2 {
    line-height: 1.16;
    font-size: 1.38em;
  }
}

/* === ENERGETIC UI DECOR (BORDERS/ACCENTS) === */
.card, .service-list > div, .feature-grid > div, .testimonial-card {
  border-left: 5px solid #FFD600;
}

/* === Z-INDEX SAFE MENU/BANNER === */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, .cookie-modal {
  z-index: 1001;
}

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

/* === EXTRA: THANK YOU PAGE BOOST === */
.thank-you-section h1 {
  color: #4CB872;
  font-size: 2.8rem;
  line-height: 1.1;
  margin: 0 0 22px 0;
}

/* === END OF GLANZMEISTER VIBRANT ENERGETIC CSS === */
