/* RESET & BASE STYLES */
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 {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #fff;
  color: #181818;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #181818;
  min-height: 100vh;
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #1D3557;
  text-decoration: underline;
  transition: color .2s;
}
a:hover, a:focus {
  color: #E63946;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #101010;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.18;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}
p, li, address {
  font-size: 1rem;
}
blockquote {
  font-size: 1.15rem;
  color: #333;
  border-left: 4px solid #575757;
  padding-left: 18px;
  margin: 0 0 18px 0;
  font-style: italic;
}
strong {
  font-weight: bold;
}

/* LAYOUT CONTAINERS & SPACING */
.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 -12px;
}
.card {
  margin-bottom: 20px;
  background: #fcfcfc;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.09), 0 1.5px 4px rgba(40,40,40,0.06);
  position: relative;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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: column;
  align-items: flex-start;
  gap: 20px;
  background: #F1FAEE;
  color: #181818;
  border-radius: 10px;
  box-shadow: 0 1.5px 6px rgba(30,30,30,0.06);
  padding: 24px 26px 16px 26px;
  min-width: 0;
  margin-bottom: 20px;
}
.testimonial-meta {
  color: #1D3557;
  font-size: .95rem;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FLEXBOX-BASED FEATURE GRIDS */
.feature-grid, .benefits-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 24px 0 0 0;
  padding: 0;
}
.feature-grid > li, .benefits-grid > li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 2.5px 7px rgba(0,0,0,0.08);
  padding: 30px 24px 26px 24px;
  flex: 1 1 260px;
  min-width: 200px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-grid img, .benefits-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}

.events-list, .workshop-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.events-list > li, .workshop-list > li {
  flex: 1 1 260px;
  min-width: 200px;
  background: #fcfcfc;
  border-radius: 10px;
  box-shadow: 0 2px 7px rgba(20,20,20,0.04);
  padding: 24px 20px 16px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* CALENDAR VIEW */
.calendar-view {
  background: #fafafa;
  border-radius: 8px;
  box-shadow: 0 2px 7px rgba(18,18,18,.04);
  padding: 24px 18px;
  margin-bottom: 24px;
}

/* HEADER & NAV */
header {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 20px 18px 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  position: relative;
}
header img {
  height: 40px;
  width: auto;
  margin-right: 26px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1D3557;
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
header nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #E63946;
  transition: width .3s cubic-bezier(.55,.02,.39,.98);
  margin-top: 2px;
}
header nav a:hover, header nav a:focus {
  color: #E63946;
}
header nav a:hover::after, header nav a:focus::after {
  width: 100%;
}
.cta-button {
  background: #1D3557;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 28px;
  padding: 12px 28px;
  margin-left: 30px;
  cursor: pointer;
  box-shadow: 0 2.5px 9px rgba(30,30,30,.10);
  transition: background .25s, color .18s, box-shadow .22s;
  text-decoration: none;
  outline: none;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.cta-button:hover, .cta-button:focus {
  background: #E63946;
  color: #fff;
  box-shadow: 0 5px 16px rgba(230,57,70,.09);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  margin-left: auto;
  font-size: 2rem;
  background: none;
  border: none;
  color: #1D3557;
  cursor: pointer;
  z-index: 1500;
  padding: 6px 12px;
  transition: color .2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #E63946;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(22,22,22,0.97);
  z-index: 2500;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.75,0,.19,1.01);
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #fff;
  align-self: flex-end;
  margin: 28px 28px 16px 0;
  cursor: pointer;
  z-index: 2600;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E63946;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 36px 18px 36px;
  gap: 22px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  padding: 9px 0;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(220,220,220,0.06);
  width: 100%;
  transition: color .19s, border .25s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E63946;
  border-bottom: 1.5px solid #E63946;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 32px;
}
thead {
  background: #1D3557;
}
th, td {
  padding: 14px 14px;
  text-align: left;
}
th {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
}
td {
  border-bottom: 1px solid #bbb;
  color: #242424;
}
tr:last-child td { border-bottom: none; }

/* ACCORDIONS / FAQ */
.faq-accordion h3 {
  font-size: 1.1rem;
  margin-top: 22px;
  margin-bottom: 7px;
  color: #1D3557;
  cursor: pointer;
}
.faq-accordion p {
  margin-bottom: 10px;
}

/* TIMELINE */
.timeline ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
}
.timeline li {
  background: #1D3557;
  color: #fff;
  border-radius: 20px;
  padding: 9px 25px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.04em;
}

