/* RESET & BASELINE ---------------------------------------------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #203148;
  background: #F9F8F5;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #203148;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #7CBB46;
  outline-offset: 2px;
}

/* GENERAL TYPOGRAPHY -------------------------------------------------------*/
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #203148;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.14;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.22;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul, ol, blockquote {
  margin-bottom: 16px;
}
blockquote {
  font-style: italic;
  color: #203148;
  background: #ECF1F6;
  border-left: 4px solid #7CBB46;
  padding: 16px 24px;
  margin-bottom: 12px;
  border-radius: 6px;
  line-height: 1.6;
}
cite {
  font-style: normal;
  color: #607089;
  font-size: 0.92rem;
}
strong {
  font-weight: 700;
}

/* BRAND CONTAINERS ---------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/****************************** HEADER & NAV ********************************/
header {
  background: #203148;
  color: #fff;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  min-height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  height: 64px;
  margin-right: 20px;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 10px 0;
  transition: color 0.2s;
  position: relative;
}
nav a:hover,
nav a.active {
  color: #7CBB46;
}
nav a.active::after {
  content: '';
  display: block;
  width: 20px;
  border-bottom: 2px solid #7CBB46;
  margin: 2px auto 0 auto;
}

.btn-primary {
  background: #7CBB46;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: inline-block;
  padding: 12px 32px;
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  box-shadow: 0 4px 16px rgba(32,49,72,0.07);
  transition: background 0.15s, box-shadow 0.2s, color 0.2s;
  cursor: pointer;
  margin-left: 28px;
}
.btn-primary:focus {
  outline: 2px solid #203148;
  outline-offset: 3px;
}
.btn-primary:hover,
.btn-primary:active {
  background: #589D30;
  color: #fff;
  box-shadow: 0 6px 24px rgba(32,49,72,0.13);
}

.mobile-menu-toggle {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2rem;
  margin-left: 20px;
  cursor: pointer;
  display: none;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #7CBB46;
}

/**************************** MOBILE MENU ***********************************/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(32, 49, 72, 0.96);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.53,0,.17,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 24px;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  position: absolute;
  top: 18px;
  right: 24px;
  cursor: pointer;
  z-index: 20;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 70px 32px 0 32px;
  width: 100vw;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 0;
  width: 100%;
  border-radius: 6px;
  transition: background 0.13s, color 0.15s;
}
.mobile-nav a:hover {
  background: #7CBB46;
  color: #203148;
}

@media (max-width: 1000px) {
  header .container {
    flex-direction: row;
    gap: 0;
    min-height: 70px;
  }
  nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .btn-primary {
    margin-left: 16px;
    padding: 10px 20px;
    font-size: 1rem;
  }
}

/***************************** LAYOUT STRUCTURE *****************************/
main {
  flex: 1;
  margin-top: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
/* Common Section Spacing */
.section,
.hero,
.features,
.about-overview,
.testimonials,
.cta-final,
.philosophy,
.team-section,
.services-offer,
.features-why,
.blog-list,
.workshop-offers,
.workshop-testimonials,
.contact-section,
.legal,
.thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 600px) {
  .section,
  .hero,
  .features,
  .about-overview,
  .testimonials,
  .cta-final,
  .philosophy,
  .team-section,
  .services-offer,
  .features-why,
  .blog-list,
  .workshop-offers,
  .workshop-testimonials,
  .contact-section,
  .legal,
  .thank-you {
    padding: 24px 5px;
    margin-bottom: 36px;
  }
}

