/* ---- 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;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #f8fafc;
  color: #182B3A;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.02em;
}
ul, ol {
  list-style: none;
}
a {
  color: #159d5a;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #17415b;
  text-decoration: underline;
}
img {
  max-width: 100%;
  border-radius: 12px;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  border-radius: 6px;
  border: none;
  outline: none;
  background: none;
}

/* ---- BRAND FONT SETUP ---- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Roboto:400,500,700&display=swap');

:root {
  --vh-primary: #17415b;
  --vh-secondary: #159d5a;
  --vh-accent: #f1fae3;
  --vh-bg: #f8fafc;
  --vh-pastel-blue: #cfe5fa;
  --vh-pastel-green: #dafbe8;
  --vh-pastel-pink: #fae1df;
  --vh-pastel-yellow: #fff8dc;
  --vh-card-shadow: 0 3px 14px rgba(23,65,91,0.07), 0 1.5px 6px rgba(90,191,173,0.06);
  --vh-radius-lg: 22px;
  --vh-radius-md: 12px;
  --vh-radius-sm: 8px;
}

/* --- BASE TYPOGRAPHY & HEADINGS --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #17415b;
  font-weight: 700;
  margin-bottom: 18px;
  text-shadow: 0 1px 0 #fff2,0 2px 8px #cfe5fa40;
  letter-spacing: 0.005em;
}
h1 { font-size: 2.5rem; margin-bottom: 22px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.38rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; margin-bottom: 8px; font-weight: 600; }
h5, h6 { font-size: 1rem; margin-bottom: 8px; font-weight: 500; }
.lead {
  font-size: 1.1rem;
  color: #2c4d68;
  margin-bottom: 26px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}

p {
  margin-bottom: 1em;
  color: #233648;
}
strong, b {
  font-weight: 600;
}
small {
  font-size: 0.87em;
  color: #17415baa;
}

/* --- LAYOUT STRUCTURE --- */
.container {
  max-width: 1260px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: none;
}
.text-section {
  background: var(--vh-pastel-blue);
  border-radius: var(--vh-radius-lg);
  box-shadow: var(--vh-card-shadow);
  padding: 32px 24px;
  margin-bottom: 24px;
  gap: 18px;
}

/* --- SECTION SPACING --- */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
@media (max-width: 768px) {
  section {
    padding: 32px 0 0 0;
    margin-bottom: 38px;
  }
}

