/* CSS RESET & NORMALIZE */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #f8f9fb;
  color: #222846;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: #222846;
  text-decoration: none;
  transition: color .2s;
}
ul, ol {
  margin: 0 0 1em 1.5em;
  padding: 0;
}
li {
  margin-bottom: .5em;
}
:focus {
  outline: 2px solid #6EC9B0;
  outline-offset: 2px;
}
button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  background: none;
  cursor: pointer;
}
strong, b {
  font-weight: 700;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6, .cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
h1 { font-size: 2.25rem; line-height: 1.15; margin-bottom: 16px; }
h2 { font-size: 1.75rem; line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, ol { font-size: 1rem; line-height: 1.7; }

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
main {
  min-height: 60vh;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 28px 0 rgba(34,40,70,0.06);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 24px 8px;
    border-radius: 10px;
  }
}

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

/* FLEXBOX GRIDS */
.feature-grid, .workshop-list, .service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
@media (max-width: 900px) {
  .feature-grid, .workshop-list, .service-cards {
    flex-direction: column;
    gap: 20px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(34,40,70,0.04);
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(34,40,70,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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

.testimonial-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0;
  justify-content: flex-start;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  min-width: 260px;
  max-width: 460px;
  margin-bottom: 20px;
  background: #f8fbfd;
  border-left: 6px solid #6EC9B0;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(34,40,70,0.06);
  color: #222846;
}
.testimonial-card p {
  color: #222846;
  font-size: 1.09rem;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #545c78;
  font-weight: 500;
}

.rating-summary {
  background: #eaf1f8;
  padding: 12px 18px;
  margin-top: 10px;
  border-radius: 8px;
  font-size: 1rem;
  color: #222846;
  font-weight: 600;
}

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

/* HEADER & NAVIGATION */
header {
  background: #222846;
  color: #fff;
  box-shadow: 0 2px 14px 0 rgba(34,40,70,0.06);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 29;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
header img {
  height: 36px;
}
nav {
  display: flex;
  gap: 32px;
  font-size: 1rem;
}
nav a {
  color: #fff;
  font-weight: 500;
  letter-spacing: .03em;
  padding: 6px 4px;
  border-radius: 3px;
  transition: background .14s, color .14s;
}
nav a:hover, nav a:focus {
  background: #6EC9B0;
  color: #222846;
}
@media (max-width: 1024px) {
  nav {
    gap: 20px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  nav {
    gap: 10px;
    font-size: 0.97rem;
  }
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  z-index: 31;
  transition: background .16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #394069;
}
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 310px;
  height: 100vh;
  background: #222846;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.62,.15,.29,1.21);
  z-index: 35;
  box-shadow: -10px 0 36px 0 rgba(34, 40, 70, 0.23);
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 26px 24px 24px 32px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 1.7rem;
  color: #fff;
  background: none;
  border: none;
  margin-bottom: 18px;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 5px;
  transition: background .17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #394069;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 11px 0 11px 0;
  transition: color .15s, background .15s;
  border-radius: 3px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #6EC9B0;
  background: #20243d;
}
@media (max-width: 400px) {
  .mobile-menu {
    width: 98vw;
    padding: 18px 10px 10px 14px;
  }
}

/* CTA BUTTONS */
.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: #222846;
  color: #fff;
  border-radius: 8px;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .035em;
  text-align: center;
  box-shadow: 0 2px 7px 0 rgba(34,40,70,0.09);
  border: none;
  transition: background .19s, transform .14s, box-shadow .18s;
  margin-top: 6px;
  cursor: pointer;
  text-decoration: none;
  margin-bottom: 6px;
}
.cta-button:hover, .cta-button:focus {
  background: #6EC9B0;
  color: #222846;
  transform: translateY(-2px) scale(1.032);
  box-shadow: 0 6px 18px rgba(34,40,70,0.10);
}

/* CARDS AND SERVICES */
.service-cards > div,
.workshop-list > div,
.feature-grid > div {
  flex: 1 1 260px;
  min-width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(34,40,70,0.04);
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: box-shadow .2s, border .2s;
  border-left: 4px solid #6EC9B0;
}
.service-cards > div span, .workshop-list > div span {
  font-size: 1.02rem;
  color: #545c78;
  font-weight: 500;
}
.service-cards > div:hover, .workshop-list > div:hover, .feature-grid > div:hover {
  box-shadow: 0 8px 32px 0 rgba(34,40,70,0.13);
  border-left: 4px solid #222846;
}

/* ICONS & ILLUSTRATIONS ADJUST */
.feature-grid img,
.service-cards img,
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

/* FOOTER STYLES */
footer {
  background: #222846;
  color: #fff;
  padding: 32px 0 20px 0;
  box-shadow: 0 -2px 14px 0 rgba(34,40,70,0.08);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}
.footer-menu a {
  color: #fff;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 2px 3px;
  border-radius: 2px;
  transition: background .15s, color .13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #6EC9B0;
  color: #222846;
}
.contact-info p, .contact-info a {
  color: #eaf1f8;
  font-size: 0.98rem;
  line-height: 1.7;
}
.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 7px;
}
.social-links img {
  width: 32px; height: 32px;
  filter: grayscale(0.4) brightness(95%);
  transition: filter .17s;
  cursor: pointer;
}
.social-links img:hover {
  filter: grayscale(0) brightness(110%);
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .footer-menu {
    margin-bottom: 8px;
  }
}

/* CONTACT & MAP BLOCKS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 1rem;
}
.location-map {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

/* VISUALS & DETAILS */
hr {
  border: 0;
  border-top: 1.5px solid #eaf1f8;
  margin: 24px 0;
}

/* RESPONSIVE UTILITIES */
@media (max-width: 768px) {
  .container {
    max-width: 95vw;
    padding: 0 4vw;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.20rem; }
  h3 { font-size: 1.06rem; }
}

/* MICRO-INTERACTIONS */
section, .card, .cta-button, .testimonial-card, .service-cards > div, .workshop-list > div {
  transition: box-shadow .19s, border .18s, background .13s, color .14s, transform .19s;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: #fff;
  color: #222846;
  padding: 26px 8px 20px 16px;
  box-shadow: 0 -2px 48px rgba(34,40,70,.16),0 -1.5px 8px rgba(110,201,176,.09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: 1.05rem;
}
.cookie-banner.hidden {
  display: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 240px;
  min-width: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 10px 21px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #222846;
  color: #fff;
  border: none;
  transition: background .14s, color .13s, transform .13s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #6EC9B0;
  color: #222846;
}
.cookie-btn.reject {
  background: #222846;
  color: #fff;
}
.cookie-btn.settings {
  background: #F3D89D;
  color: #222846;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #394069;
  color: #fff;
  transform: translateY(-1.5px) scale(1.025);
}
.cookie-btn.accept:hover,.cookie-btn.accept:focus {
  background: #38b491;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #ffe6b3;
  color: #222846;
}

@media (max-width: 520px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 16px 4px;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,40,70,0.29);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  animation: fadein-modal-bg .25s;
}
@keyframes fadein-modal-bg {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #222846;
  border-radius: 17px;
  box-shadow: 0 16px 60px rgba(34,40,70,0.16);
  max-width: 420px;
  min-width: 300px;
  padding: 38px 32px 26px 32px;
  z-index: 122;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: slidein-modal .35s cubic-bezier(.62,.15,.29,1.11);
}
@keyframes slidein-modal {
  from { transform: translateY(50px) scale(.94); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-modal h3 {
  margin-top: 0; font-size: 1.23rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.01rem;
}
.cookie-cat input[type="checkbox"] {
  accent-color: #6EC9B0;
  width: 20px; height: 20px;
  margin-right: 6px;
}
.cookie-cat.essential input {
  display: none;
}
.cookie-cat.essential label:after {
  content: '(immer aktiviert)';
  color: #6EC9B0;
  font-size: 0.96em;
  margin-left: 10px;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
@media (max-width:500px) {
  .cookie-modal {
    min-width: 0;
    max-width: 92vw;
    padding: 24px 10px 14px 10px;
  }
}

/* MISCELLANEOUS ENRICHMENTS & UTILS */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #e6ecef;
  border-radius: 7px;
}
::-webkit-scrollbar-track {
  background: #fff;
}

/* Utility for hiding visually but keeping accessible */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  white-space: nowrap;
}

/* SPACING AND DEFAULTS FOR EVERY FLEX CONTAINER */
section { margin-bottom: 60px; }
@media (max-width: 768px) {
  section { margin-bottom: 32px; }
}
.card-container, .feature-grid, .content-grid, .workshop-list, .service-cards {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 14px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  align-items: center;
  gap: 30px;
}
.testimonial-card {
  gap: 20px; padding: 20px;
}
.feature-item {
  gap: 15px;
}

/* MINIMUM MARGINS BETWEEN CARDS/SECTIONS */
.card:not(:last-child),
.service-cards > div:not(:last-child),
.feature-grid > div:not(:last-child),
.workshop-list > div:not(:last-child),
.testimonial-card:not(:last-child) {
  margin-right: 20px;
}
@media (max-width: 767px) {
  .card, .service-cards > div, .feature-grid > div, .workshop-list > div, .testimonial-card {
    margin-right: 0 !important;
  }
}

/* FORM ELEMENTS (if present in future) */
input, textarea, select {
  border-radius: 7px;
  border: 1.5px solid #e3e7f1;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 11px 14px;
  margin-bottom: 10px;
  font-size: 1rem;
  background: #fbfbfd;
  transition: border .13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #6EC9B0;
}

/* Table Styles (if present) */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 18px 0;
}
th, td {
  border: 1.5px solid #e3e7f1;
  padding: 10px 12px;
  text-align: left;
}
th {
  background: #f3f8f9;
  color: #222846;
  font-weight: 700;
}

/* VISUAL HIERARCHY */
.section > h2, .container > h2, .section > h1, .container > h1 {
  margin-bottom: 20px;
}

/* Animations for content appearance */
@media (prefers-reduced-motion: no-preference) {
  .section, .card, .testimonial-card, .feature-grid > div, .service-cards > div, .workshop-list > div {
    animation: fadein-section .68s cubic-bezier(.53, -.03, .32, 1.09);
  }
}
@keyframes fadein-section {
  from { opacity: 0; transform: translateY(23px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

/* BRAND BACKGROUND ACCENTS */
.section-accent {
  background: #eaf1f8;
  border-radius: 16px;
}

/* Override for dark text in testimonials/reviews */
.testimonial-card, .rating-summary {
  background: #f8fbfd;
  color: #222846;
}

/* DENY GRID OR COLUMNS (forbidden properties): nothing used! */
/* FINAL CHECK - NO display:grid or grid-* or columns used in this file. */
