/* 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F5F5F5;
  color: #221a23;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #E53935;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1A237E;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #1A237E;
}
h1 { font-size: 2.8rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.15; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
strong { font-weight: 700; }
p { margin-bottom: 16px; }
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 6px 24px rgba(26,35,126,0.04);
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
    border-radius: 16px;
  }
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
    gap: 18px;
  }
}

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(26,35,126,0.07);
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}
header img[alt="RedenGlanz Akademie"] {
  max-height: 56px;
  margin-right: 16px;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 10px 8px;
  font-weight: 600;
  color: #1A237E;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a:focus {
  background: #E53935;
  color: #fff;
}
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  background: #E53935;
  color: #fff !important;
  border: none;
  border-radius: 28px;
  padding: 12px 32px;
  margin-left: 12px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(229,57,53,0.11);
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.2s, transform 0.1s;
  letter-spacing: 0.02em;
}
.cta-btn.secondary {
  background: #fff;
  color: #E53935 !important;
  border: 2px solid #E53935;
  box-shadow: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #1A237E;
  color: #fff !important;
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
  box-shadow: 0 6px 24px 0 rgba(26,35,126,0.10);
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #E53935;
  color: #fff !important;
}

/* Burger Menu for Mobile */
.mobile-menu-toggle {
  display: none;
  background: #E53935;
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 8px 16px;
  margin-left: 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #1A237E;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 12px 40px rgba(26,35,126,0.10);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.58,-0.15,.43,1.15);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px 32px;
  min-width: 220px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: #E53935;
  background: none;
  border: none;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color 0.22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #1A237E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  padding: 12px 4px;
  color: #1A237E;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E53935;
  color: #fff;
}
@media (max-width: 1024px) {
  header nav { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* MAIN LAYOUTS */
.feature-grid, .values-grid, .service-list, .session-list, .service-features-list,
.benefit-list, .training-modules-list, .achievements-list, .learning-outcomes,
.key-topics, .next-steps ul, .step-by-step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
.feature-grid li,
.values-grid li,
.service-list li,
.session-list li,
.service-features-list li,
.benefit-list li,
.training-modules-list li,
.achievements-list li,
.learning-outcomes li,
.key-topics li {
  background: #fff;
  color: #221a23;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(229,57,53,0.07);
  padding: 24px 16px;
  min-width: 185px;
  flex: 1 0 210px;
  font-size: 1.03rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.26s, transform 0.18s;
}
.feature-grid li img, .values-grid li img, .benefit-list li img {
  height: 34px;
  margin-bottom: 3px;
  margin-right: 6px;
}
.feature-grid li:hover, .service-list li:hover, .values-grid li:hover, .benefit-list li:hover {
  box-shadow: 0 12px 34px rgba(26,35,126,0.15);
  transform: translateY(-3px) scale(1.035) rotate(-1deg);
}
@media (max-width: 768px) {
  .feature-grid, .values-grid, .service-list, .session-list, .service-features-list,
  .benefit-list, .training-modules-list, .achievements-list, .learning-outcomes,
  .key-topics, .next-steps ul, .step-by-step-list {
    gap: 14px;
    flex-direction: column;
  }
  .feature-grid li,
  .values-grid li,
  .service-list li,
  .session-list li,
  .service-features-list li,
  .benefit-list li,
  .training-modules-list li,
  .achievements-list li,
  .learning-outcomes li,
  .key-topics li {
    min-width: unset;
    flex: 1 0 90%;
    padding: 18px 10px;
  }
}

.usp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: flex-start;
}
.usp-item {
  background: #FFFBE5;
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.usp-item img { height: 30px; margin-right: 5px; }
@media (max-width: 768px) {
  .usp-row { flex-direction: column; gap: 10px; }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; align-items: flex-start; }
}

.address-block, .contact-info-box, .contact-card, .contact-box, .office-hours, .map-embed, .customization-options, .process-overview, .pricing-box, .who-should-attend, .method-highlights, .target-audience, .contact-form-summary {
  background: #FFFDEB;
  border-radius: 16px;
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.06rem;
  margin-bottom: 12px;
  color: #333;
}

/* Cards & Card-Containers */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.card-content { display: flex; flex-direction: column; justify-content: center; gap: 10px; }

/* Service Cards */
.service-list li {
  border-left: 4px solid #1A237E;
}
.service-list li .price {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.06rem;
  background: #1A237E;
  color: #fff;
  padding: 4px 14px;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}

/* Testimonials (Slider and List) */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 22px rgba(26,35,126,0.09);
  background: #fff;
  min-width: 280px;
  max-width: 350px;
  margin-bottom: 20px;
  font-size: 1.06rem;
  border-left: 6px solid #E53935;
  position: relative;
  transition: box-shadow 0.2s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 36px rgba(229,57,53,0.14);
  transform: scale(1.03) rotate(-2deg);
}
.testimonial-card p {
  color: #1A237E;
  font-size: 1.09rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.testimonial-meta {
  font-size: 0.97rem;
  color: #444;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.star-rating {
  color: #FFD600;
  font-size: 1.3em;
  letter-spacing: 1px;
}
@media (max-width: 768px) {
  .testimonial-slider, .testimonial-list { flex-direction: column; gap:17px; }
  .testimonial-card { min-width: unset; max-width: unset; }
}

/* Lists */
ol.step-by-step-list {
  counter-reset: stepList;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 1.2em;
}
ol.step-by-step-list li {
  position: relative;
  color: #1A237E;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding-left: 34px;
  margin-bottom: 8px;
}
ol.step-by-step-list li:before {
  content: counter(stepList);
  counter-increment: stepList;
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: #E53935;
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.next-steps ul {
  margin-left: 2em;
}

/* Footer */
footer {
  background: #1A237E;
  color: #fff;
  padding: 48px 0 18px;
  font-size: 1.03rem;
  margin-top: 60px;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-logo img { max-height: 54px; }
.footer-tagline {
  font-size: 1.09rem;
  color: #FFD600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-top: 6px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: #fff;
  transition: color 0.17s;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  border-radius: 6px;
  padding: 4px 2px;
  font-weight: 600;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFD600;
  background: rgba(255,255,255,0.1);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
  font-size: 1.04rem;
}
.footer-contact img { height: 20px; margin-right: 8px; vertical-align: middle; }
.footer-contact a { color: #FFD600; text-decoration: underline; }
.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.footer-social a {
  display: inline-flex;
  background: #FFFBE5;
  border-radius: 50%;
  padding: 7px;
  box-shadow: 0 2px 8px rgba(255,214,0,0.10);
  transition: background 0.18s, box-shadow 0.17s;
}
.footer-social a:hover, .footer-social a:focus {
  background: #FFD600;
  box-shadow: 0 4px 18px rgba(255,214,0,0.17);
}
.footer-social img { height: 28px; width: 28px; }
@media (max-width: 900px) {
  .footer-flex { flex-direction: column; gap: 18px; }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: #fff;
  color: #221a23;
  box-shadow: 0 -3px 30px rgba(26,35,126,0.13);
  padding: 28px 8px 16px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 1.1rem;
  border-radius: 20px 20px 0 0;
  transition: transform 0.34s cubic-bezier(.77,0,.18,1.17);
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  transform: translateY(150%);
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn, .cookie-btn-settings {
  border-radius: 22px;
  background: #E53935;
  color: #fff;
  border: none;
  padding: 12px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  margin-right: 2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.12s;
}
.cookie-btn-settings {
  background: #1A237E;
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #FFD600;
  color: #E53935;
  transform: scale(1.045);
}
@media (max-width: 650px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.97rem;
    padding: 20px 2px 14px 4px;
  }
  .cookie-consent-banner .cookie-buttons {
    width: 100%;
    gap: 8px;
  }
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(26,35,126,0.27);
  z-index: 1920;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.28s;
  pointer-events: auto;
}
.cookie-modal.hide {
  opacity: 0; pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  color: #1A237E;
  border-radius: 22px;
  box-shadow: 0 8px 36px rgba(26,35,126,0.17);
  padding: 38px 32px 26px 32px;
  max-width: 390px;
  width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 2;
}
.cookie-modal-content h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 3px;
  border-radius: 10px;
  background: #F5F5F5;
}
.cookie-category input[type="checkbox"] {
  accent-color: #E53935;
  width: 18px; height: 18px;
}
.cookie-category.essential label {
  color: #888;
  font-style: italic;
}
.cookie-modal-content .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #E53935;
  cursor: pointer;
}
.cookie-modal-content .cookie-modal-close:hover, .cookie-modal-content .cookie-modal-close:focus {
  color: #1A237E;
}
@media (max-width: 500px) {
  .cookie-modal-content {
    padding: 16px 6vw 10px 6vw;
  }
}

/* BUTTONS, FORMS, ETC */
button, input[type="button"], input[type="submit"], input[type="reset"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  outline: none;
}
button:focus-visible { outline: 2px solid #1A237E; outline-offset: 1px; }

input, textarea {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid #E0E0E0;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 14px;
}
input:focus, textarea:focus {
  border-color: #E53935;
  outline: none;
}

/* Microanimation for fun, playful effect */
.cta-btn, .cookie-btn, .cookie-btn-settings, .footer-social a {
  transition: transform 0.18s cubic-bezier(.23,1.3,.32,1);
}
.cta-btn:active, .cookie-btn:active, .cookie-btn-settings:active, .footer-social a:active {
  transform: scale(0.96) rotate(2deg);
}

/* Playful floating accents on cards */
.card, .testimonial-card {
  animation: float-card 4.6s ease-in-out infinite alternate;
}
@keyframes float-card {
  0% { transform: translateY(0) rotate(0deg); box-shadow: 0 4px 22px rgba(26,35,126,0.07); }
  100% { transform: translateY(-7px) rotate(-1.5deg); box-shadow: 0 12px 36px rgba(229,57,53,0.13); }
}
.card:hover, .testimonial-card:hover {
  animation: float-card-hover 0.19s linear forwards;
}
@keyframes float-card-hover {
  0%   { box-shadow: 0 4px 22px rgba(26,35,126,0.07); }
  100% { box-shadow: 0 12px 40px rgba(229,57,53,0.16); }
}

/* Typography: Playful accents */
h1, h2, h3, .cta-btn, .footer-tagline, .star-rating {
  letter-spacing: 0.01em;
}
h1, h2 {
  background: linear-gradient(90deg, #1A237E 60%, #E53935 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@supports not (-webkit-background-clip: text) {
  h1, h2 {
    color: #1A237E;
    background: none;
  }
}
h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  text-shadow: 2px 2px #FFF1EE, 0 4px 28px #FFD60044;
  margin-bottom: 24px;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-shadow: 1px 2px #fff9, 0 2px 12px #FFD6002a;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
}

/* Spacing utility classes per requirements */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Spacing between all section cards */
section, .section { margin-bottom: 60px; }
section:last-child { margin-bottom: 0; }

/* Visual Playful Dots / Accent Decorations (add with ::before, ::after for cards/titles etc) */
h2::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: #FFD600;
  border-radius: 50%;
  margin-left: 10px;
  vertical-align: middle;
  box-shadow: 0 2px 8px #FFE08255;
}

.cta-btn::after {
  content: ' ➡';
  font-size: 1em;
  font-family: inherit;
  filter: drop-shadow(1px 2px 1px #FFD60088);
  margin-left: 5px;
  vertical-align: middle;
  color: #FFD600;
  transition: color 0.24s;
}
.cta-btn.secondary::after { content: ''; }

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
  .container { padding-left: 7px; padding-right: 7px; }
}
@media (max-width: 650px) {
  .footer-flex { flex-direction: column; gap: 14px; }
}
@media (max-width: 500px) {
  h1, h2, h3 {
    font-size: 1.05rem !important;
    min-width: 0;
  }
}


/* Fun, energetic font for headings and CTAs */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap');

/* Animations for playful dynamic feel */
@keyframes playful-bounce {
  0%,80%,100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}
.cta-btn:hover, .cta-btn:focus {
  animation: playful-bounce 0.31s linear 1;
}

/* Extra accessibility & color contrast for testimonials */
.testimonial-card {
  background: #fff;
  color: #222;
}
.testimonial-card p, .testimonial-meta { color: #111; }

/* High z-index for overlays */
.mobile-menu,
.cookie-consent-banner,
.cookie-modal {
  z-index: 9999 !important;
}

/* Hide visually (utility class for future usage) */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* Misc utility */
.clearfix::after { content: ''; clear: both; display: table; }

/* End of CSS */
