/* CSS RESET & NORMALIZATION */
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  background: #F9F9F9;
  color: #111;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #233D4D;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  text-decoration: underline;
  color: #111;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
strong {
  font-weight: 600;
}
em {
  font-style: italic;
}

::selection {
  background: #fffbb8;
  color: #111;
}

/* TYPOGRAPHY & HEADINGS - BRAND */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.375rem;
  font-weight: 700;
  line-height: 1.15;
  color: #111111;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: 12px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
  color: #222;
  margin-bottom: 8px;
}
.subheadline {
  font-size: 1.125rem;
  color: #333;
  margin-bottom: 24px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}
/* General content wrapper spacing, always flex */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* SPACING & SECTIONS -- as per requirements */
.section,
.hero,
.features,
.about-preview,
.newsletter-signup,
.contact-cta,
.about-section,
.competence-section,
.categories,
.featured-articles,
.workshop-highlights,
.newsletter-benefits,
.signup-info,
.cta,
.presentations,
.contact-info,
.faq,
.legal,
.thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(34,42,60,0.05);
  position: relative;
}

/* HEADERS & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 18px rgba(34,42,60,0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
header img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #111;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #233D4D;
}
header .cta.primary {
  background: #233D4D;
  color: #fff;
  border: none;
  border-radius: 28px;
  padding: 10px 28px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(35,61,77,.08);
  margin-left: 20px;
  transition: background .18s, box-shadow .18s, color .18s;
  cursor: pointer;
  outline: none;
}
header .cta.primary:hover, header .cta.primary:focus {
  background: #111;
  color: #fff;
  box-shadow: 0 4px 16px rgba(35,61,77,0.12);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #111;
  cursor: pointer;
  margin-left: 18px;
  z-index: 52;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F1F6F9;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1003;
  display: flex;
  flex-direction: column;
  transform: translateX(100vw);
  transition: transform 0.34s cubic-bezier(.68,-0.36,.32,1.43);
  box-shadow: -2px 0 32px 0 rgba(35,61,77,.09);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 24px 0 0;
  background: none;
  color: #233D4D;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #233D4D;
  color: #fff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 40px 32px;
  gap: 32px;
}
.mobile-nav a {
  font-size: 1.25rem;
  padding: 8px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #111;
  transition: color .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #233D4D;
  text-decoration: underline;
}
/* Hide main nav on mobile */
@media (max-width: 992px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(90deg,#fff 60%,#F1F6F9 100%);
  box-shadow: none;
}
.hero h1 {
  color: #233D4D;
  font-size: 2.25rem;
  margin-bottom: 10px;
}
.hero .subheadline {
  color: #555;
  margin-bottom: 24px;
}
.hero .cta.primary {
  background: #233D4D;
  color: #fff;
}

/* FEATURES SECTION */
.features .feature-grid,
.featured-articles .feature-grid,
.workshop-highlights .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-card {
  background: #F1F6F9;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(35,61,77,.07);
  flex: 1 1 240px;
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 200px;
  max-width: 320px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .17s;
  border: 1.5px solid #e5e7eb;
}
.feature-card:hover, .feature-card:focus {
  box-shadow: 0 6px 32px rgba(35,61,77,0.14);
  transform: translateY(-3px) scale(1.01);
  border-color: #233D4D;
}
.feature-card img {
  width: 38px;
  height: 38px;
}
.feature-card h3 {
  color: #233D4D;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 4px;
}

/* CARDS, FLEX-LAYOUTS, CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(33,33,33,0.07);
  padding: 24px 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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SPECIAL CARDS (WORKSHOP HIGHLIGHTS) */
.workshop-highlights .feature-grid li {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(35,61,77,.10);
  gap: 15px;
  padding: 14px 18px;
  font-size: 1.1rem;
  color: #1a1a1a;
  margin-bottom: 12px;
  border: 1px solid #eaeaea;
}
.workshop-highlights .feature-grid li img {
  width: 34px; height: 34px;
}

/* BUTTONS & CALL-TO-ACTIONS */
.cta,
.cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #233D4D;
  color: #fff;
  border: none;
  border-radius: 28px;
  padding: 9px 32px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .02em;
  box-shadow: 0 2px 12px rgba(35,61,77,.08);
  margin-top: 8px;
  transition: background 0.16s, color 0.16s, box-shadow 0.2s, transform 0.13s;
  outline: none;
  cursor: pointer;
}
.cta:hover, .cta:focus {
  background: #111;
  color: #fff;
  box-shadow: 0 6px 24px rgba(35,61,77,0.19);
  transform: scale(1.012);
}
button, input[type="button"], input[type="submit"] {
  font-family: inherit;
}

