/* =======================
   CSS 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #fff;
  color: #21293A;
  font-family: 'Roboto', Georgia, 'Times New Roman', Times, serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s;
}
ul, ol {
  list-style: none;
}
a {
  color: #21293A;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover, a:focus {
  color: #66A3D2;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* Typography - Elegant/Classic */
body, p, li, td, th {
  font-family: 'Roboto', Georgia, serif;
  font-size: 16px;
  color: #21293A;
  letter-spacing: 0.01em;
  line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  color: #21293A;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  line-height: 1.25;
}
h4, h5, h6 {
  font-size: 1.05rem;
}
subheadline, .subheadline {
  color: #555d6c;
  font-size: 1.15rem;
  font-family: 'Roboto', serif;
  margin-bottom: 14px;
}
blockquote {
  border-left: 4px solid #66A3D2;
  padding-left: 20px;
  font-style: italic;
  margin-bottom: 14px;
  color: #21293A;
  background: rgba(102,163,210,0.07);
}
table {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0 20px 0;
}
th, td {
  border-bottom: 1px solid #E6E6E6;
  padding: 13px 8px;
  text-align: left;
}
th {
  background: #F3E7D8;
  font-weight: 600;
}

/* =====================
   CONTAINER & SECTIONS
   ===================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section,
main > section:not(.hero) {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(33,41,58,0.08);
}
section.hero {
  margin-bottom: 60px;
  padding: 64px 0 40px 0;
  background: linear-gradient(127deg, #F3E7D8 0%, #fff 65%, #fcfaf6 100%);
  box-shadow: 0 2px 24px 0 rgba(33,41,58,0.03);
}

/* Elegant Spacing Pattern */
ul, ol, .value-list, .feature-list, .advantages-list, .service-list, .feature-grid, .service-grid, .workshop-benefits, .workshop-list, .course-list ul, .course-categories ul, .workshop-highlights ul {
  padding-left: 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/***************************
       FLEXBOX CONTAINERS
***************************/
.card-container, .footer-columns, .content-grid, .feature-grid, .service-grid, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-slider {
  gap: 24px;
  align-items: stretch;
}
.card { margin-bottom: 20px; position: relative; }
.content-grid { 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: #f8f8f6; padding: 28px 28px 22px 28px; border-radius: 15px; box-shadow: 0 2px 10px 0 rgba(33,41,58,0.07); margin-bottom: 24px;}
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

.footer-columns { gap: 32px; align-items: flex-start; margin-bottom: 36px; }
@media (max-width: 1024px) {
  .footer-columns { flex-direction: column; gap: 20px; }
}

/***********************************
      BRANDED BUTTONS & LINKS
***********************************/
.cta-button {
  display: inline-block;
  background: #21293A;
  color: #fff;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  padding: 14px 32px;
  font-size: 1.13rem;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  margin-top: 20px;
  box-shadow: 0 1px 9px 0 rgba(102,163,210,0.09);
  transition: background 0.2s, color 0.2s, box-shadow 0.22s;
  letter-spacing: 0.1em;
  text-align: center;
}
.cta-button:hover,
.cta-button:focus {
  background: #66A3D2;
  color: #21293A;
  box-shadow: 0 3px 22px 0 rgba(33,41,58,0.13);
  text-decoration: none;
}
nav a {
  color: #21293A;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 5px;
  font-size: 1rem;
  transition: background 0.16s, color 0.18s;
  margin-right: 2px;
}
nav a.active,
nav a:hover,
nav a:focus {
  background: #F3E7D8;
  color: #66A3D2;
  text-decoration: none;
}

/**********************
    HEADER & NAVBAR
***********************/
header {
  background: #fff;
  border-bottom: 1px solid #F3E7D8;
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header nav {
  display: flex;
  gap: 6px;
  align-items: center;
}
header img[alt="Fading Shadow Akademie"] {
  height: 48px;
  margin-right: 8px;
}
.mobile-menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 2rem;
  color: #21293A;
  cursor: pointer;
}

@media (max-width: 1024px) {
  header .container {
    flex-direction: row;
    gap: 6px;
    padding-left: 12px; padding-right: 12px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 28px;
    top: 22px;
    z-index: 1004;
    width: 40px; height: 40px;
    line-height: 1;
    background: none;
  }
  .cta-button {
    margin-top: 18px; margin-bottom: 0;
  }
}

/*******************************
      MOBILE MENU SLIDE-OVER
*******************************/
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(33,41,58,0.91);
  z-index: 12098;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.58,.14,.19,.97);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 18px; right: 22px;
  z-index: 14000;
  cursor: pointer;
  width: 44px; height: 44px;
  line-height: 1;
  transition: color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #66A3D2;
}
.mobile-nav {
  margin-top: 75px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding: 30px 36px;
  box-sizing: border-box;
}
.mobile-nav a {
  color: #fff;
  font-family: "Montserrat", Georgia, serif;
  font-size: 1.23rem;
  font-weight: 600;
  padding: 16px 20px;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.18s, color 0.18s;
  background: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #21293A;
  background: #F3E7D8;
}
@media (min-width: 1025px) {
  .mobile-menu {display: none!important;}
  .mobile-menu-toggle {display: none!important;}
}

