/* Zelar Blast Akademie – gradient_modern CSS (Flexbox only) */

/* ---- CSS RESET ---- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1F2937;
  background: linear-gradient(135deg, #e0fbfc 0%, #f8fafc 100%);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: #1F2937;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4FD1C5;
}

/* ---- BRAND & TYPOGRAPHY ---- */
h1, h2, h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1F2937;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.subheadline {
  font-size: 1.25rem;
  margin-bottom: 20px;
}
p, ul, ol, blockquote, address {
  margin-bottom: 18px;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}
blockquote {
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 14px;
  color: #1F2937;
  background: #f8fafc;
  border-left: 4px solid #4FD1C5;
  padding: 12px 20px;
}
cite {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.95rem;
  font-style: normal;
}

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 28px rgba(31,41,55,.07);
  padding: 32px 28px;
}
.cta-block {
  align-items: center;
  text-align: center;
  background: linear-gradient(93deg, #4FD1C5 8%, #F6E05E 100%);
  color: #1F2937;
}

/* ---- HEADER ---- */
header {
  background: #fff;
  box-shadow: 0 4px 16px rgba(31,41,55,0.04);
  position: sticky;
  top: 0;
  z-index: 101;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 24px;
}
header img {
  height: 38px;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #4FD1C5;
  color: #fff;
}
.main-nav .cta {
  background: linear-gradient(90deg, #4FD1C5 60%, #F6E05E 100%);
  color: #1F2937;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(79,209,197,0.13);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: #1F2937;
  color: #fafffa;
  box-shadow: 0 8px 24px rgba(31,41,55,.15);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #1F2937;
  cursor: pointer;
  margin-left: 18px;
  z-index: 200;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #4FD1C5;
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(31,41,55, 0.96);
  color: #fff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.38,.97,.39,1.01);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 24px 8px 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #F6E05E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 40px 0 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #fff;
  padding: 10px 0;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #4FD1C5;
  background: rgba(246,224,94,0.10);
}

/* ---- HERO SECTION ---- */
main section:first-child {
  background: linear-gradient(97deg, #F6E05E 60%, #4FD1C5 100%);
}
main section:first-child .content-wrapper {
  background: transparent;
  box-shadow: none;
}
main .cta {
  margin-top: 14px;
  display: inline-block;
}

/* ---- BUTTONS & CTA ---- */
.cta,
button.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 13px 32px;
  border-radius: 24px;
  border: none;
  background: linear-gradient(90deg, #4FD1C5 60%, #F6E05E 100%);
  color: #1F2937;
  cursor: pointer;
  box-shadow: 0 3px 14px rgba(79,209,197,0.10);
  transition: box-shadow 0.2s, background 0.2s, color 0.2s;
  text-align: center;
}
.cta:hover, .cta:focus {
  background: #1F2937;
  color: #fff;
  box-shadow: 0 2px 16px rgba(31,41,55,.14);
}
button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 18px;
  border: none;
  padding: 10px 23px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
button:focus, .btn:focus {
  outline: 2px solid #4FD1C5;
  outline-offset: 2px;
}

/* ---- FLEXBOX LAYOUTS ---- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 0 0;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(31,41,55,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.24s, transform 0.2s;
}
.feature-grid > div img {
  width: 40px;
  margin-bottom: 10px;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px rgba(79,209,197,0.11);
  transform: translateY(-5px);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(31,41,55,0.08);
  display: flex;
  flex-direction: column;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 20px 20px 22px 20px;
}
.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: row;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(31,41,55,0.07);
  margin-bottom: 20px;
  min-width: 0;
}
.testimonial-card img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #4FD1C5;
  object-fit: cover;
  flex-shrink: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/****** Spacing for lists and nested sections ******/
ul, ol {
  padding-left: 24px;
}
ul.categories-list,
ul.credentials-list,
ul.contact-details {
  margin-bottom: 16px;
  padding-left: 24px;
}
ul.benefit-list,
div.benefit-list {
  margin-top: 10px;
  margin-bottom: 20px;
}
.project-examples ul {
  margin-top: 6px;
  margin-bottom: 4px;
}

/****** Footer ******/
footer {
  background: #1F2937;
  color: #f8fafc;
  padding: 46px 0 18px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #f8fafc;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F6E05E;
}
footer address {
  font-style: normal;
  font-size: 1rem;
  color: #e0fbfc;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
footer address img {
  width: 20px;
  vertical-align: middle;
}
.footer-meta {
  color: #4FD1C5;
  font-size: 0.9rem;
  margin-top: 8px;
  text-align: center;
}

/****** Cookie Consent Banner ******/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(92deg, #fff 60%, #E0FBFC 100%);
  color: #222;
  padding: 24px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 1100;
  box-shadow: 0 -2px 24px rgba(31,41,55,0.12);
  font-size: 1rem;
  animation: cookie-fade-in 0.6s cubic-bezier(.22,.68,.51,1.01);
}
@keyframes cookie-fade-in {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 16px;
  border: none;
  padding: 10px 23px;
  font-weight: 600;
  margin-right: 4px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(79,209,197,0.08);
  transition: background 0.2s, color 0.2s;
}
.cookie-banner .accept {
  background: #4FD1C5;
  color: #1F2937;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #1F2937;
  color: #fff;
}
.cookie-banner .reject {
  background: #F6E05E;
  color: #1F2937;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #1F2937;
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  border: 2px solid #4FD1C5;
  color: #4FD1C5;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #4FD1C5;
  color: #fff;
}

/****** Cookie Modal ******/
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31,41,55,0.73);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fade-in 0.45s cubic-bezier(.22,.68,.51,1.01);
}
@keyframes cookie-modal-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #1F2937;
  border-radius: 22px;
  padding: 36px 26px 24px 26px;
  max-width: 370px;
  width: 94vw;
  box-shadow: 0 8px 40px rgba(79,209,197,0.11);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-modal .category {
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-modal label {
  font-size: 1rem;
  margin-right: 4px;
}
.cookie-modal input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #4FD1C5;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 15px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 16px;
  border: none;
  padding: 10px 23px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(79,209,197,0.08);
  margin-right: 2px;
  transition: background 0.2s, color 0.2s;
}
.cookie-modal .save {
  background: #4FD1C5;
  color: #1F2937;
}
.cookie-modal .save:hover, .cookie-modal .save:focus {
  background: #1F2937;
  color: #fff;
}
.cookie-modal .cancel {
  background: #F6E05E;
  color: #1F2937;
}
.cookie-modal .cancel:hover, .cookie-modal .cancel:focus {
  background: #1F2937;
  color: #fff;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #4FD1C5;
  cursor: pointer;
  z-index: 1211;
  transition: color 0.2s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #1F2937;
}

/****** Utility Classes & Adaptations ******/
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
.gap-20 { gap: 20px; }

hr {
  border: none;
  border-bottom: 1px solid #E0FBFC;
  margin: 28px 0;
}

/****** RESPONSIVE DESIGN *******/
@media (max-width: 1024px) {
  .container {
    max-width: 900px;
    padding: 0 12px;
  }
  .content-wrapper {
    padding: 28px 14px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 760px;
  }
  .main-nav {
    gap: 14px;
  }
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .content-wrapper, .cta-block {
    border-radius: 15px;
    padding: 22px 7px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 10px;
  }
  .card-content {
    padding: 16px 10px 17px 10px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 10px;
  }
  .cookie-banner {
    padding: 19px 7px 16px 7px;
    font-size: 0.98rem;
  }
}
@media (max-width: 580px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.15rem;
  }
}
@media (max-width: 450px) {
  .feature-grid > div {
    padding: 16px 7px;
  }
  .cookie-modal {
    padding: 16px 7px;
    min-width: 0;
  }
}

/* ---- VISUAL MICRO-INTERACTIONS ---- */
.cta, .btn, .cookie-banner button, .cookie-modal button {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
}
.cta:active, .btn:active, .cookie-banner button:active, .cookie-modal button:active {
  transform: scale(0.97);
}
.feature-grid > div:active {
  transform: translateY(1px) scale(0.99);
}

/* ---- Miscellaneous for Accessibility & Contrast ---- */
.testimonial-card, .testimonial-card blockquote, .testimonial-card cite {
  color: #1F2937 !important;
}
.testimonial-card {
  background: #f8fafc;
  border-left: 4px solid #4FD1C5;
}

/* ---- Hide non-functional sections on print ---- */
@media print {
  .main-nav, .cta, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display:none !important; }
}
