/* 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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #fff;
  color: #21243d;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-smooth: always;
}
img { max-width: 100%; display: block; height: auto; }
a {color: #214283; text-decoration: none; transition: color 0.2s;}
a:hover, a:focus {color: #13224d; text-decoration: underline;}
ul, ol { margin: 16px 0px 16px 24px; }
li { margin-bottom: 8px; }
hr { border: none; border-top: 1px solid #ececec; margin: 32px 0; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #214283;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.75rem; line-height: 1.1; margin-top: 0; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p, .footer-about p, .footer-contact p {
  font-size: 1rem; color: #21243d; margin-bottom: 16px; font-family: 'Open Sans', Arial, sans-serif;
}

/* CONTAINERS & LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 14px rgba(33,66,131,0.06);
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(33,66,131,0.10);
}
.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;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(33,66,131,0.07);
  border-radius: 10px;
  margin-bottom: 24px;
  min-width: 0;
  max-width: 540px;
  color: #22314d;
}
.testimonial-card p {
  font-style: italic;
  color: #22314d;
  margin-bottom: 8px;
}
.testimonial-meta, .testimonial-card span {
  font-size: 0.95rem;
  color: #737d93;
  font-family: 'Open Sans', Arial, sans-serif;
}
.absolvent-image, .abschlussunternehmen-logos img {
  margin-right: 18px;
}
.absolvent-image:last-child, .abschlussunternehmen-logos img:last-child {
  margin-right: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap:24px;
  margin-bottom: 24px;
}
.feature-list > div {
  background: #F3F6FA;
  border-radius: 10px;
  padding: 24px;
  min-width:220px;
  flex: 1 1 210px;
  box-shadow: 0 2px 6px rgba(33,66,131,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s;
}
.feature-list > div:hover {
  box-shadow: 0 6px 24px rgba(33,66,131,0.10);
}
.partner-awards ul,
.staerken ul,
.vision ul,
.lehrplanmodule ol,
.kursfeatures ul,
.features ul,
.kontaktinfo ul {
  margin: 16px 0 0 20px;
  padding: 0;
  list-style: disc inside;
}
.partner-awards li, .staerken li, .vision li, .lehrplanmodule li, .kursfeatures li, .features li, .kontaktinfo li {
  margin-bottom: 8px;
  color: #22314d;
}


/* HERO & CTA */
.hero, .cta {
  background: #F3F6FA;
  text-align: left;
  padding: 60px 0px 40px 0px;
}
.hero h1, .cta h2 {
  color: #214283;
}
.hero p, .cta p {
  margin-top: 18px;
  color: #394264;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 34px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #214283;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  cursor: pointer;
  min-width: 160px;
  min-height: 44px;
  box-shadow: 0 1px 4px rgba(33,66,131,0.08);
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #182b53;
  color: #f0c808;
  box-shadow: 0 4px 18px rgba(33,66,131,0.14);
}


/* HEADER NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(33,66,131,0.04);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  color: #22314d;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 7px 0 7px 0;
  letter-spacing: 0.01em;
  font-size: 1rem;
  position: relative;
  transition: color 0.18s;
}
.main-nav a.btn-primary {padding: 10px 28px; font-size:1rem; margin-left: 10px;}
.main-nav a.active, .main-nav a:hover, .main-nav a:focus {
  color: #214283;
}
/* Hide mobile menu on desktop */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #214283;
  cursor: pointer;
  padding: 4px 16px;
  margin-left: 16px;
  transition: color 0.12s;
  z-index: 120;
}
.mobile-menu-toggle:focus { outline: 2px solid #f0c808; }
.mobile-menu {
  display: none;
}

/* MOBILE NAVIGATION (Hamburger & Overlay) */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 1500;
    padding: 32px 0 0 0;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.8,0,0.23,1), opacity 0.3s;
    box-shadow: 0 2px 32px rgba(33,66,131,0.13);
    min-height: 100vh;
  }
  .mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu-close {
    align-self: flex-end;
    margin-right: 30px;
    background: none;
    border: none;
    color: #214283;
    font-size: 2.1rem;
    cursor: pointer;
    padding: 2px 8px;
    z-index: 1700;
    transition: color 0.13s;
  }
  .mobile-menu-close:focus { outline: 2px solid #f0c808; }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap:22px;
    padding: 34px 34px 0 34px;
  }
  .mobile-nav a {
    color: #22314d;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.22rem;
    padding: 13px 0;
    border-radius: 10px;
    transition: background 0.15s, color 0.18s;
    outline: none;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: #F3F6FA;
    color: #214283;
  }
}

@media (max-width: 600px) {
  .mobile-nav {
    padding: 25px 13px 0 13px;
  }
}


