/* ===========================================================
   CSS RESET & BASICS
   =========================================================== */
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  min-height: 100vh;
  background: #F2EFE6;
  color: #1e2226;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #144552;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #88B04B;
}
ul,ol {
  margin-left: 1.6em;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* ===========================================================
   TYPOGRAPHY & CREATIVE HEADINGS
   =========================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #144552;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  color: #144552;
  text-shadow: 2px 4px 14px rgba(136,176,75,0.11);
  margin-top: 12px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  color: #1e965a;
  position: relative;
  background: none;
  margin-top: 18px;
}
h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 6px;
  background: #88B04B;
  border-radius: 2px;
}
h3 {
  font-size: 1.3rem;
  color: #144552;
}
p, li {
  color: #233237;
  font-size: 1.05rem;
  line-height: 1.7;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
strong {
  color: #144552;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section ul {
  margin: 0.5em 0 0.5em 1.5em;
}

/* Super creative + artistic font accents */
h1, h2 {
  letter-spacing: -0.5px;
  position: relative;
}
h1::before, h2::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: baseline;
  background: #88B04B;
  border-radius: 30% 70% 70% 30% / 45% 35% 65% 55%;
  margin-right: 12px;
  margin-bottom: 4px;
  opacity: 0.7;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.2rem;
  }
}

/* ===========================================================
   HEADER & NAVIGATION
   =========================================================== */
header {
  background: #E4F2DD;
  padding: 0;
  border-bottom: 3px solid #144552;
  box-shadow: 0 2px 16px 0 rgba(21, 69, 82, 0.08);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  padding-bottom: 15px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-left: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  color: #144552;
  font-weight: 600;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: color 0.23s, border-color 0.23s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #1e965a;
  border-bottom: 2px solid #88B04B;
}
.cta-button.primary {
  background: #88B04B;
  color: #fff;
  border-radius: 26px 14px 22px 16px/14px 26px 15px 23px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  font-weight: bold;
  padding: 10px 30px;
  margin-left: 28px;
  border: none;
  letter-spacing: 0.025em;
  box-shadow: 0 3px 16px 0 rgba(21,69,82,0.11);
  transition: background 0.22s, transform 0.16s, box-shadow 0.22s;
  display: inline-block;
  cursor: pointer;
  text-shadow: 0 2px 6px rgba(21,69,82,0.06);
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #144552;
  color: #fff;
  transform: translateY(-3px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 24px 0 rgba(21,69,82,0.18);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #144552;
  margin-left: 18px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover {
  color: #1e965a;
}

/* ============= MOBILE MENU ============= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #1E3D47;
  color: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 26px 22px 26px;
  transform: translateX(-100%);
  transition: transform 0.39s cubic-bezier(.66,.65,.22,1.09);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0%);
  pointer-events: auto;
  box-shadow: 0 0 0 100vw rgba(21,69,82,0.27);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #88B04B;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 36px;
  margin-right: 0;
  transition: color 0.21s;
}
.mobile-menu-close:hover {
  color: #F2EFE6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  color: #F2EFE6;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 0;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #88B04B;
  border-bottom: 2px solid #88B04B;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
    margin-left: 12px;
  }
  .cta-button.primary {
    margin-left: 14px;
    padding: 8px 20px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* ===========================================================
   HERO & GENERIC SECTION
   =========================================================== */
section {
  position: relative;
  background: #fff;
  border-radius: 30px 24px 28px 36px;
  box-shadow: 0 7px 32px 0 rgba(21,69,82,0.13);
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:first-of-type {
  background: #D7E8FA linear-gradient(135deg, #E4F2DD 75%, #F2EFE6 100%);
  margin-top: 28px;
}
@media (max-width: 600px) {
  section {
    padding: 24px 6px;
    border-radius: 20px 14px 16px 22px;
    margin-bottom: 36px;
  }
  section:first-of-type {
    margin-top: 14px;
  }
}

/************************* CREATIVE SECTION PATTERNS ************************/ 
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  margin-bottom: 20px;
  padding: 24px 18px;
  border-radius: 16px 22px 12px 24px;
  background: #E2F2E4;
  box-shadow: 0 3px 18px 0 rgba(20, 69, 82, 0.12);
  position: relative;
  min-width: 260px;
  flex: 1 1 280px;
  transition: box-shadow 0.22s, transform 0.18s;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(136,176,75,0.19);
  transform: translateY(-4px) scale(1.03) rotate(-1deg);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
}
.benefits-box {
  background: #F8FDFA;
  border-left: 5px solid #88B04B;
  border-radius: 17px 12px 18px 10px;
  padding: 19px 22px;
  margin-top: 18px;
  margin-bottom: 18px;
  box-shadow: 0 2px 6px 0 rgba(136,176,75,0.07);
}

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

/************************* TESTIMONIALS ************************/ 
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F6F9F3;
  border-left: 6px solid #88B04B;
  border-radius: 18px 16px 14px 25px;
  box-shadow: 0 3px 20px 0 rgba(20, 69, 82, 0.10);
  max-width: 680px;
}
.testimonial-card p {
  color: #222;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.17rem;
}
.testimonial-card div {
  margin-left: auto;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #144552;
  font-weight: 600;
}

/************************* VISUAL ELEMENTS ************************/
button, .cta-button, input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  border: none;
  outline: none;
  padding: 10px 28px;
  border-radius: 22px 18px 20px 14px;
  background: #88B04B;
  color: #fff;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px 0 rgba(21,69,82,0.08);
  transition: background 0.2s, transform 0.12s, box-shadow 0.13s;
}
button:hover, .cta-button:hover, button:focus, .cta-button:focus, input[type="submit"]:hover {
  background: #144552;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 7px 20px 0 rgba(20, 69, 82, 0.14);
}