/**********************
     HERO SECTION
***********************/
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero h1 {
  color: #21293A;
  font-size: 2.5rem;
  margin-bottom: 10px;
}
@media (min-width: 700px) {
  .hero h1 { font-size: 3.2rem; }
  .hero .content-wrapper { gap: 20px; }
}

/**********************
       FEATURE GRID
***********************/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 16px;
}
.feature-grid li {
  background: #fff;
  flex: 1 1 210px;
  min-width: 215px;
  padding: 24px 20px 18px 20px;
  border-radius: 13px;
  box-shadow: 0 3px 16px 0 rgba(33,41,58,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.2s;
}
.feature-grid li img {
  height: 48px;
  margin-bottom: 7px;
}
.feature-grid li:hover,
.feature-grid li:focus-within {
  box-shadow: 0 7px 30px 0 rgba(102,163,210,0.17);
  transform: translateY(-2px) scale(1.015);
}
.feature-grid h3 {
  font-size: 1.13rem;
  margin-bottom: 6px;
  color: #21293A;
}
.feature-grid p {
  font-size: 1rem;
}

/**********************
      SERVICE LISTS
***********************/
.service-list, .service-grid {
  margin-top: 18px;
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-list li, .service-grid li {
  background: #faf9f5;
  flex: 1 1 250px;
  min-width: 250px;
  padding: 22px 18px 18px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(33,41,58,0.07);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow 0.19s, transform 0.14s;
}
.service-list li:hover, .service-grid li:hover {
  box-shadow: 0 5px 20px 0 rgba(102,163,210,0.10);
  transform: translateY(-2px) scale(1.015);
}
.service-list span, .service-grid span {
  color: #66A3D2;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 10px;
}

/*******************************
    TESTIMONIALS & CARDS
********************************/
.testimonial-card {
  background: #fff;
  color: #21293A;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 2px 20px 0 rgba(102,163,210,0.18);
  border-radius: 13px;
  padding: 22px 24px 20px 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, transform 0.16s;
  min-width: 240px;
}
.testimonial-card blockquote {
  border-left: 3px solid #66A3D2;
  padding-left: 18px;
  color: #21293A;
  font-size: 1.09rem;
  background: none;
  font-style: italic;
}
.testimonial-info {
  color: #21293A;
  font-size: 0.99rem;
  font-family: 'Roboto', serif;
  opacity: 0.76;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 10px 34px 0 rgba(33,41,58,0.14);
  transform: scale(1.019);
}

/****************************
  VALUES, STEPS, LISTS, ETC.
****************************/
.value-list, .advantages-list, .feature-list, .workshop-benefits, .advisory-areas-list {
  gap: 16px;
  margin-bottom: 18px;
}
.value-list li, .advantages-list li, .feature-list li, .workshop-benefits li {
  background: #fcfaf6;
  padding: 12px 16px;
  border-radius: 9px;
  box-shadow: 0 1px 5px 0 rgba(33,41,58,0.05);
  font-family: 'Roboto', serif;
  font-size: 1rem;
  color: #21293A;
}
.consultation-steps ol {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-left: 22px;
}
.consultation-steps li {
  padding-left: 8px;
  font-size: 1.05rem;
}

/****************************
       MISCELLANEOUS
****************************/
.achievement-highlight, .map-snippet, .hours-info {
  background: #fcfaf6;
  padding: 18px 22px;
  border-radius: 11px;
  box-shadow: 0 1px 5px 0 rgba(33,41,58,0.05);
  margin-bottom: 18px;
}
.contact-details ul {
  gap: 8px;
}

/****************************
         ICONS/IMAGES
****************************/
.modality-icons, .workshop-icons, .advisory-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin: 22px 0 4px 0;
}
.modality-icons img, .workshop-icons img, .advisory-icons img {
  height: 40px;
  width: auto;
  filter: grayscale(21%);
  opacity: 0.83;
  transition: filter 0.25s, opacity 0.25s;
}
.modality-icons img:hover,
.workshop-icons img:hover,
.advisory-icons img:hover {
  filter: none;
  opacity: 1;
}

/**********************
         FOOTER
***********************/
footer {
  background: #21293A;
  color: #fff;
  padding-top: 50px;
  padding-bottom: 24px;
  margin-top: 64px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  margin-bottom: 15px;
}
.footer-columns > div {
  flex: 1 1 160px;
  min-width: 140px;
}
.footer-columns img {
  height: 38px;
  margin-bottom: 8px;
}
.footer-columns nav a {
  color: #fff;
  font-size: 1rem;
  display: block;
  padding: 6px 0;
  border-radius: 4px;
  transition: background 0.17s, color 0.18s;
}
.footer-columns nav a:hover,
.footer-columns nav a:focus {
  color: #21293A;
  background: #F3E7D8;
}
.contact-info {
  font-size: 0.97rem;
  color: #bbb;
  line-height: 1.52;
  margin-top: 12px;
}
footer a {
  color: #66A3D2;
  text-decoration: none;
  transition: color 0.17s;
}
footer a:hover, footer a:focus {
  color: #F3E7D8;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-bottom: 16px;
}
.social-links img {
  height: 25px;
  width: 25px;
  filter: grayscale(17%) brightness(0.97);
  opacity: 0.82;
  transition: filter 0.21s, opacity 0.21s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: none;
  opacity: 1;
}
.copyright {
  font-size: 0.98rem;
  color: #F3E7D8;
  margin-top: 2px;
  letter-spacing: 0.05em;
}

/************************
      RESPONSIVE DESIGN  
************************/
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .footer-columns { flex-direction: column; gap: 18px; }
  .feature-grid, .service-grid, .card-container, .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 7px; }
  .section, main > section:not(.hero) {
    margin-bottom: 42px;
    padding: 22px 6px 26px 6px;
    border-radius: 12px;
  }
  section.hero {
    padding: 35px 0 26px 0;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .content-wrapper {
    padding: 0;
    max-width: 100vw;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  .card-container, .feature-grid, .service-grid { flex-direction: column; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .section, main > section:not(.hero) { padding: 10px 2px; }
  .cta-button { padding: 11px 13px; font-size: 1.01rem; }
  .testimonial-card { padding: 13px 8px; font-size: 0.99rem; }
}

/******************************
  MICRO-INTERACTIONS & EFFECTS
*******************************/
button, .cta-button {
  transition: box-shadow 0.18s, background 0.15s, color 0.17s;
  outline: none;
}
button:active, .cta-button:active {
  box-shadow: 0 1px 4px 0 rgba(33,41,58,0.18);
}
li:active, a:active {
  opacity: 0.93;
}
.card, .feature-grid li, .service-list li, .testimonial-card {
  will-change: transform;
}

/**************************
  COOKIE CONSENT BANNER/MODAL
***************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #21293A;
  color: #fff;
  z-index: 19000;
  padding: 22px 18px 18px 18px;
  box-shadow: 0 -3px 21px 0 rgba(33,41,58,0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  font-size: 1rem;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  animation: fadeInUpCookie 0.47s cubic-bezier(.58,.14,.35,.97) 1;
}
@keyframes fadeInUpCookie {
  0% { transform: translateY(35px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner strong {
  color: #F3E7D8;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 5px;
}
.cookie-banner button {
  border: none;
  border-radius: 5px;
  padding: 7px 21px;
  font-family: 'Montserrat', serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.16s, color 0.17s, box-shadow 0.14s;
}
.cookie-banner .accept {
  background: #66A3D2;
  color: #fff;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #F3E7D8;
  color: #21293A;
}
.cookie-banner .reject {
  background: #fff;
  color: #21293A;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #66A3D2;
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  color: #F3E7D8;
  border: 1.3px solid #66A3D2;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #66A3D2;
  color: #fff;
}

/*************************************
      COOKIE CONSENT MODAL OVERLAY
*************************************/
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(33,41,58,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20100;
  pointer-events: auto;
  animation: fadeInModal 0.23s cubic-bezier(.63,.13,.24,1) 1;
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #21293A;
  border-radius: 19px;
  box-shadow: 0 9px 48px 0 rgba(33,41,58,0.17);
  min-width: 280px; max-width: 99vw;
  width: 410px;
  padding: 26px 33px 22px 29px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeUpModal 0.35s cubic-bezier(.58,.15,.28,.93) 1;
}
@media (max-width: 580px) {
  .cookie-modal {
    width: 95vw;
    min-width: 0;
    padding: 18px 7px 14px 7px;
    border-radius: 11px;
  }
}
.cookie-modal h2 {
  margin-top: 0;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #f5f5f5;
  padding: 8px 13px;
  border-radius: 6px;
}
.cookie-category label {
  font-size: 1rem;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #66A3D2;
  border-radius: 5px;
}
.cookie-category.essential label {
  color: #21293A;
  font-weight: 600;
}
.cookie-category.essential input[type="checkbox"] { display: none; }
.cookie-category.essential label::after {
  content: " (immer aktiviert)";
  color: #7e8fa5;
  font-size: 0.96rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-actions button {
  border: none;
  border-radius: 5px;
  padding: 7px 21px;
  font-family: 'Montserrat', serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal-actions .save {
  background: #66A3D2; color: #fff;
}
.cookie-modal-actions .save:hover{
  background: #21293A; color: #F3E7D8;
}
.cookie-modal-actions .cancel {
  background: transparent; color: #21293A;
  border: 1px solid #66A3D2;
}
.cookie-modal-actions .cancel:hover {
  background: #F3E7D8;
  color: #66A3D2;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px; right: 17px;
  background: none;
  border: none;
  color: #21293A;
  font-size: 2rem;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
}
.cookie-modal .modal-close:hover { color: #66A3D2; }

/**************************************
  Card/Section Spacing - ENFORCED
***************************************/
.card, .feature-grid li, .service-list li, .service-grid li, .testimonial-card, .advantages-list li, .feature-list li, .workshop-benefits li, .value-list li, .workshop-list li {
  margin-bottom: 20px;
}
.card-container, .footer-columns, .content-grid, .feature-grid, .service-grid, .testimonial-slider, .workshop-list {
  gap: 24px;
}
.text-image-section, .consultation-steps ol {
  gap: 30px;
}
.section, main > section:not(.hero) { margin-bottom: 60px; padding: 40px 20px; }

/* Prevent Overlapping - ENFORCED */
.card, .feature-grid li, .service-list li, .service-grid li, .testimonial-card {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/**************************************/
/****** Additional Fallbacks **********/
/**************************************/
::-webkit-input-placeholder { color: #a3adc2; opacity: 1; }
::-moz-placeholder { color: #a3adc2; opacity: 1; }
:-ms-input-placeholder { color: #a3adc2; opacity: 1; }
::placeholder { color: #a3adc2; opacity: 1; }

/**************************************/
/*                 END                */
/**************************************/
