/* -------------------------------------------
   CSS RESET & NORMALIZE
------------------------------------------- */
html,body,div,section,nav,main,footer,header,p,ul,li,ol,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,blockquote,figure,hr,a,img,strong,em,span,button {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  font-size: 16px;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #18191a;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul,ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Raleway', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #18191a;
  margin-bottom: 8px;
}
h1 { font-size: 2.25rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 1.5rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.1rem; line-height: 1.25; margin-bottom: 8px; }
h4,h5,h6 { font-size: 1rem; line-height: 1.4; }
p,li,em,span {
  font-size: 1rem;
  color: #222325;
}
strong { font-weight: 700; color: #18191a; }
hr { border-top: 1px solid #e1e1e1; margin: 32px 0; }

::-webkit-input-placeholder { color: #888; opacity: 1; }
::-moz-placeholder { color: #888; opacity: 1; }
:-ms-input-placeholder { color: #888; opacity: 1; }
::placeholder { color: #888; opacity: 1; }


/* -------------------------------------------
   COLOR PALETTE AND VARIABLES
------------------------------------------- */
:root {
  --primary: #223046;
  --secondary: #7d98a1;
  --accent: #eda13a;
  --light-bg: #fcfcfc;
  --mid-bg: #f2f3f5;
  --dark-bg: #18191a;
  --border: #dedede;
  --text-main: #18191a;
  --text-light: #fff;
  --text-muted: #7d7d7d;
  --shadow-lg: 0 14px 32px 0 rgba(34, 48, 70, 0.11);
  --shadow-md: 0 5px 18px 0 rgba(34, 48, 70, 0.06);
  --shadow-sm: 0 2px 8px 0 rgba(34, 48, 70, 0.04);
  --radius: 16px;
}

/* -------------------------------------------
   LAYOUT CONTAINERS & SPACING
------------------------------------------- */
.container {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}
main {
  background: #fff;
  padding-top: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  margin-bottom: 32px;
}
/* Universal card/flex containers */
.card-container, .card-grid, .features-grid, .articles-list, .values-grid, .workshop-usps, .workshop-descriptions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(34, 48, 70, 0.17);
}
.features-grid, .values-grid {
  width: 100%;
  gap: 32px 32px;
  align-items: stretch;
  margin-bottom: 0;
}
.features-grid > div, .values-grid > div {
  background: var(--mid-bg);
  border-radius: var(--radius);
  padding: 28px 22px 20px 22px;
  flex: 1 1 260px;
  min-width: 240px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  position: relative;
  transition: background 0.18s, box-shadow 0.18s;
}
.features-grid > div:hover, .values-grid > div:hover {
  background: #fff;
  box-shadow: 0 6px 24px 0 rgba(34,48,70,0.07);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section, .testimonial-card, .address-info, .contact-footer {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Articles list for blog */
.articles-list {
  flex-direction: row;
  gap: 24px;
  margin: 24px 0;
}
.articles-list article {
  background: var(--mid-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  flex: 1 1 260px;
  min-width: 220px;
  padding: 20px 18px 18px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.14s, background 0.14s;
}
.articles-list article:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
}

/* -------------------------------------------
   HEADER & NAVIGATION
------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(34, 48, 70, 0.04);
  z-index: 40;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  min-height: 68px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header img {
  max-height: 44px;
  height: 44px;
  width: auto;
}
nav {
  display: flex;
  gap: 18px;
  font-size: 1rem;
  font-family: 'Raleway', 'Open Sans', Arial, Helvetica, sans-serif;
}
nav a {
  color: var(--primary);
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.13s, color 0.13s;
}
nav a:hover, nav a:focus {
  background: var(--primary);
  color: var(--text-light);
}
.cta-btn {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 12px 28px;
  font-weight: bold;
  font-family: 'Raleway',sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  margin-left: 22px;
  box-shadow: var(--shadow-lg);
  border: none;
  cursor: pointer;
  transition: background 0.21s, box-shadow 0.21s, transform 0.12s;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 32px 0 rgba(237,161,58,0.12);
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  z-index: 100;
}

/*
 * Mobile Menu
 */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,48,70,0.96);
  color: #fff;
  z-index: 199;
  transform: translateX(-105%);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.menu-open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 28px;
  background: none;
  color: #fff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 210;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 84px 0 0 0;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  padding: 10px 20px;
  border-radius: 8px;
  line-height: 1.4;
  transition: background 0.19s, color 0.13s;
  font-family: 'Raleway',sans-serif;
  font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
@media (max-width: 992px) {
  nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* -------------------------------------------
   MAIN CONTENT TYPOGRAPHY & BLOCKS
------------------------------------------- */
.content-wrapper {
  padding: 30px 0;
  margin-bottom: 12px;
}
.intro-text, .text-section, .workshop-descriptions, .workshop-usps, .address-info, .map-embed, .thank-you-nextsteps {
  margin-bottom: 18px;
  color: var(--text-main);
  font-size: 1.05em;
}
ul,ol {
  margin-left: 0;
  padding-left: 1.7em;
  margin-bottom: 22px;
  color: var(--text-main);
}
li {
  margin-bottom: 10px;
  line-height: 1.65;
}
ul li strong {
  color: var(--primary);
}
ul li em, .intro-text em {
  color: var(--secondary);
  font-style: italic;
}
.section h1, .section h2,
.section h3, .section h4 {
  color: var(--primary);
}

/* Testimonial Slider & Card */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 8px 0;
  margin-bottom: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 20px 26px;
  min-width: 240px;
  max-width: 390px;
  color: #223046;
  font-size: 1.07rem;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, border-color 0.16s;
}
.testimonial-card:hover {
  border-left: 5px solid var(--accent);
  box-shadow: 0 6px 24px 0 rgba(34,48,70,0.16);
}
.testimonial-card p {
  color: #18191A;
  font-style: italic;
  font-size: 1.08rem;
}
.testimonial-card span {
  color: var(--secondary);
  font-size: 0.97rem;
}

/* Buttons, links (overrides) */
a, button, .cta-btn {
  transition: background 0.19s, color 0.19s, box-shadow 0.13s, transform 0.13s;
}
a:focus, button:focus, .cta-btn:focus {
  outline: 2px dashed var(--accent);
  outline-offset: 2px;
}

/* Inline icons */
.contact-footer img, .contact-details img, .address-info img, .map-embed img {
  vertical-align: middle;
  margin-right: 8px;
  height: 17px;
  width: 17px;
  opacity: 0.84;
}

/* -------------------------------------------
   FOOTER
------------------------------------------- */
footer {
  background: var(--light-bg);
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding: 32px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
footer nav {
  display: flex;
  gap: 24px;
}
footer nav a {
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
  opacity: 0.93;
  padding: 5px 8px;
  border-radius: 7px;
}
footer nav a:hover {
  background: var(--primary);
  color: #fff;
}
.contact-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: var(--secondary);
  font-size: 0.99em;
}
footer p {
  color: #7d7d7d;
  font-size: 0.95em;
  margin-top: 8px;
}

/* -------------------------------------------
   RESPONSIVE STYLES (Mobile First)
------------------------------------------- */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section {
    margin-bottom: 38px;
    padding: 28px 6px;
  }
  .card, .features-grid > div, .values-grid > div {
    min-width: 100%;
    padding: 18px 10px 16px 10px;
  }
  .content-grid, .card-container,
  .features-grid, .articles-list, .values-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    min-width: 100%;
    padding: 16px 12px;
  }
  .text-image-section, .contact-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  header .container {
    gap: 13px;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.02rem; }
}
@media (max-width: 440px) {
  html { font-size: 13.5px; }
  .section {
    padding: 11px 2px;
  }
  h1,h2,h3 { margin-bottom: 12px; }
}


/* -------------------------------------------
   COOKIE CONSENT BANNER & MODAL
------------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: rgba(34, 48, 70, 0.96);
  color: #fff;
  z-index: 9000;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -2px 24px 0 rgba(34,48,70,0.13);
  padding: 20px 10px;
  font-family: 'Open Sans', Arial, Arial, Helvetica, sans-serif;
  animation: consentRollIn 0.8s cubic-bezier(.77,0,.18,1);
}
@keyframes consentRollIn {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .consent-text {
  max-width: 480px;
  font-size: 0.98rem;
  margin-right: 22px;
}
.cookie-consent-banner .consent-actions {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  border-radius: 8px;
  padding: 8px 23px;
  margin: 0;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Raleway', 'Open Sans', Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, transform 0.16s;
  box-shadow: 0 1px 4px 0 rgba(35,35,35,0.03);
}
.cookie-btn.accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn.accept:hover {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--primary);
}
.cookie-btn.reject:hover {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.settings {
  background: none;
  border: 1px solid #fff;
  color: #fff;
}
.cookie-btn.settings:hover {
  background: #18191A;
  color: var(--accent);
  border-color: var(--accent);
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9950;
  background: rgba(34,48,70,0.63);
  display: none;
}
.cookie-modal-backdrop.open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius);
  box-shadow: 0 6px 52px 0 rgba(34,48,70,0.19);
  min-width: 320px;
  max-width: 98vw;
  max-height: 92vh;
  padding: 40px 30px 30px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeScaleIn 0.34s cubic-bezier(.77,0,.18,1);
}
@keyframes fadeScaleIn {
  0% { transform: scale(0.88); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-modal h2 {
  font-size: 1.32rem;
  margin-bottom: 12px;
  color: var(--primary);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 1.04em;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
}
.cookie-modal .category-toggle {
  margin-left: auto;
  appearance: none;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #dedede;
  position: relative;
  outline: none;
  transition: background 0.21s;
  cursor: pointer;
}
.cookie-modal .category-toggle:checked {
  background: var(--accent);
}
.cookie-modal .category-toggle::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: left 0.21s;
}
.cookie-modal .category-toggle:checked::before {
  left: 22px;
}
.cookie-modal .category-toggle[disabled] {
  opacity: 0.7;
  background: #888;
  cursor: not-allowed;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 22px;
}

/* -------------------------------------------
   FORM ELEMENTS (Newsletter, Inputs etc.)
------------------------------------------- */
input, textarea, select {
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: 8px 13px;
  font-family: inherit;
  font-size: 1em;
  color: var(--primary);
  margin-bottom: 16px;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Subtle element fade-in (for hero/CTA) */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  animation: fadeInUp 0.5s forwards;
}
@keyframes fadeInUp {
  100% {
    opacity: 1;
    transform: none;
  }
}

/* -------------------------------------------
   VISUAL/THEME MICROINTERACTIONS & DETAILS
------------------------------------------- */
.features-grid > div img, .values-grid > div img {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  opacity: 0.92;
}

.cta-btn:active, .cookie-btn:active {
  transform: translateY(0.5px) scale(0.97);
}

/* Divider line */
.divider {
  width: 44px;
  height: 2px;
  background: var(--accent);
  margin: 28px 0 16px 0;
  border-radius: 2px;
}

/* -------------------------------------------
   DARK MODE SUPPORT (MonoAesthetic Variant)
------------------------------------------- */
@media (prefers-color-scheme: dark) {
  body, html {
    background: #18191a;
    color: #ececf0;
  }
  .card, .features-grid > div, .values-grid > div,
  .testimonial-card, .articles-list article {
    background: #22242c;
    color: #ececf0;
  }
  header, footer {
    background: #18191a;
    color: #ececf0;
  }
  nav a, footer nav a, .mobile-menu-toggle {
    color: #ececf0;
  }
  nav a:hover, footer nav a:hover, .mobile-nav a:hover {
    background: var(--accent);
    color: var(--primary);
  }
  .cookie-consent-banner {
    background: #141518;
    color: #fff;
  }
  .cookie-modal {
    background: #18191a;
    color: #ececf0;
  }
}