/******************************* HERO SECTION ******************************/
.hero {
  background: linear-gradient(120deg,#F9F8F5 80%,#ECF1F6 100%);
  box-shadow: 0 2px 24px rgba(32, 49, 72, 0.04);
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  gap: 18px;
}
.hero h1 {
  color: #203148;
  text-align: center;
}
.hero p {
  color: #4B5A6D;
  max-width: 600px;
  font-size: 1.15rem;
  text-align: center;
}
.hero .btn-primary {
  margin: 10px auto 0 auto;
  display: block;
}

/**************** FLEXBOX PATTERNS (UNIFIED) ***********************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(32,49,72,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 28px;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(32,49,72,0.12);
}
.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 {
  background: #ECF1F6;
  color: #203148;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(32,49,72,0.05);
  margin-bottom: 24px;
  max-width: 700px;
  width: 100%;
  transition: box-shadow 0.18s, background 0.18s;
}
.testimonial-card:hover {
  background: #DEEAF6;
  box-shadow: 0 6px 20px rgba(32,49,72,0.09);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features, .features-why {
  background: #F9F8F5;
  padding-top: 24px;
}

/****************************** FEATURES/GRID *******************************/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-block {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 20px rgba(32,49,72,0.06);
  padding: 26px 20px 22px 20px;
  flex: 1 1 240px;
  min-width: 210px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: transform 0.22s, box-shadow 0.16s;
}
.feature-block img {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
}
.feature-block h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  color: #203148;
}
.feature-block p {
  color: #4B5A6D;
  font-size: 1rem;
}
.feature-block:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px rgba(32,49,72,0.10);
}

/********************************* TEAM *************************************/
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 20px 0 32px 0;
}
.team-member {
  background: #fff;
  box-shadow: 0 2px 10px rgba(32,49,72,0.06);
  border-radius: 10px;
  padding: 24px 22px;
  min-width: 230px;
  flex: 1 1 260px;
  transition: box-shadow 0.15s;
}
.team-member:hover {
  box-shadow: 0 8px 32px rgba(32,49,72,0.13);
}