/* ===========================================================
   FOOTER
   =========================================================== */
footer {
  background: #144552;
  color: #fff;
  width: 100%;
  padding: 0 0 18px 0;
  margin-top: 48px;
}
footer .container {
  flex-direction: column;
  gap: 10px;
}
footer .content-wrapper {
  flex-direction: row;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.85;
  text-decoration: underline dotted;
  margin-top: 10px;
  padding-bottom: 1px;
  transition: color 0.19s, text-decoration 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #88B04B;
  text-decoration: underline solid;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.contact-info p {
  font-size: 1rem;
  align-items: center;
  display: flex;
  gap: 6px;
}
footer .contact-info p {
  color: #E2F2E4;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 8px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  background: #1e965a;
  border-radius: 50%;
  padding: 7px;
  transition: background 0.17s, transform 0.18s;
}
.social-links a:hover, .social-links a:focus {
  background: #88B04B;
  transform: scale(1.09) rotate(-4deg);
}
.social-links img {
  display: block;
  width: 24px;
  height: 24px;
}
.copyright {
  color: #aac8bd;
  font-size: 0.97rem;
  text-align: center;
  margin-top: 20px;
}

/* ===========================================================
   COOKIE CONSENT BANNER & MODAL
   =========================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #233237;
  color: #fff;
  width: 100vw;
  z-index: 2500;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 6vw 22px 6vw;
  box-shadow: 0 -3px 32px 0 rgba(20, 69, 82, 0.16);
  animation: cookieBannerIn 0.7s cubic-bezier(.62,1.26,.32,.99) 1;
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%);opacity:0; }
  to { transform: translateY(0%);opacity:1; }
}
.cookie-banner p {
  color: #fff;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-right: 22px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner button {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1rem;
  padding: 9px 19px;
  background: #88B04B;
  color: #fff;
  border-radius: 22px 16px 30px 12px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  box-shadow: 0 2px 8px 0 rgba(255,255,255,0.04);
  transition: background 0.2s, box-shadow 0.17s, color 0.18s;
  cursor: pointer;
}
.cookie-banner button.cookie-reject {
  background: #F24C27;
}
.cookie-banner button:focus {
  outline: 2px dashed #144552;
  outline-offset: 2px;
}
@media (max-width: 700px){
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 16px 8px;
    font-size: 0.99rem;
    align-items: flex-start;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
  }
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 2600;
  top: 0; left: 0; right:0; bottom:0;
  background: rgba(20, 69, 82, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.29s;
  pointer-events: none;
  opacity: 0;
}
.cookie-modal-overlay.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #144552;
  border-radius: 28px 20px 18px 24px;
  width: 95vw;
  max-width: 420px;
  padding: 36px 30px 28px 30px;
  box-shadow: 0 4px 30px 0 rgba(20, 69, 82, 0.19);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalIn 0.44s cubic-bezier(.78,-0.12,.47,1.47) 1;
  position: relative;
}
@keyframes cookieModalIn {
  from { transform: translateY(-80px) scale(0.8); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.22rem;
  margin-bottom: 6px;
  color: #1e965a;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-modal-list label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.cookie-modal-list input[type="checkbox"] {
  accent-color: #88B04B;
  width: 18px;
  height: 18px;
  margin-right: 4px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #F24C27;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .cookie-modal-close:hover { color: #144552; }

.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal .cookie-modal-actions button {
  font-size: 0.99rem;
  min-width: 0;
  padding: 8px 19px;
  background: #88B04B;
  color: #fff;
  border: none;
  border-radius: 22px 16px 30px 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  box-shadow: 0 2px 8px 0 rgba(21,69,82,0.09);
  transition: background 0.2s;
  cursor: pointer;
}
.cookie-modal .cookie-modal-actions button.cookie-reject {
  background: #F24C27;
}
.cookie-modal .cookie-modal-actions button:focus {
  outline: 2px dashed #144552;
  outline-offset: 2px;
}

/* Ensure Essential cookies (always enabled) checkbox is disabled and visually distinct */
.cookie-modal-list input[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}
.cookie-modal-list label .cookie-essential {
  font-weight: 700;
  color: #144552;
}

/* ===========================================================
   MISC, LISTS, SPACING, CARD LAYOUT
   =========================================================== */
ul, ol {
  padding-left: 22px;
  margin-bottom: 14px;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 8px;
}

/********** Section and Card layouts ***********/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/********** General Spacing ***********/
main {
  display: flex;
  flex-direction: column;
  gap: 42px;
  min-height: 60vh;
}
p, ul, ol, .text-section {
  margin-bottom: 16px;
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 12px;
  margin-bottom: 14px;
}

/********** Remove focus outlines except for keyboard ***********/
a, button, .cta-button, input[type="submit"] {
  outline: none;
}
a:focus-visible, button:focus-visible, .cta-button:focus-visible, input[type="submit"]:focus-visible {
  outline: 2px dashed #1e965a;
  outline-offset: 2px;
}

/********** Utility ***********/
.hide { display: none !important; }

/******************* ANIMATION & ARTISTIC ACCENTS *********************/
@media (prefers-reduced-motion: no-preference){
  .cta-button.primary, button, .card {
    transition: 
      box-shadow 0.22s cubic-bezier(.21,1.15,.37,1.02),
      background 0.22s cubic-bezier(.21,1.15,.37,1.02),
      color 0.12s,
      transform 0.18s cubic-bezier(0.6,0.8,0.22,1.05);
  }
  .mobile-menu, .mobile-menu.active {
    transition: transform 0.39s cubic-bezier(.66,.65,.22,1.09);
  }
}

/******************* RESPONSIVE *********************/
@media (max-width: 800px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 520px) {
  .footer-nav, .social-links, .contact-info {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/************************************************************
   END Flicker Nexus Berlin – Artistic & Creative vibrant UI
 ************************************************************/
