/* CrystalPass Ernährung - Futuristic Tech CSS Style */

/* =====================
   CSS RESET & BASELINE
======================== */
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;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background-color: #0B1F1A;
  color: #F5FAF5;
  min-height: 100vh;
  background-image: linear-gradient(135deg, #0B1F1A 60%, #217867 100%);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: #8ABF69;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #C2DFB6;
  outline: none;
}

ul, ol {
  margin: 0 0 16px 20px;
  padding: 0;
}
li {
  margin-bottom: 10px;
}

/* =====================
   TYPOGRAPHY
======================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #C2DFB6;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
}
h2 {
  font-size: 1.8rem;
  font-weight: 600;
}
h3 {
  font-size: 1.4rem;
  font-weight: 500;
}
h4, h5, h6 {
  font-size: 1.15rem;
}
p, small {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #F5FAF5;
}
small {
  font-size: 0.95em;
  opacity: 0.8;
}
strong, b {
  color: #8ABF69;
}

/* =====================
   CONTAINER & LAYOUTS
======================== */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(16,32,26, 0.8);
  border-radius: 22px;
  box-shadow: 0 4px 32px 0 rgba(33,120,103,0.09);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 18px;
  background: #152F27;
  box-shadow: 0 2px 16px 0 rgba(33,120,103,0.07);
  padding: 28px 24px;
  color: #F5FAF5;
  position: relative;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.25s, transform 0.22s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 32px 0 #21786740, 0 0 0 2px #8ABF69;
  transform: translateY(-3px) scale(1.017);
}

.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;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .container {
    padding: 0 8px;
  }
}

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

/* =====================
   HERO / CTA
======================== */
.hero {
  background: linear-gradient(120deg, #217867 0%, #191970 85%);
  padding: 48px 0 56px 0;
  border-radius: 0 0 40px 40px;
  width: 100%;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
}

/* =====================
   BUTTONS & CTA
======================== */
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: #217867;
  color: #fff;
  border: none;
  border-radius: 50px;
  box-shadow: 0 0 0 2px #8ABF69;
  padding: 14px 34px;
  min-width: 160px;
  transition: background 0.25s, box-shadow 0.22s, color 0.22s, transform 0.18s;
  cursor: pointer;
  outline: none;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: #191970;
  color: #8ABF69;
  box-shadow: 0 0 12px #8ABF69, 0 0 0 3px #8ABF69;
  transform: translateY(-2px) scale(1.03);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* =====================
   HEADER & NAVIGATION
======================== */
header {
  background: #101C19;
  border-bottom: 1.5px solid #21786744;
  width: 100%;
  position: relative;
  z-index: 105;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}

nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: #8ABF69;
  padding: 6px 18px;
  border-radius: 35px;
  transition: background 0.25s, color 0.18s;
  position: relative;
}
nav a:hover, nav a:focus {
  color: #C2DFB6;
  background: #21786733;
}
header .cta-btn {
  margin-left: 14px;
}

/* Hamburger icon */
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  color: #8ABF69;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: 12px;
  z-index: 201;
}

/* Responsive NAVIGATION */
@media (max-width: 992px) {
  nav {
    gap: 16px;
  }
  header .container {
    gap: 10px;
    min-height: 70px;
  }
}
@media (max-width: 820px) {
  nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: #0B1F1Aee;
  transform: translateX(100vw);
  transition: transform 0.27s cubic-bezier(.71,.01,.38,1.01);
  z-index: 529;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  box-shadow: -8px 0 32px 0 #101C1930;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.4rem;
  color: #C2DFB6;
  background: none;
  border: none;
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 531;
}
.mobile-nav {
  margin-top: 85px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #C2DFB6;
  font-size: 1.25rem;
  padding: 14px 0;
  border-radius: 24px;
  background: none;
  transition: color 0.22s, background 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #21786744;
  color: #8ABF69;
}

/* =====================
   FOOTER
======================== */
footer {
  background: #152F27;
  padding: 54px 0 28px 0;
  width: 100%;
}
footer .container {
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #8ABF69;
  opacity: 0.92;
  font-size: 1.05rem;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #C2DFB6;
  text-decoration: underline;
}
.footer-contact {
  color: #C2DFB6;
  font-size: 1em;
  margin-bottom: 4px;
}
.footer-contact a {
  color: #C2DFB6;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 4px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 3px #8ABF6988);
  opacity: 0.80;
  transition: filter 0.17s, opacity 0.17s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: drop-shadow(0 0 8px #C2DFB6cc);
  opacity: 1;
}

.footer-cta {
  margin-top: 12px;
}

@media (max-width: 620px) {
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .footer-social {
    gap: 9px;
  }
}

/* =====================
   TESTIMONIALS
======================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: #F5FAF5;
  color: #101C19;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 #8ABF6928;
  border: 1px solid #8ABF69;
  transition: box-shadow 0.22s, transform 0.19s;
}
.testimonial-card p {
  color: #101C19;
  font-size: 1.13rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 0;
}
.testimonial-card div {
  color: #217867;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
}
.testimonial-card small {
  color: #353c40;
  font-size: 0.99rem;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 4px 32px 0 #21786740;
  transform: scale(1.03);
}

/* =====================
   SERVICE/FEATURE BLOCKS
======================== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #152F27;
  border-radius: 18px;
  box-shadow: 0 2px 12px #101C1921;
  padding: 30px 26px 24px 26px;
  color: #C2DFB6;
  flex: 1 1 220px;
  min-width: 280px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, background .22s;
}
.service-item h3 {
  color: #8ABF69;
  margin-bottom: 8px;
  font-size: 1.23rem;
}
.service-item strong {
  font-weight: 700;
  color: #C2DFB6;
  font-size: 1.07rem;
  margin-top: 10px;
}
.service-item:hover, .service-item:focus {
  background: #21786755;
  box-shadow: 0 5px 20px #8ABF6944;
}

/* =====================
   FORMS (if present)
======================== */
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #152F27;
  border: 1.5px solid #8ABF6922;
  border-radius: 6px;
  padding: 12px;
  font-size: 1rem;
  color: #F5FAF5;
  width: 100%;
  margin-bottom: 16px;
  transition: border 0.19s, box-shadow 0.19s;
}
input:focus, select:focus, textarea:focus {
  border-color: #8ABF69;
  outline: none;
  box-shadow: 0 0 0 2px #8ABF69bb;
}

