/* 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, menu, 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, 
main, 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;
}
body {
  line-height: 1.4;
  background: #F6F6F6;
  color: #21375A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
}
a {
  text-decoration: none;
  color: #21375A;
  transition: color 0.24s;
}
a:hover, a:focus {
  color: #E7B655;
}
ul, ol {
  list-style: none;
  padding: 0;
}
img {
  max-width: 100%;
  display: block;
}
button {
  outline: none;
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

/* VARIABLE FONTS AND COLOR FALLBACKS */
:root {
  --primary: #21375A;
  --secondary: #E7B655;
  --accent: #F6F6F6;
  --danger: #d44343;
  --neutral: #f6f6f6;
  --border-radius: 16px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --shadow-base: 0 2px 16px 0 rgba(24, 33, 64, 0.07);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #21375A;
}
h1 { font-size: 2.6rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.18; margin-bottom: 20px; }
h3 { font-size: 1.3rem; line-height: 1.24; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1rem; font-weight:600; margin-bottom: 12px; }
p, li, span, a, button, label {
  font-family: var(--font-body);
  font-size: 1rem;
}
p, ul li, ol li { margin-bottom: 12px; }
strong { font-weight: 600; }
em { font-style: italic; color: #21375A; }

/* STRUCTURED CONTAINER GRID */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-base);
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(33,55,90,0.07);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  justify-content: flex-start;
  font-family: var(--font-display);
}
.main-nav a {
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 12px;
  transition: color 0.25s, background 0.25s;
  letter-spacing: 0.02em;
}
.main-nav a.cta-primary {
  background: var(--secondary);
  color: var(--primary);
  font-weight: bold;
  border-radius: 20px;
  padding: 8px 24px;
  margin-left: 12px;
  box-shadow: 0 1px 6px rgba(231,182,85,.08);
  position: relative;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: #d2a93c;
  color: #fff;
}
.main-nav img {
  height: 40px;
  margin-right: 16px;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1002;
  background: var(--secondary);
  color: var(--primary);
  width: 46px;
  height: 46px;
  border-radius: 8px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 3px 12px rgba(231,182,85,0.12);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #21375A;
  color: #fff;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 2000;
  box-shadow: 0 0 24px rgba(33,55,90,0.17);
  padding: 32px 24px 16px 24px;
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(.5,1,.4,1);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: #21375A;
  color: #fff;
  border-radius: 8px;
  padding: 6px 16px 6px 16px;
  margin-bottom: 24px;
  box-shadow: 0 1px 6px rgba(33,55,90,0.11);
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: #21375A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #21375A;
  font-family: var(--font-display);
  padding: 12px 0 12px 6px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: #21375A20;
}
@media (max-width: 1080px) {
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 940px) {
  .main-nav a:not(:first-child) { font-size:0.98rem; }
  .main-nav a.cta-primary { padding: 6px 16px; font-size: 0.98rem; }
}
@media (max-width:820px) {
  .main-nav a:not(:first-child) { font-size:0.93rem; }
}
@media (max-width: 880px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section, section {
    margin-bottom: 36px;
    padding: 24px 4px;
  }
}


/* HERO + CTA AREA */
.hero {
  background: linear-gradient(120deg, #F6F6F6 60%, #E7B65533 100%);
  border-bottom: 5px solid #E7B655;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(33,55,90,0.07);
}
.hero .container {
  display: flex;
  flex-direction: column;
}
.hero .content-wrapper {
  gap: 24px;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 8px;
  color: #21375A;
  letter-spacing: 0.5px;
}
.hero p {
  font-size: 1.17rem;
  color: #193050;
  max-width: 520px;
}

/* CTA Buttons */
.cta-primary, .cta-secondary {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  border-radius: 18px;
  padding: 12px 32px;
  font-size: 1.15rem;
  margin-top: 14px;
  transition: background 0.22s, color 0.22s, box-shadow 0.25s;
  box-shadow: 0 1px 6px rgba(33,55,90,0.07);
  cursor: pointer;
}
.cta-primary {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cta-primary:hover, .cta-primary:focus {
  background: #21375A;
  color: #fff;
  border-color: #21375A;
}
.cta-secondary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  margin-left: 10px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}

/* FEATURE GRID & CARDS */
.feature_grid, .course_preview_grid, .blog_post_grid, .team_list, .course_summary_cards, .featured_posts, .benefit_icons, .story_list, .contact-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  align-items: flex-start;
  justify-content: flex-start;
}
.feature_grid li, .blog_post_grid > div, .team_list > div, .course_preview_grid > div, .course_summary_cards > div, .story_list > div, .featured_posts > div, .contact-info-grid > div {
  background: #fff;
  border-radius: 18px;
  padding: 24px 20px 20px 20px;
  box-shadow: 0 2px 12px rgba(33,55,90,0.05);
  min-width: 210px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1.3px solid #EEF1F6;
  transition: box-shadow 0.17s, transform 0.17s;
}
.feature_grid li img, .contact-info-grid > div img {
  width: 34px; height: 34px; margin-bottom: 8px;
}
.feature_grid li:hover, .course_preview_grid > div:hover, .blog_post_grid > div:hover, .team_list > div:hover, .featured_posts > div:hover, .story_list > div:hover, .course_summary_cards > div:hover {
  box-shadow: 0 6px 24px rgba(33,55,90,0.13);
  transform: translateY(-4px) scale(1.01);
}