/* --- FLEXBOX LAYOUTS (MANDATORY) --- */
.features-grid,
.features,
.application-grid,
.product-overview,
.solution-highlights,
.service-list,
.stats,
.blog-list,
.featured-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 0;
}
.features-grid li, .features li,.application-grid li,
.solution-highlights li, .service-list li,
.stats li, .product-overview li, .blog-list li, .featured-posts li {
  flex: 1 1 210px;
  background: var(--vh-accent);
  border-radius: var(--vh-radius-md);
  box-shadow: var(--vh-card-shadow);
  margin-bottom: 20px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 220px;
  transition: box-shadow 0.23s, background 0.23s;
}
.features-grid li:hover, .features li:hover, .application-grid li:hover,
.solution-highlights li:hover, .service-list li:hover,
.stats li:hover, .blog-list li:hover, .featured-posts li:hover {
  background: #fff;
  box-shadow: 0 7px 24px 0 rgba(23,65,91,0.12), 0 2px 6px 0 #159d5a28;
  transform: translateY(-4px) scale(1.018);
}
.service-list li .price {
  background: var(--vh-pastel-green);
  border-radius: var(--vh-radius-sm);
  padding: 5px 13px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #159d5a;
  margin-top: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--vh-accent);
  border-radius: var(--vh-radius-md);
  box-shadow: var(--vh-card-shadow);
  padding: 32px 20px 24px 20px;
  min-width: 230px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 7px 24px 0 rgba(23,65,91,0.15), 0 1.5px 8px 0 #159d5a18;
  transform: translateY(-3px) scale(1.010);
}
.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 26px;
  background: #fff;
  box-shadow: var(--vh-card-shadow);
  border-radius: var(--vh-radius-lg);
  margin-bottom: 20px;
  flex: 1 1 330px;
  font-size: 1.08rem;
  color: #183536;
  min-width: 250px;
  transition: box-shadow 0.2s, transform 0.20s;
}
.testimonial-card blockquote {
  border-left: 4px solid #159d5a;
  margin: 0;
  padding-left: 17px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #182B3A;
  font-style: italic;
}
.testimonial-card .testimonial-details {
  font-size: 0.98em;
  color: #159d5a;
  font-style: normal;
  padding-left: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card:hover {
  box-shadow: 0 14px 38px 0 rgba(87, 214, 161, 0.18), 0 1.5px 10px 0 #17415b24;
  background: #f1fae3;
  transform: translateY(-3px) scale(1.012);
}
.ratings {
  color: #F9A826;
  margin-top: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1em;
}

/* --- CTA BUTTONS --- */
.cta {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  font-weight: 600;
  border-radius: 42px;
  background: var(--vh-secondary);
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 #17415b24;
  transition: background 0.18s, box-shadow 0.18s, transform 0.17s;
  margin-top: 8px;
  margin-bottom: 8px;
}
.cta.primary {
  background: linear-gradient(94deg, #dafbe8 0%, #159d5a 98%);
  color: #17415b;
  box-shadow: 0 4px 20px 0 #159d5a15;
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(94deg, #fff8dc 0%, #1c7f48 100%);
  color: #154d33;
  box-shadow: 0 7px 24px 0 #17415b28;
  transform: translateY(-2px) scale(1.035);
}
.cta:active {
  box-shadow: 0 1px 3px 0 #17415b14;
  transform: scale(0.97);
}

/* --- NAVIGATION / HEADER --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px 0 #cfe5fa16;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 29;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
}
.logo img {
  height: 38px;
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #159d5a;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s, padding 0.14s;
  padding: 6px 11px;
}
nav a:hover, nav a.active {
  color: #fff;
  background: #159d5a;
}

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

/* --- MOBILE NAVIGATION --- */
@media (max-width: 1020px) {
  nav {
    gap: 14px;
  }
}
@media (max-width: 860px) {
  nav, .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--vh-pastel-green);
    color: #17415b;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 1.5px 7px 0 #159d5a10;
    cursor: pointer;
    transition: background 0.16s, box-shadow 0.16s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #dafbe8;
    box-shadow: 0 3px 18px #159d5a10;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 12px 64px 0 #17415b44;
  z-index: 99;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.77,.1,.7,1.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 27px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 17px; right: 28px;
  background: var(--vh-pastel-blue);
  color: #17415b;
  border-radius: 50%;
  border: none;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 120;
  box-shadow: 0 2px 10px #cfe5fa21;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #dafbe8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 60px;
  gap: 14px;
  padding: 0 40px;
}
.mobile-nav a {
  font-size: 1.25rem;
  padding: 14px 0;
  border-bottom: 1px solid #cfe5fa;
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  color: #159d5a;
  transition: color 0.18s, background 0.18s;
  width: 100%;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: #fff;
  background: #159d5a;
  border-radius: 8px;
  padding-left: 14px;
}
@media (min-width: 861px) {
  .mobile-menu, .mobile-menu-close { display: none !important; }
}

/* --- MAIN PAGE SECTIONS --- */
.cta-statement {
  font-size: 1.25rem;
  color: #154d33;
  margin-bottom: 16px;
}

/* --- BLOG TAGS & LABELS --- */
.tag {
  display: inline-block;
  background: #faf6e9;
  color: #17415b;
  border-radius: 20px;
  font-size: 0.91em;
  padding: 3px 13px;
  margin-right: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- FOOTER --- */
footer {
  background: #f1fae3;
  border-top: 1.5px solid #dafbe8;
  padding: 36px 0 14px 0;
  margin-top: 44px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer nav {
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  color: #17415b;
  font-weight: 500;
  font-size: 1rem;
  background: none;
  padding: 4px 10px;
}
footer nav a:hover {
  color: #fff;
  background: #159d5a;
}
.footer-contact {
  font-size: 0.99rem;
  color: #17415b;
  line-height: 1.8;
}
.footer-contact a {
  color: #159d5a;
  text-decoration: underline dotted;
  font-weight: 500;
}
footer span {
  display: block;
  width: 100%;
  padding-top: 18px;
  color: #182636;
  font-size: .97em;
  opacity: 0.63;
  font-family: 'Montserrat', Arial, sans-serif;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/* --- LISTS, NUMBERS, ETC. --- */
ul, ol {
  padding-left: 18px;
  margin-bottom: 14px;
}
ul li, ol li {
  margin-bottom: 9px;
  position: relative;
  color: #233648;
  font-size: 1rem;
  padding-left: 5px;
}
ul li::before {
  content: '•';
  color: #b0c2e0;
  font-size: 1.15em;
  position: absolute;
  left: -14px;
  top: 2px;
}

/* --- STATS --- */
.stats li {
  background: var(--vh-pastel-blue);
  color: #17415b;
  font-weight: 600;
  box-shadow: 0 1px 4px #159d5a13;
  font-family: 'Montserrat', Arial, sans-serif;
}
.stats li strong {
  color: var(--vh-secondary);
  font-weight: 700;
}

/* --- RESPONSIVE FLEX DIRECTION --- */
@media (max-width: 768px) {
  .features-grid, .features,
  .application-grid, .product-overview,
  .solution-highlights, .service-list,
  .stats, .blog-list, .featured-posts, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 19px 12px;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
  }
}

/* --- CARDS, HIGHLIGHTS, VISUALS --- */
.application-grid li {
  background: #faf6fb;
}
.product-overview li,
.solution-highlights li{
  background: #f1fae3;
  box-shadow: none;
}

/* --- INPUTS & FORMS (for Kontakt etc. if used) --- */
input, textarea {
  background: #fff;
  border: 1.5px solid #dafbe8;
  border-radius: var(--vh-radius-sm);
  padding: 12px 16px;
  font-size: 1rem;
  margin-bottom: 18px;
  transition: border 0.13s;
  width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus {
  border: 1.5px solid #159d5a;
  outline: none;
  background: #fafbfa;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03em;
  color: #154d33;
  margin-bottom: 7px;
  display: block;
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
button, .cta, .mobile-menu-toggle, .mobile-menu-close {
  transition: color 0.14s, background 0.15s, box-shadow 0.2s, transform 0.15s;
}
.card, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.19s;
}
section, .container, .content-wrapper, .text-section {
  transition: background 0.17s, box-shadow 0.22s;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;  right: 0; bottom: 0;
  background: #fff;
  color: #182b3a;
  box-shadow: 0 -4px 24px 0 #159d5a14;
  border-top: 2.5px solid #dafbe8;
  z-index: 2000;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 10px 20px 10px;
  gap: 28px;
  font-size: 1.01rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookieSlideIn 0.4s cubic-bezier(.84,.33,.44,.99);
}
@keyframes cookieSlideIn {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 1 1 360px;
  color: #17415b;
  margin-right: 16px;
  max-width: 540px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  border: none;
  padding: 11px 22px;
  border-radius: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  box-shadow: 0 1.5px 7px 0 #159d5a10;
  background: #faf6e9;
  color: #159d5a;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.16s, color 0.18s, box-shadow 0.16s;
}
.cookie-btn.accept {
  background: var(--vh-secondary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #17415b;
  color: #fff;
}
.cookie-btn.reject {
  background: #fae1df;
  color: #b74b41;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff8dc;
  color: #17415b;
}
.cookie-btn.settings {
  background: #cfe5fa;
  color: #17415b;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #dafbe8;
  color: #159d5a;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 18px 5px 16px 5px;
    font-size: 0.97rem;
    align-items: flex-start;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
    max-width: 100%;
    margin-bottom: 7px;
  }
  .cookie-banner .cookie-actions {
    gap: 11px;
  }
}

/* Cookie modal popup */
.cookie-modal {
  position: fixed;
  z-index: 3000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(23,65,91,0.14);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookieModalIn 0.31s cubic-bezier(.77,.04,.67,.99);
}
@keyframes cookieModalIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  padding: 36px 32px 26px 32px;
  border-radius: var(--vh-radius-lg);
  box-shadow: 0 6px 36px 0 #159d5a22;
  min-width: 320px;
  max-width: 94vw;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #17415b;
}
.cookie-category {
  margin-bottom: 14px;
  padding: 11px 0 4px 0;
}
.cookie-category label {
  display: flex; align-items: center; gap: 7px;
  font-weight: 500;
}
.cookie-modal-content .cookie-switch {
  margin-left: 3px;
  width: 36px; height: 20px;
  display: inline-block;
  position: relative;
}
.cookie-modal-content .cookie-switch input[type="checkbox"] {
  opacity: 0; width: 0; height: 0;
}
.cookie-modal-content .cookie-slider {
  position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
  background: #dafbe8;
  border-radius: 12px;
  transition: background .2s;
}
.cookie-modal-content .cookie-switch input:checked + .cookie-slider {
  background: #159d5a;
}
.cookie-modal-content .cookie-slider:before {
  content: '';
  position: absolute; left: 3px; top: 3px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: 0.25s;
}
.cookie-modal-content .cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-modal-footer {
  display: flex;
  margin-top: 16px;
  gap: 15px;
  justify-content: flex-end;
}

/* --- MISC --- */
::-webkit-scrollbar {
  width: 7px;
  background: #faf6e9;
}
::-webkit-scrollbar-thumb {
  background: #dafbe8;
  border-radius: 7px;
}

/* --- RESPONSIVE HEADINGS & SPACING --- */
@media (max-width: 600px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.07rem; }
  .content-wrapper, .text-section { padding: 16px 6px; }
  .card, .testimonial-card { padding: 17px 8px; min-width: unset; }
}

/* --- ACCESSIBILITY CONTRAST --- */
.testimonial-card, .testimonial-card blockquote {
  color: #182B3A;
  background: #fff;
}
.testimonial-card .testimonial-details {
  color: #159d5a;
}

/* --- HIDE/SHOW CLASSES (for js) --- */
.hide { display: none !important; }
.show { display: block !important; }

/* ==== END VOLTIC HARMONIE PASTEL THEME ==== */