/* FOOTER */
footer {
  background: #F3F6FA;
  padding: 0 0 12px 0;
  border-top: 1px solid #ecf0f8;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 36px; 
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a {
  color: #22314d;
  font-size: 1rem;
  padding: 3px 0;
  transition: color 0.15s; 
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #214283;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.96rem;
  color: #22314d;
  min-width: 180px;
}
.footer-contact img {
  height: 17px !important; width: 17px !important;
  margin-right: 8px; vertical-align: middle;
  display: inline-block;
}
.footer-contact p {
  line-height: 1.7;
  display: flex;
  align-items: center;
  color: #312d41;
}
.footer-about {
  max-width: 260px;
  font-size: 0.97rem;
  color: #6d7690;
  margin-top: 10px;
}


/* CARDS & CONTENT BLOCKS */
.dozenten-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.dozent-profil {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  min-width: 210px;
  flex: 1 1 210px;
  box-shadow: 0 2px 6px rgba(33,66,131,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.19s;
}
.dozent-profil:hover {
  box-shadow: 0 6px 24px rgba(33,66,131,0.13);
}

.thankyou ul {
  margin: 18px 0 18px 25px;
}
.thankyou ul li {
  margin-bottom: 6px;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 3000;
  background: #fff;
  box-shadow: 0 -3px 18px rgba(33,66,131,0.12);
  border-top: 1px solid #e8eaf0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 32px 24px 32px;
  min-width: 0;
  max-width: 100vw;
  opacity: 1;
  transition: transform 0.36s cubic-bezier(0.8,0,0.23,1), opacity 0.28s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: #22314d;
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-banner-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.btn-cookie {
  padding: 10px 26px;
  border: none;
  border-radius: 18px;
  background: #F3F6FA;
  color: #214283;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 4px rgba(33,66,131,0.07);
}
.btn-cookie:hover, .btn-cookie:focus {
  background: #214283;
  color: #fff;
}
.btn-cookie-settings {
  background: #f0c808;
  color: #214283;
}
.btn-cookie-settings:hover, .btn-cookie-settings:focus {
  background: #ffe477;
  color: #214283;
}

/* Cookie Consent Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: rgba(33,66,131,0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.28s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  box-shadow: 0 8px 44px rgba(33,66,131,0.18);
  border-radius: 16px;
  max-width: 380px;
  width: 92vw;
  padding: 38px 28px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal-content h2 {
  font-size: 1.4rem;
  color: #214283;
  margin-bottom: 2px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1rem;
  color: #22314d;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}
.cookie-switch input {
  display: none;
}
.cookie-slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ececec;
  border-radius: 18px;
  transition: .2s;
}
.cookie-switch input:checked + .cookie-slider {
  background-color: #214283;
}
.cookie-slider:before {
  position: absolute; content: "";
  height: 16px; width: 16px;
  left: 2px; top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: .2s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  padding-top: 6px;
}
.cookie-modal-close {
  position: absolute; right: 14px; top: 14px; background: none; border: none;
  font-size: 1.45rem; color: #214283; cursor: pointer;
}
.cookie-modal-close:focus { outline: 2px solid #f0c808; }

/* --- RESPONSIVE RULES --- */
@media (max-width: 1024px) {
  .footer-about { max-width: 100%; }
  .footer-contact { min-width: 120px; }
  .feature-list, .dozenten-profiles { flex-direction: column; gap: 20px; }
  .card-container, .content-grid { flex-direction: column; gap: 20px; }
}
@media (max-width: 900px) {
  header .container {height:auto; min-height: 68px;}
  .content-wrapper {
    padding: 0;
  }
  .hero, .cta {
    padding: 32px 0;
  }
  .features .feature-list > div, .dozenten-profiles > .dozent-profil {
    min-width: 100px;
    flex: 1 1 100px;
    padding: 18px;
  }
}
@media (max-width: 768px) {
  .section {padding:34px 11px; margin-bottom:36px;}
  .hero, .cta {padding:25px 8px 32px 8px;}
  .content-wrapper {padding: 0 1px;}
  h1 {font-size:2.1rem;}
  h2 {font-size:1.43rem;}
  .card-container, .feature-list, .dozenten-profiles, .about-akademie .partner-awards ul, .staerken ul, .vision ul {
    flex-direction: column !important; gap:16px;
  }
  .text-image-section {
    flex-direction: column; gap: 23px;
  }
  .footer-contact {min-width: 80px;}
  footer .content-wrapper {gap:18px;}
  .footer-about {margin-top: 6px;}
  .testimonial-card {max-width: 100%;}
  .mobile-menu {padding: 20px 0 0 0;}
}
@media (max-width: 480px) {
  .container {padding-left: 7px; padding-right: 7px;}
  .cookie-banner {padding:19px 9px;}
  .cookie-modal-content {
    padding: 24px 7px 24px 7px;
    max-width: 100vw;
  }
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
.btn-primary, .btn-cookie, .btn-cookie-settings, .main-nav a, .mobile-nav a {
  transition: background 0.16s, color 0.16s, box-shadow 0.16s, transform 0.13s;
}
.btn-primary:active, .btn-cookie:active, .main-nav a:active, .mobile-nav a:active {
  transform: scale(0.97);
}
.dozent-profil, .feature-list > div, .card, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.13s;
}
.dozent-profil:hover, .feature-list > div:hover, .card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(33,66,131,0.15);
  transform: translateY(-2px);
}

/* --- ACCENT COLORS & CTAS --- */
::selection { background: #F0C808; color: #22314d; }

/* --- CUSTOM SCROLLBAR FOR MODALS (Minimalist) --- */
.cookie-modal-content::-webkit-scrollbar {
  height: 5px; width: 5px; background: #f3f6fa;
}
.cookie-modal-content::-webkit-scrollbar-thumb {
  background: #ececec; border-radius: 10px;
}

/* --- MISC --- */
.abschlussunternehmen-logos {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 12px;
}
h1:empty, h2:empty, h3:empty, p:empty {display:none;}

/* Hide scroll in cookie modal overlay */
body.cookie-modal-open {overflow: hidden;}

/* Hide visually irrelevant decorative images from focus order */
img[alt=""], img[alt=" "] {
  pointer-events: none;
  user-select: none;
}
