/* =============================
   NEUROVOLT “nature_organic” THEME CSS
   Modern, organic, nature-inspired design
   Brand colors, typography, flexbox layouts only!
   ============================= */

/* ====== CSS RESET & NORMALIZE ====== */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; }
html, body { height: 100%; width: 100%; font-size: 16px; }
body { min-height: 100vh; background: #F7F6F3; color: #35423B; font-family: 'Roboto', Arial, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; border: 0; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
button, input, textarea, select { font-family: inherit; font-size: 1rem; color: inherit; background: none; border: none; }
:focus { outline: 2px solid #98DFAF; outline-offset: 2px; }
::-webkit-input-placeholder { color: #88998c; }
::-moz-placeholder { color: #88998c; }
:-ms-input-placeholder { color: #88998c; }
::placeholder { color: #88998c; }

/* ====== COLORS & NATURE ORGANIC PALETTE ====== */
:root {
  --nv-primary: #285189;
  --nv-primary-darker: #203f6a;
  --nv-secondary: #13B798;
  --nv-secondary-darker: #108876;
  --nv-accent: #F2F5FA;
  --nv-bg: #F7F6F3;
  --nv-earth: #A4A165;    /* muted olive green */
  --nv-forest: #487a5f;   /* deep green */
  --nv-sand: #E9E4DA;     /* soft sand */
  --nv-brown: #96794A;    /* organic brown */
  --nv-error: #DE5B38;
  --nv-card-bg: #FFFFFF;
  --nv-card-shadow: 0 4px 12px rgba(76, 86, 62, 0.07);
  --nv-testimonial-bg: #F7F6F3;
  --nv-footer-bg: #35423B;
  --nv-footer-text: #F2F5FA;
}

/* ====== TYPOGRAPHY ====== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #35423B;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.25rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 1.5rem; line-height: 1.16; margin-bottom: 18px; }
h3 { font-size: 1.17rem; margin-bottom: 15px; }
p, ul, ol { font-family: 'Roboto', Arial, sans-serif; font-size: 1rem; margin-bottom: 12px; color: #4A5B38; }
p.lead { font-size: 1.25rem; font-weight: 500; }
strong { font-weight: 700; }

/* ====== CONTAINER & LAYOUT ====== */
.container {
  width: 100%;
  max-width: 1210px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
/* Apply mandatory section spacing */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 24px;
}
section:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
}
.content-wrapper {
  margin-top: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--nv-card-bg);
  border-radius: 20px;
  box-shadow: var(--nv-card-shadow);
  padding: 24px 24px 20px 24px;
  transition: box-shadow 0.22s, transform 0.18s;
  min-width: 280px;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(98, 127, 72, 0.19);
  transform: translateY(-4px) scale(1.017);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px 20px 32px;
  background: var(--nv-testimonial-bg);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(80, 86, 56, 0.08);
  margin-bottom: 20px;
  flex: 1 1 320px;
  min-width: 260px;
  color: #374837;
  font-size: 1.08rem;
  transition: box-shadow 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px rgba(80, 86, 56, 0.15);
}
.testimonial-card p {
  color: #345336;
  font-weight: 500;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #516049;
  font-style: italic;
  margin-left: auto;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ====== BUTTONS & INTERACTION ====== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--nv-secondary);
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  border-radius: 22px;
  padding: 13px 30px;
  margin-top: 8px;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 10px rgba(25, 149, 120, 0.08);
  border: none;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.18s, color 0.17s, transform 0.16s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--nv-secondary-darker);
  color: #FFF;
  box-shadow: 0 7px 20px rgba(25, 149, 120, 0.16);
  transform: translateY(-2px) scale(1.035);
}
.btn-secondary {
  background: var(--nv-primary);
  color: #FFF;
  border-radius: 22px;
  padding: 13px 30px;
  font-weight: 600;
  margin: 0 10px 0 0;
  box-shadow: 0 2px 8px rgba(40,81,137,0.09);
  transition: background 0.16s, box-shadow 0.17s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--nv-primary-darker);
  box-shadow: 0 4px 13px rgba(40,81,137,0.13);
}
/* Utility for gray/organic background buttons */
.btn-sand {
  background: var(--nv-sand);
  color: var(--nv-forest);
  border-radius: 22px;
  padding: 13px 30px;
  font-weight: 600;
  transition: background 0.11s, color 0.14s;
}
.btn-sand:hover, .btn-sand:focus {
  background: #E2DEC9;
  color: var(--nv-primary);
}

/* ====== HEADER/STICKY NAVIGATION ====== */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(98, 127, 72, 0.03);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img {
  height: 50px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-left: 28px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--nv-primary);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 8px;
  padding: 7px 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--nv-sand);
  color: var(--nv-secondary);
}
header .btn-primary {
  margin-left: 18px;
}
/* Hide hamburger button desktop */
.mobile-menu-toggle {
  display: none;
}