/* FLEX CONTAINER SPACING (CRITICAL!) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  background: #fff;
  box-shadow: var(--shadow-base);
  transition: box-shadow 0.18s;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 22px 18px;
}
.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) {
  .content-grid, .feature_grid, .team_list, .course_summary_cards, .blog_post_grid, .featured_posts, .course_preview_grid, .contact-info-grid, .story_list {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* TESTIMONIALS */
.testimonials {
  background: #fff;
  border-top: 4px solid #E7B655;
  border-bottom: 4px solid #21375A;
  padding: 48px 0 48px 0;
}
.testimonials .content-wrapper { align-items: center; }
.testimonials h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  min-width: 240px;
  max-width: 330px;
  gap: 20px;
  padding: 32px 28px 18px 28px;
  background: #F6F6F6;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(33,55,90,0.10);
  border: 2.5px solid #E7B65533;
  font-family: var(--font-body);
  color: #1C2940;
  margin-bottom: 20px;
}
.testimonial-card p {
  font-size: 1.06rem;
  color: #283A5B;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #21375A;
  opacity: 0.83;
  font-style: italic;
  align-self: flex-end;
}
.star-rating {
  display: flex;
  gap: 6px;
  align-items: center;
}
.star-rating img {
  width: 22px; height: 22px;
}
@media (max-width:540px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 26px;
    align-items: stretch;
  }
  .testimonial-card { max-width: 100%; }
}

/* HIGHLIGHT QUOTES IN ERFOLGSGESCHICHTEN */
.highlight_quotes, blockquote {
  background: #E7B65513;
  border-left: 6px solid #E7B655;
  padding: 20px 24px;
  font-size: 1.1rem;
  font-style: italic;
  color: #21375A;
  border-radius: 16px;
  margin-top: 14px;
  margin-bottom: 20px;
}
.blockquote { margin-bottom:20px; }