/* SPECIAL BLOCKS in Kontakt */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 6px;
}
.contact-details .text-section {
  flex: 2 1 320px;
}
.contact-details ul {
  list-style: none;
  padding: 0;
  margin-top: 19px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-details ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.contact-details ul img {
  width: 23px;
  height: 23px;
}
.map-embed {
  flex: 1 1 200px;
  background: #f6f6f6;
  border-radius: 7px;
  padding: 18px;
  color: #222;
  font-size: 1rem;
}
.address-block, .opening-hours {
  background: #f6f6f6;
  border-radius: 8px;
  padding: 16px 18px;
  min-width: 180px;
  margin-bottom: 10px;
}

/* FOOTER */
footer {
  background: #1D3557;
  color: #fff;
  padding: 36px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
footer nav {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  opacity: 0.94;
  transition: opacity .2s, color .2s;
}
footer nav a:hover, footer nav a:focus {
  color: #E63946;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 22px;
}
.footer-contact img {
  width: 42px;
  height: auto;
}
.footer-contact address, .footer-contact address a, .footer-contact address span {
  color: #fff;
  font-size: 1rem;
  line-height: 1.75;
  font-style: normal;
}
.footer-contact address a {
  text-decoration: underline;
  opacity: .95;
  transition: color .19s;
}
.footer-contact address a:hover, .footer-contact address a:focus {
  color: #E63946;
}

/* GENERAL CARD STYLES */
.card, .events-list > li, .workshop-list > li, .testimonial-card, .feature-grid > li, .benefits-grid > li {
  box-shadow: 0 3px 10px rgba(0,0,0,0.09), 0 1.5px 4px rgba(40,40,40,0.06);
  transition: box-shadow .2s, transform .19s;
}
.card:hover, .events-list > li:hover, .workshop-list > li:hover, .feature-grid > li:hover, .benefits-grid > li:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 7px 23px rgba(30,30,30,0.13);
}

/* MICRO-INTERACTIONS */
.cta-button:active, .mobile-menu-toggle:active, .mobile-menu-close:active {
  transform: scale(.97);
}
.testimonial-card {
  border-left: 4px solid #1D3557;
  transition: border .23s;
}
.testimonial-card:hover {
  border-left: 4px solid #E63946;
  background: #fff;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(28,28,28,0.98);
  color: #fff;
  padding: 24px 12px 22px 12px;
  z-index: 3000;
  gap: 22px;
  box-shadow: 0 -1.5px 12px rgba(0,0,0,.25);
  font-size: 1rem;
  animation: fadeCookieIn .5s cubic-bezier(.25,0,.36,1);
}
@keyframes fadeCookieIn {
  from { bottom: -120px; opacity: 0; }
  to { bottom: 0; opacity: 1; }
}
.cookie-banner button {
  margin-left: 12px;
  margin-right: 12px;
  padding: 10px 24px;
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #F1FAEE;
  color: #181818;
  cursor: pointer;
  transition: background .19s, color .15s, box-shadow .23s;
  box-shadow: 0 1.5px 4px rgba(0,0,0,0.09);
}
.cookie-banner .cookie-accept {
  background: #1D3557;
  color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #E63946;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #F1FAEE;
  color: #181818;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #bbb;
  color: #222;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #1D3557;
  border: 1px solid #1D3557;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #E63946;
  color: #fff;
  border: 1px solid #E63946;
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.96);
  background: #fff;
  color: #181818;
  border-radius: 14px;
  max-width: 95vw;
  min-width: 310px;
  width: 390px;
  box-shadow: 0 5px 32px rgba(0,0,0,0.26);
  z-index: 3500;
  overflow: visible;
  padding: 0;
  animation: fadeCookieModalIn .38s cubic-bezier(.72,0,.26,1);
}
.cookie-modal.open {
  display: block;
  animation: fadeCookieModalIn .33s cubic-bezier(.35,.79,.57,.99);
}
@keyframes fadeCookieModalIn {
  from { opacity:0; transform: translate(-50%,-50%) scale(.89); }
  to   { opacity:1; transform: translate(-50%,-50%) scale(1.0); }
}
.cookie-modal-header {
  padding: 24px 28px 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal-header h2 {
  font-size: 1.24rem;
  color: #1D3557;
  margin-bottom: 0;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #1D3557;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
  transition: color .17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #E63946;
}
.cookie-modal-content {
  padding: 0 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e7e7e7;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1.04rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #222;
}
.cookie-category input[type='checkbox'] {
  accent-color: #1D3557;
  width: 20px;
  height: 20px;
  margin-left: 8px;
}
.cookie-category .cookie-essential {
  font-weight: bold;
  color: #1D3557;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal-actions button {
  padding: 10px 28px;
  border-radius: 23px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .18s, color .15s;
}
.cookie-modal-actions .cookie-accept {
  background: #1D3557;
  color: #fff;
}
.cookie-modal-actions .cookie-accept:hover, .cookie-modal-actions .cookie-accept:focus {
  background: #E63946;
  color: #fff;
}
.cookie-modal-actions .cookie-reject {
  background: #fff;
  color: #1D3557;
  border: 1px solid #1D3557;
}
.cookie-modal-actions .cookie-reject:hover, .cookie-modal-actions .cookie-reject:focus {
  background: #E63946;
  color: #fff;
  border: 1px solid #E63946;
}

/* ------------ RESPONSIVE DESIGN (MOBILE FIRST) ------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 93vw;
  }
  header {
    flex-wrap: wrap;
    padding: 20px 12px 14px 12px;
  }
}
@media (max-width: 880px) {
  .feature-grid, .benefits-grid, .events-list, .workshop-list {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding: 0 11px; }
  .section { padding: 28px 7px; }
  header {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 14px 8px 10px 8px;
  }
  header nav {
    display: none !important;
  }
  .cta-button { margin-left: 0; margin-top: 10px; }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
    align-self: flex-end;
  }
  .footer-contact {
    flex-direction: column;
  }
  .feature-grid > li, .benefits-grid > li {
    min-width: 0;
    max-width: unset;
  }
  .contact-details {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    margin-bottom: 44px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .events-list, .workshop-list {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 505px) {
  html { font-size: 14px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.08rem; }
  .cta-button { padding: 10px 13px; font-size: .98rem; }
  .cookie-modal { min-width: 220px; width: 99vw; }
  .cookie-modal-header, .cookie-modal-content { padding-left: 10px; padding-right: 10px;}
}

/* ------------ DARK MODE SUPPORT ------------ */
@media (prefers-color-scheme: dark) {
  html, body {
    background: #1a1a1a;
    color: #f2f2f2;
  }
  h1, h2, h3, h4 { color: #fff; }
  .card, .feature-grid > li, .benefits-grid > li, .events-list > li, .workshop-list > li, .calendar-view {
    background: #26282c;
    color: #f2f2f2;
    box-shadow: 0 3px 14px rgba(0,0,0,0.20);
  }
  .footer-contact, footer {
    background: #111421;
    color: #f2f2f2;
  }
  a { color: #F1FAEE; }
  .cta-button { background: #fff; color: #1D3557 !important; }
  .cta-button:hover { background: #E63946; color: #fff !important; }
}

/* ------------ MISC ------------- */
::-webkit-scrollbar {
  width: 7px; background: #e0e0e0;
}
::-webkit-scrollbar-thumb { background: #1D3557; border-radius: 8px; }

/* Utility classes */
.mt-2 { margin-top: 8px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mt-4 { margin-top: 16px; }
.w100 { width: 100%; }

/* Hide visually but accessible */
.sr-only {
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); border:0;
}