/* ====== MOBILE MENU OVERLAY ====== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 120;
  background: rgba(103, 127, 98, 0.97);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 0 0 32vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin: 22px 30px 8px 0;
  align-self: flex-end;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #98DFAF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  margin-top: 18px;
  margin-right: 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 13px 0;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 8px;
  transition: background 0.14s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(19,183,152,0.18);
  color: #98DFAF;
  padding-left: 10px;
}

/* Show/hide nav and burger:
 * Desktop: show nav
 * Mobile: hide nav, show burger, menu slides
 */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    background: none;
    border: none;
    color: var(--nv-primary);
    font-size: 2.15rem;
    margin-right: 6px;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.13s, color 0.15s;
    z-index: 150;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: var(--nv-sand);
    color: var(--nv-secondary);
  }
  .mobile-menu {
    padding: 0 0 0 14vw;
  }
}
@media (max-width:600px) {
  .mobile-menu {
    padding: 0 0 0 0;
  }
}

/* ====== HERO/BANNER SECTION ====== */
section:first-child, .hero {
  background: linear-gradient(120deg, #e4f3e8 0%, #fffbe7 50%, #F2F5FA 100%);
  box-shadow: 0 2px 14px rgba(124, 151, 92, .04);
  border-radius: 0 0 40px 40px;
  margin-bottom: 60px;
}
section h1, .hero h1 {
  color: var(--nv-primary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
}
section h2, .hero h2 {
  color: var(--nv-forest);
  letter-spacing: 0.01em;
}

/* ====== UL/LIST STYLES (organic icons etc) ====== */
ul, ol {
  margin-left: 0;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.5;
}
ul li img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
ul ul, ol ul {
  margin-left: 16px;
  margin-bottom: 0;
  padding-top: 3px;
  gap: 6px;
}

/* ====== SECTION CUSTOMIZATION ====== */
section:not(:first-child) {
  background: var(--nv-card-bg);
}
section h2 {
  margin-bottom: 20px;
  color: var(--nv-primary);
  font-size: 1.5rem;
}

/* ====== CARDS ====== */
.card {
  background: var(--nv-card-bg);
  border-radius: 20px 34px 26px 20px / 20px 20px 38px 26px;
  box-shadow: var(--nv-card-shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.15s;
}

/* ====== FOOTER ====== */
footer {
  background: var(--nv-footer-bg);
  color: var(--nv-footer-text);
  padding: 50px 0 0 0;
  border-radius: 38px 38px 0 0 / 22px 22px 0 0;
  box-shadow: 0 -2px 12px rgba(53, 66, 59, 0.07);
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.logo-footer img {
  height: 58px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
}
.footer-nav a {
  color: #BAE5C6;
  font-size: 1rem;
  font-weight: 500;
  margin-right: 8px;
  opacity: 0.92;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 6px;
  transition: color 0.13s, background 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  background: #344d3c;
}
.footer-contact {
  font-size: 1rem;
  line-height: 1.6;
  color: #DDEAD7;
}
.copyright {
  width: 100%;
  margin-top: 38px;
  color: #aec2b0;
  text-align: center;
  font-size: 0.93rem;
}

/* ====== RESPONSIVE DESIGN (MOBILE FIRST) ====== */
@media (max-width: 1100px) {
  .container { max-width: 92vw; padding-left: 8vw; padding-right: 8vw; }
}
@media (max-width: 900px) {
  .container { max-width: 100vw; padding-left: 13px; padding-right: 13px; }
  footer .container { gap: 14px; }
}
@media (max-width: 770px) {
  header .container { flex-direction: row; gap: 7px; }
  section { padding: 28px 4px; margin-bottom: 36px; }
  .footer-nav, .footer-contact { font-size: 0.97rem; }
}
@media (max-width: 768px) {
  .content-wrapper, .content-grid, .card-container { flex-direction: column; gap: 20px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  section { padding: 22px 1px; margin-bottom: 29px; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.1rem; }
  .logo img { height: 38px; }
  .logo-footer img { height: 40px; }
}

/* === ORGANIC SHAPES: SECTIONS/BACKGROUNDS === */
section, .card, .testimonial-card {
  border-radius: 34px 34px 22px 38px / 24px 38px 34px 22px;
}
footer {
  border-radius: 42px 42px 0 0 / 18px 23px 0 0;
}

/* === MICROINTERACTIONS & ANIMATION === */
.btn-primary, .btn-secondary, .btn-sand, .main-nav a, .footer-nav a, .testimonial-card, .card {
  transition: all .17s cubic-bezier(.57,1.53,.36,.93);
}
.testimonial-card, .card {
  will-change: transform, box-shadow;
}

/* === OMNIPRESENT GAPS, NO OVERLAP ENFORCED === */
section, .card-container, .content-wrapper, .content-grid, .testimonial-card, .feature-item {
  gap: 20px;
}
section:not(:last-child) { margin-bottom: 60px; }
.card:not(:last-child), .testimonial-card:not(:last-child) { margin-bottom: 20px; }

/* === SPECIAL: TESTIMONIAL/REVIEW CONTRAST === */
.testimonial-card {
  background: linear-gradient(112deg, #F9FCF5, #F7F6F3 80%, #F2F5FA 100%);
  color: #353C2C;
  font-size: 1.08rem;
  box-shadow: 0 2px 9px rgba(80, 86, 56, 0.05);
}

/* === SUPPORT CLASSES - CTA, SUPPORT, ETC === */
.support-info {
  color: var(--nv-earth);
  font-size: 0.93rem;
  margin-top: 10px;
  font-style: italic;
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  width: 100vw;
  background: rgba(52, 77, 60, 0.96);
  color: #F7F6F3;
  font-size: 1rem;
  padding: 22px 6vw 18px 6vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  box-shadow: 0 -3px 18px rgba(60,77,40,0.23);
  animation: cookieSlideIn 550ms cubic-bezier(.68,-0.25,.27,1.45) 1;
  border-radius: 18px 18px 0 0 / 10px 28px 0 0;
}
@keyframes cookieSlideIn { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-consent p { color: #F7F6F3; font-size: 1rem; margin-bottom: 0; }
.cookie-consent-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-consent-buttons .btn-primary {
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 19px;
  background: var(--nv-secondary);
  color: #fff;
}
.cookie-consent-buttons .btn-secondary {
  background: var(--nv-earth);
  color: #fff;
  padding: 10px 20px;
  border-radius: 18px;
}
.cookie-consent-buttons .btn-sand {
  background: #fffbe7;
  color: var(--nv-brown);
  padding: 10px 20px;
  border-radius: 18px;
}
.cookie-consent-buttons .btn-sand:hover, .cookie-consent-buttons .btn-sand:focus {
  background: #fcf7dc;
  color: var(--nv-primary);
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 99999;
  background: rgba(52, 77, 60, 0.78);
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn .33s;
}
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  border-radius: 30px 38px 21px 30px / 22px 30px 33px 21px;
  box-shadow: 0 4px 24px rgba(98,127,72,0.19);
  padding: 34px 26px 26px 26px;
  min-width: 320px;
  max-width: 96vw;
  color: #35423B;
  display: flex;
  flex-direction: column;
  gap: 21px;
  animation: modalPopIn .39s cubic-bezier(.68,-0.25,.27,1.45);
  position: relative;
}
@keyframes modalPopIn { from { opacity: 0; transform: translateY(60px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.cookie-modal h2 {
  font-family: 'Montserrat', 'Roboto',Arial,sans-serif;
  color: var(--nv-primary);
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 1.04rem;
}
.cookie-modal-category label {
  font-weight: 500;
  color: #487a5f;
}
.cookie-toggle {
  width: 36px;
  height: 22px;
  background: #e4f3e8;
  border-radius: 17px;
  position: relative;
  transition: background 0.16s;
  border: none;
  cursor: pointer;
  margin-left: 10px;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--nv-secondary);
}
.cookie-toggle::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.18s;
}
.cookie-toggle[aria-checked="true"]::before {
  left: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #285189;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #13B798;
}

@media (max-width: 600px) {
  .cookie-consent {
    flex-direction: column;
    gap: 13px;
    padding: 11px 3vw 8px 3vw;
    font-size: 0.97rem;
  }
  .cookie-modal {
    padding: 22px 8px 18px 8px;
    border-radius: 22px;
    min-width: 90vw;
  }
}

/* ===== SCROLLBAR (nature-inspired) ===== */
body::-webkit-scrollbar {
  width: 12px;
  background: #E9E4DA;
}
body::-webkit-scrollbar-thumb {
  background: #A4A165;
  border-radius: 8px;
}

/* ===== FORMS (on kontakt.html etc) ===== */
input, textarea, select {
  border: 1px solid #A4A165;
  border-radius: 12px;
  padding: 12px 10px;
  background: #F7F6F3;
  margin-bottom: 18px;
  width: 100%;
  resize: vertical;
  font-size: 1rem;
}
input:focus, textarea:focus { border-color: var(--nv-secondary); background: #fff; }
label { display: block; color: #203f6a; font-weight: 500; margin-bottom: 7px; font-family: 'Montserrat', Arial,sans-serif; }

/* ===== MISC UTILITY ===== */
.hidden { display: none !important; }
.z-top { z-index: 99999; }

/* ==== NO OVERLAP! ENFORCED SPACING ==== */
section, .card, .testimonial-card, .content-wrapper, .content-grid, .card-container {
  margin-bottom: 20px;
}

/* ==== END ===== */