/* TESTIMONIALS */
.testimonials {
  background: #F1F6F9;
  box-shadow: none;
  border-radius: 18px;
}
.testimonials .testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 32px 18px 32px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(35,61,77,0.06);
  border: 1.5px solid #d7dadf;
  transition: box-shadow .15s, border-color .14s, transform .11s;
  font-size: 1rem;
  color: #181818;
  max-width: 700px;
}
.testimonials .testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonials .testimonial-card:hover {
  border-color: #FFBA08;
  box-shadow: 0 4px 24px rgba(35,61,77,0.13);
  transform: translateY(-2px) scale(1.005);
}
.testimonials .testimonial-card p {
  color: #181818;
  font-size: 1.07rem;
  font-style: italic;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 6px;
}
.testimonials .testimonial-card span {
  color: #233D4D;
  font-size: 0.99rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* FOOTER */
footer {
  background: #111;
  color: #fff;
  padding: 36px 0 18px 0;
  box-shadow: 0 -1px 10px rgba(35,61,77,0.09);
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
}
footer nav a {
  color: #d7dadf;
  font-size: 0.96rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color .18s;
}
footer nav a:hover,footer nav a:focus{
  color: #FFBA08;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img {
  width: 32px; height: 32px;
}
.footer-brand span {
  font-size: 0.92rem;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* FAQ SECTION */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #F1F6F9;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(35,61,77,.07);
  padding: 20px 20px 16px 20px;
  margin-bottom: 8px;
  border: 1px solid #e5e7eb;
}
.faq-item h3 {
  color: #233D4D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.faq-item p {
  color: #222;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* THANK YOU PAGE */
.thank-you .confirmation-text {
  font-size: 1.125rem;
  color: #233D4D;
  font-weight: 600;
  margin-bottom: 12px;
}

/* LEGAL SECTIONS */
.legal ul {
  margin-top: 14px;
  padding-left: 18px;
}
.legal li {
  color: #2a2a2a;
  font-size: 1rem;
  margin-bottom: 8px;
  list-style: disc inside;
}
.legal a {
  color: #233D4D;
  text-decoration: underline;
}

/* ACCESSIBLE FOCUS STYLES */
:focus {
  outline: 2px solid #233D4D;
  outline-offset: 2px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: rgba(17, 17, 17, 0.97);
  color: #fff;
  z-index: 3000;
  box-shadow: 0 -2px 20px rgba(35,61,77,0.16);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  padding: 22px 8vw 18px 6vw;
  transition: bottom .3s;
  font-size: 1rem;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.cookie-banner.hide {
  bottom: -200px;
}
.cookie-banner .cookie-text {
  max-width: 520px;
  line-height: 1.7;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-left: auto;
  align-items: center;
}
.cookie-btn {
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 24px;
  padding: 10px 22px;
  font-size: 0.98rem;
  background: #233D4D;
  color: #fff;
  margin-right: 0;
  cursor: pointer;
  transition: background .14s, color .14s, box-shadow .16s;
  box-shadow: 0 2px 8px rgba(35,61,77,.15);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #111;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #233D4D;
  border: 1.5px solid #111;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F1F6F9;
  color: #111;
  border-color: #233D4D;
}
.cookie-btn.settings {
  background: transparent;
  color: #FFBA08;
  border: 1.5px solid #FFBA08;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFBA08;
  color: #111;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(28,34,44,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-dialog {
  background: #fff;
  color: #111;
  border-radius: 16px;
  max-width: 430px;
  padding: 36px 32px 30px 32px;
  box-shadow: 0 8px 44px rgba(35,61,77,0.22);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: modalIn .35s cubic-bezier(0.25,0.89,0.68,1.11);
}
@keyframes modalIn {
  from {transform: translateY(60px) scale(0.97); opacity:0;}
  to {transform: translateY(0) scale(1); opacity:1;}
}
.cookie-modal h2 {
  font-size: 1.11rem;
  color: #233D4D;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #233D4D;
  margin-right: 6px;
}
.cookie-category label {
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-category.essential label {
  color: #333;
  font-weight: 600;
}
.close-cookie-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  color: #233D4D;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  transition: color .18s;
}
.close-cookie-modal:hover, .close-cookie-modal:focus {
  color: #FFBA08;
}
.save-cookie-prefs {
  margin-top: 10px;
  background: #233D4D;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 9px 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background .17s;
}
.save-cookie-prefs:hover, .save-cookie-prefs:focus {
  background: #111;
  color: #fff;
}

/* RESPONSIVE DESIGN (MOBILE FIRST) */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  header .container, footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .main-nav {
    gap: 18px;
  }
  .section, .hero, .features, .about-preview, .newsletter-signup, .contact-cta,
  .about-section, .competence-section, .categories, .featured-articles, .workshop-highlights, .newsletter-benefits, .signup-info, .cta, .presentations, .contact-info, .faq, .legal, .thank-you {
    margin-bottom: 38px;
    padding: 28px 7px;
  }
  .feature-card, .faq-item {
    padding: 18px 10px 17px 10px;
    min-width: 0;
    max-width: 100%;
  }
  .feature-card img {
    width: 30px; height: 30px;
  }
  .footer-brand {
    gap: 7px;
  }
  .testimonials .testimonial-card {
    padding: 14px 7vw 14px 7vw;
    max-width: 98vw;
  }
  .legal ul {
    padding-left: 6px;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 16px 5vw 14px 5vw;
    gap: 18px;
    border-radius: 10px;
    font-size: 0.95rem;
  }
  .cookie-buttons {
    margin-left: 0;
  }
  .cookie-modal-dialog {
    padding: 20px 10px 19px 10px;
    min-width: 0;
    width: 96vw;
    max-width: 98vw;
  }
}

/* ADDITIONAL: FORMS, TABLES (minimal, as not listed but common) */
input[type="text"], input[type="email"], textarea {
  border: 1.5px solid #e2e4e7;
  border-radius: 8px;
  font-size: 1rem;
  padding: 8px 12px;
  width: 100%;
  margin-bottom: 12px;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #222;
  transition: border .12s;
  background: #fff;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #233D4D;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 4px;
  color: #233D4D;
}

/* MONOCHROME DETAILS: SUBTLE DIVIDERS */
hr {
  border: none;
  border-top: 1px solid #e2e4e7;
  margin: 32px 0;
}

/* VISUAL HIERARCHY & SPACING */
.section > .container, .hero > .container {
  padding-top: 0;
  padding-bottom: 0;
}

/* Z-INDEX SAFEGUARDS */
.mobile-menu, .mobile-menu.open { z-index: 1003; }
.cookie-banner { z-index: 3000; }
.cookie-modal { z-index: 4000; }


/* MICRO INTERACTIONS (SHAKE / SLIDE FOR MODALS) */
@media (max-width: 512px) {
  .cookie-modal-dialog {
    min-width: 0;
    width: 94vw;
    padding-left: 6vw;
    padding-right: 6vw;
  }
}