/* SPECIAL CARDS + COMPONENTS */
.feature-item {  /* For custom lists */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.benefit_icons {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}
.benefit_icons img {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(231,182,85,0.14);
}
.filter_options {
  margin-top: 16px;
  margin-bottom: 0px;
  font-size: 1rem;
  color: #21375Abd;
  letter-spacing: 0.07em;
}
.categories_filter {
  font-size: 1rem;
  color: #888;
  margin-bottom: 18px;
  margin-top: 12px;
}
@media (max-width: 700px) {
  .benefit_icons { justify-content: flex-start; gap: 14px; }
}

/* FORM ELEMENTS (for Kontakt) */
input, textarea, select {
  font-family: var(--font-body);
  border-radius: 10px;
  padding: 14px 12px;
  border: 1.6px solid #d3dbec;
  font-size: 1rem;
  margin-bottom: 12px;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 1px 7px #E7B65518;
}
label { font-weight: 500; margin-bottom: 8px; display: block; color:#21375A }

/* MAP PLACEHOLDER */
.map-embed, .kontakt-map {
  background: #F6F6F6;
  border: 2px dashed #E7B65560;
  border-radius: 14px;
  min-height: 150px;
  text-align: center;
  color: #B0A37A;
  line-height: 150px;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

/* FOOTER */
footer {
  background: #21375A;
  color: #fff;
  padding: 38px 0 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 48px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  justify-content: center;
}
.footer-nav a {
  color: #E7B655;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover {
  background: #E7B655;
  color: #21375A;
}
.footer-contact {
  margin-bottom: 10px;
  color: #F6F6F6;
  font-size: 0.98rem;
  opacity: 0.87;
}
.footer-brand img {
  height: 38px;
  margin-top: 8px;
  filter: grayscale(20%);
}
@media (max-width:600px) {
  .footer-contact {text-align:center;}
  .footer-nav{flex-direction:column;gap:8px;}
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #fff;
  box-shadow: 0 -2px 18px #21375A19;
  border-top: 4px solid #E7B655;
  padding: 32px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 100vw;
  font-size: 1rem;
  transition: transform 0.33s cubic-bezier(.52,1,.21,1);
}
.cookie-consent-banner.hide {
  transform: translateY(100%);
  pointer-events: none;
  opacity: 0.6;
}
.cookie-consent-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 12px;
  padding: 10px 24px;
  border: 2px solid var(--primary);
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  transition: background 0.17s, color 0.17s, border 0.17s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}
.cookie-btn.reject {
  background: #fff;
  color: #d44343;
  border-color: #d44343;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--primary);
  border-color: #d0d7e7;
  font-weight: 600;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.cookie-btn.accept:hover { background: #21375A; color: #fff; border-color: #21375A; }
.cookie-btn.reject:hover{background: #d44343; color:#fff; border-color: #d44343;}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 3100;
  background: rgba(33,55,90,0.36);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.23s cubic-bezier(.48,1,.19,1);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 28px #21375A23;
  padding: 36px 36px 26px 36px;
  max-width: 440px;
  min-width: 300px;
  max-height: 88vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-content h2 {
  font-size: 1.35rem;
  color: #21375A;
  font-weight: bold;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-toggle {
  appearance: none;
  width: 30px;
  height: 18px;
  background: #d3dbe7;
  border-radius: 10px;
  position: relative;
  outline: none;
  transition: background 0.2s;
}
.cookie-toggle:checked {
  background: #E7B655;
}
.cookie-toggle::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px #1930501a;
  position: absolute;
  top: 2px;
  left: 3px;
  transition: left 0.2s;
}
.cookie-toggle:checked::before {
  left: 13px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-end;
}

/* ANIMATION MICROINTERACTIONS */
a, .cta-primary, .cta-secondary, .cookie-btn, .main-nav a, .footer-nav a, .feature_grid li, .card, .testimonial-card {
  transition: background 0.18s, color 0.18s, box-shadow 0.16s, transform 0.12s;
}

/* GEOMETRIC/STRUCTURED VISUALS */
.section, .card, .testimonial-card, .hero, .cta-section, .about-teaser, .courses-teaser {
  border-radius: 20px;
  box-shadow: 0 3px 26px #21375A0C;
}
.cta-section {
  background: #E7B65520;
  border: 2.5px solid #E7B655;
  text-align: center;
  margin-bottom: 0;
  box-shadow: 0 4px 16px #E7B65513;
  border-radius: 20px;
}
.cta-section .content-wrapper {
  align-items: center;
}
.cta-section h2 {
  margin-bottom: 12px;
  font-size: 2rem;
  color: #21375A;
}

/* CONTACT INFO ICON GRID */
.contact-info-grid {
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 16px;
}
.contact-info-grid > div {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: #21375A;
  border-radius: 12px;
  padding: 14px 14px;
  font-size: 1.07rem;
  box-shadow: 0 2px 8px #21375A10;
  min-width: 180px;
}
.contact-info-grid > div img {
  width: 26px; height: 26px;
}

/* MISC SPACING & SECTION GAPS */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 780px) {
  section, .section { margin-bottom: 36px; padding:22px 4px; }
  .cta-section, .courses-teaser, .about-teaser { padding: 16px 2px; }
}

/* ACCESSIBILITY & HIGH CONTRAST (eg testimonials) */
.testimonials, .testimonial-card, .about-teaser, .cta-section, .footer-nav a {
  color-scheme: light;
  color: #21375A;
  background: #F6F6F6;
}
.testimonial-card, .testimonial-card p, .testimonial-card span {
  background: #F6F6F6;
  color: #1C2940;
  font-family: var(--font-body);
}
.testimonials {
  background: #fff;
  color: #21375A;
  border-top: 4px solid #E7B655;
  border-bottom: 4px solid #21375A;
}

/* VISUAL HIERARCHY: CARD SHADOWS & BORDERS */
.card, .testimonial-card, .section, .feature_grid li, .blog_post_grid > div {
  box-shadow: 0 3px 18px #21375A13;
  border-radius: 18px;
  border-width: 1.5px;
}

/* RESPONSIVE TYPOGRAPHY SCALE */
@media (max-width:650px){
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.1rem; }
  .cta-primary, .cta-secondary { font-size:1rem; }
}
@media (max-width:500px){
  .feature_grid li, .blog_post_grid > div, .team_list > div, .course_preview_grid > div, .contact-info-grid > div {
    min-width: 0;
    padding: 14px 8px 12px 8px;
  }
}

/* GEOMETRIC ANGULAR FONTS for display */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');

/* Hide Scroll for Overlay when modal/mobile-menu open */
body.overlay-open {
  overflow: hidden;
}

/* Utility spacing helpers (if needed) */
.mt-32 { margin-top:32px !important; }
.mb-32 { margin-bottom:32px !important; }
.gap-20 { gap: 20px !important; }

/* Selection Styles */
::selection { background: #E7B65533; color: #21375A; }

/* Animation for fade-in elements */
@keyframes fadeInUp {
  0% { opacity:0; transform:translateY(20px); }
  100% { opacity:1; transform:translateY(0); }
}
.fadein {
  animation: fadeInUp 0.7s cubic-bezier(.5,1.5,.4,1) 1;
}

/* ------- END OF CSS ------- */