/****************************** SERVICES LIST *******************************/
.service-list, .workshop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(32,49,72,0.06);
  padding: 28px 26px 24px 26px;
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow 0.16s, background 0.21s;
}
.service-item h3 {
  font-size: 1.13rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.service-item .price {
  background: #ECF1F6;
  color: #203148;
  font-size: 0.99rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 10px;
  margin-left: 6px;
}
.service-item:hover {
  background: #ECF1F6;
  box-shadow: 0 6px 24px rgba(32,49,72,0.10);
}

/********************************* BLOG/ARTICLES ***************************/
.article-teaser-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.article-teaser-grid article {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(32,49,72,0.05);
  padding: 22px 22px 18px 22px;
  flex: 1 1 260px;
  min-width: 200px;
  transition: box-shadow 0.17s, background 0.15s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-teaser-grid article h3 {
  font-size: 1.09rem;
  color: #203148;
}
.article-teaser-grid article p {
  color: #4B5A6D;
  font-size: 1rem;
}
.article-teaser-grid article a {
  color: #7CBB46;
  font-weight: 600;
  margin-top: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.15s;
}
.article-teaser-grid article a:hover {
  color: #203148;
}
.article-teaser-grid article:hover {
  box-shadow: 0 8px 24px rgba(32,49,72,0.10);
  background: #ECF1F6;
}

/*************************** FILTER BUTTONS (BLOG) ***********************/
.filter-options {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.filter-options span {
  font-size: 1rem;
  color: #203148;
  font-weight: 500;
}
.filter-options button {
  border: none;
  border-radius: 18px;
  background: #ECF1F6;
  color: #203148;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 7px 19px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.14s;
  margin-right: 5px;
}
.filter-options button:hover, .filter-options button.active {
  background: #7CBB46;
  color: #fff;
}

/************************* CONTACT/INFO SECTION ***************************/
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 6px;
}
.text-section {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.info-section {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.info-section .btn-primary {
  margin-top: 10px;
}

/**************************** CTA SECTION **********************************/
.cta-final {
  background: #203148;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(32,49,72,0.06);
  color: #fff;
  padding: 44px 16px;
  margin-bottom: 42px;
}
.cta-final h2 {
  color: #fff;
  margin-bottom: 22px;
}
.cta-final .btn-primary {
  margin-left: 0;
  background: #7CBB46;
  color: #fff;
}
.cta-final .btn-primary:hover {
  background: #A5D77E;
  color: #203148;
}

/**************************** FOOTER **************************************/
footer {
  background: #203148;
  color: #fff;
  padding: 40px 0 18px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo img {
  height: 54px;
  margin-bottom: 12px;
}
.footer-links {
  display: flex;
  flex-direction: row;
  gap: 32px;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.85;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.12s, opacity 0.12s;
}
.footer-links a:hover {
  color: #7CBB46;
  opacity: 1;
}
.footer-contact {
  font-size: 0.97rem;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  justify-content: center;
  transition: background 0.17s;
}
.footer-social a:hover {
  background: #7CBB46;
}
.footer-social img {
  width: 22px;
  height: 22px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
  .footer-links {
    gap: 24px;
  }
}
@media (max-width: 600px) {
  footer {
    padding: 24px 0 12px 0;
  }
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

/*************************** RESPONSIVE FLEX PATTERNS **********************/
@media (max-width: 900px) {
  .feature-grid, .team-list, .service-list, .workshop-list, .article-teaser-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 24px;
  }
  .feature-block, .team-member, .service-item, .card {
    max-width: 100%;
    min-width: 180px;
  }
  .feature-grid, .team-list, .service-list, .workshop-list, .article-teaser-grid {
    align-items: stretch;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .contact-details {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .hero .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/*************************** COOKIE CONSENT BANNER *************************/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #203148;
  color: #fff;
  padding: 28px 20px 22px 20px;
  box-shadow: 0 -2px 14px rgba(32, 49, 72, .18);
  z-index: 5000;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.29s, transform 0.33s cubic-bezier(.53,0,.17,1);
}
.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 220px;
  font-size: 1rem;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #7CBB46;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 26px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-btn:focus {
  outline: 2px solid #fff;
  outline-offset: 1px;
}
.cookie-btn.secondary {
  background: #fff;
  color: #203148;
}
.cookie-btn.secondary:hover {
  background: #ECF1F6;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 2px solid #7CBB46;
  padding: 8px 20px;
}
.cookie-btn.settings:hover {
  background: #7CBB46;
  color: #fff;
}

/**************************** COOKIE MODAL *********************************/
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(32,49,72,0.85);
  z-index: 5050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #203148;
  border-radius: 18px;
  max-width: 420px;
  width: 96vw;
  box-shadow: 0 6px 48px rgba(32,49,72,0.23);
  padding: 38px 30px 34px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookie-fadein 0.44s cubic-bezier(.64,0,.32,1);
}
@keyframes cookie-fadein {
  0% { transform: translateY(48px) scale(.93); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.cookie-modal-category {
  margin-bottom: 16px;
  padding: 14px 12px;
  background: #F9F8F5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.07rem;
}
.cookie-modal-category input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: #7CBB46;
}
.cookie-modal-category label {
  flex: 1;
  cursor: pointer;
}
.cookie-modal-category.essential label::after {
  content: ' (immer erforderlich)';
  color: #717991;
  font-size: 0.98em;
  font-weight: normal;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 8px;
}
.cookie-modal-close {
  background: transparent;
  color: #203148;
  border: none;
  font-size: 1.8rem;
  position: absolute;
  top: 16px;
  right: 18px;
  cursor: pointer;
}

@media (max-width: 500px) {
  .cookie-modal { padding: 18px 6vw 18px 6vw;}
  .cookie-modal-category { font-size: 1rem;}
}

/***************************** LEGAL, THANK YOU *****************************/
.legal, .thank-you {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 24px rgba(32,49,72,0.06);
  padding-top: 36px;
  padding-bottom: 36px;
}
.legal h1, .thank-you h1 {
  margin-bottom: 18px;
}
.legal h2 {
  margin-top: 28px;
  margin-bottom: 10px;
}

/*************************** MEDIA/TABLET OPTIMIZATIONS ********************/
@media (max-width: 900px) {
  .card-container, .feature-grid, .team-list, .service-list, .workshop-list, .article-teaser-grid {
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  body, html {
    font-size: 15px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.04rem; }
  .btn-primary, .cookie-btn {
    font-size: 0.99rem;
    padding: 10px 18px;
  }
  .card, .feature-block, .service-item, .team-member, .testimonial-card {
    padding: 14px 10px;
  }
}

/************************** UTILITY SPACING CLASSES ***********************/
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }

/* END OF CSS */