/* =====================
   COOKIE BANNER
======================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #101C19f4;
  color: #C2DFB6;
  border-top: 3px solid #8ABF69;
  box-shadow: 0 -2px 16px #101C1920;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 12px;
  z-index: 7000;
  animation: cookieSlideIn 0.85s cubic-bezier(.32,.2,.47,1.43);
  min-height: 64px;
  flex-wrap: wrap;
  gap: 18px;
}
@keyframes cookieSlideIn {
  from {transform: translateY(100%);}
  to {transform: translateY(0);}
}
.cookie-banner p {
  margin: 0 18px 0 0;
  font-size: 0.99em;
  color: #C2DFB6;
}
.cookie-banner .cookie-btn {
  margin: 0 6px;
  font-size: 1em;
  background: #217867;
  color: #fff;
  border-radius: 25px;
  padding: 7px 18px;
  border: none;
  transition: background 0.22s, color 0.16s;
  cursor: pointer;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #8ABF69;
  color: #191970;
}
.cookie-banner .cookie-btn:last-child {
  background: #152F27;
  color: #C2DFB6;
  border: 1px solid #8ABF69;
}
.cookie-banner .cookie-btn:last-child:hover {
  background: #8ABF6922;
}

/* Cookie Modal (preferences popup) */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #0B1F1Aee;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.4s;
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal .modal-content {
  background: #F5FAF5;
  border-radius: 16px;
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  box-shadow: 0 6px 48px #19197066;
  color: #101C19;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal .modal-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cookie-modal .cookie-modal-close {
  font-size: 2.2rem;
  color: #217867;
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.09em;
  color: #101C19;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #217867;
  width: 22px;
  height: 22px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.cookie-modal button {
  font-size: 1em;
  background: #217867;
  color: #fff;
  padding: 9px 22px;
  border-radius: 23px;
  border: none;
  cursor: pointer;
  transition: background .17s, color .13s;
}
.cookie-modal button:hover {
  background: #8ABF69;
  color: #191970;
}

/* =====================
   MOBILE
======================== */
@media (max-width: 600px) {
  .section {
    padding: 22px 6px;
    margin-bottom: 34px;
  }
  .card, .service-item {
    padding: 18px 10px;
    min-width: 140px;
    font-size: 1em;
  }
  .testimonial-card {
    padding: 14px 8px 18px 8px;
    font-size: 0.98em;
  }
  .hero {
    padding: 35px 0 23px 0;
    border-radius: 0 0 23px 23px;
  }
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.2rem;
  }
}

/* =====================
   MISC
======================== */
.text-section {
  background: #152F27;
  padding: 34px 24px;
  border-radius: 14px;
  box-shadow: 0 2px 12px #101C1921;
  margin-bottom: 26px;
  color: #C2DFB6;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.08rem;
}
.text-section h2, .text-section h3 {
  color: #8ABF69;
}
.text-section ul li, .text-section ol li {
  color: #F5FAF5;
}

/* =====================
   ICONS IN LISTS
======================== */
ul li img, ol li img {
  width: 26px;
  height: 26px;
  vertical-align: middle;
  margin-right: 11px;
  filter: drop-shadow(0 0 7px #8ABF6944);
}

/* =====================
   HOVER ANIMATIONS
======================== */
.card, .testimonial-card, .service-item, .cta-btn {
  transition: box-shadow 0.25s, background 0.22s, color 0.22s, transform 0.2s;
}

/* =====================
   VISUAL EFFECTS: NEON/SHADOW
======================== */
.cta-btn, .cookie-banner .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  box-shadow: 0 0 12px #8ABF69aa, 0 0 0 2px #21786760;
}
.cta-btn:active {
  transform: scale(0.97);
}

/* =====================
   ACCESSIBILITY
======================== */
:focus {
  outline: 2.5px solid #8ABF69;
  outline-offset: 2px;
}

[aria-label]:focus {
  outline: 2px dashed #8ABF69;
}

/* =====================
   PRINT STYLES
======================== */
@media print {
  body, .container, .section, .card, .service-item, .card-container, .hero {
    background: #fff !important;
    color: #101C19 !important;
    box-shadow: none !important;
  }
  nav, header .cta-btn, .footer-nav, .footer-social, .cta-btn, .cookie-banner, .cookie-modal {
    display: none !important;
  }
}

