/* 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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #181D27;
  color: #F0F4FA;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #DE893B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #fff;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #F0F4FA;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li, ul, ol, dl, dd {
  font-size: 1rem;
  color: #e7eefe;
  margin-bottom: 14px;
}
strong {
  color: #fff;
  font-weight: 600;
}

/* CONTAINER & SECTION SPACING */
.container {
  width: 100%;
  max-width: 1180px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 32px;
  background: #222B3C;
  box-shadow: 0 8px 32px 0 rgba(16,22,45,0.16);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
}

/* HEADER */
header {
  background: #22406A;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  box-shadow: 0 4px 24px 0 rgba(10,24,60,0.10);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F0F4FA;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.18s;
  position: relative;
  padding: 6px 10px;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: #DE893B;
  border-radius: 1px;
  transition: width 0.2s;
  position: absolute;
  left: 10px;
  bottom: 2px;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 70%;
}
.main-nav a:hover, .main-nav a:focus {
  color: #DE893B;
}

/* CTA BUTTONS */
.cta-btn {
  background: linear-gradient(90deg, #DE893B 10%, #B75A00 90%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 32px;
  border: none;
  border-radius: 24px;
  font-size: 1.1rem;
  box-shadow: 0 4px 18px 0 rgba(222,137,59,0.20);
  transition: background 0.16s, box-shadow 0.16s, transform 0.19s;
  cursor: pointer;
  margin-left: 12px;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #B75A00 10%, #DE893B 90%);
  box-shadow: 0 0 10px 2px #DE893B, 0 6px 24px 0 rgba(222,137,59,0.35);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.cta-link {
  color: #DE893B;
  font-weight: 600;
  transition: color 0.19s;
  border-bottom: 1.8px solid #DE893B;
  padding-bottom: 3px;
  display: inline-block;
}
.cta-link:hover,
.cta-link:focus {
  color: #FFA45B;
  border-color: #FFA45B;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(112deg, #22406A 60%, #252B3E 100%);
  padding-top: 50px;
  padding-bottom: 55px;
}
.hero .content-wrapper {
  gap: 22px;
  align-items: flex-start;
}
.hero h1 {
  color: #FFFFFF;
  text-shadow: 0 2px 20px #12203660;
}
.hero p {
  color: #F0F4FA;
  font-size: 1.15rem;
  max-width: 600px;
}
.hero .cta-btn {
  margin-top: 0;
}

/* FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #252B3E;
  border-radius: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px 0 rgba(20,36,77,0.11);
  position: relative;
  overflow: hidden;
}
.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;
  margin-bottom: 20px;
  border-radius: 20px;
  background: #F0F4FA;
  box-shadow: 0 4px 18px 0 rgba(34,64,106,0.10);
  color: #181D27;
  position: relative;
}
.testimonial-rating {
  display: flex;
  gap: 3px;
}
.testimonial-card p {
  color: #242942;
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.testimonial-name {
  color: #22406A;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE LIST (INDEX) */
.feature-list, .benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-list li, .benefits-list li {
  flex: 1 1 220px;
  min-width: 210px;
  background: #252B3E;
  border-radius: 18px;
  padding: 24px 18px;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px 0 rgba(34,64,106,0.11);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.feature-list li img, .benefits-list li img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
}
.feature-list h3 {
  margin-bottom: 4px;
  font-size: 1.09rem;
  color: #DE893B;
}

/* COURSE GRID & CARDS (KURSE) */
.course-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.course-card {
  background: #252B3E;
  border-radius: 22px;
  box-shadow: 0 4px 18px 0 rgba(34,64,106,0.10);
  flex: 1 1 280px;
  min-width: 220px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}
.course-card h3 {
  color: #DE893B;
  margin-bottom: 10px;
}
.course-card ul {
  margin-bottom: 14px;
}
.course-card ul li {
  color: #e7eefe;
  margin-left: 0;
  margin-bottom: 7px;
  position: relative;
  padding-left: 18px;
}
.course-card ul li::before {
  content: '•';
  color: #B75A00;
  margin-right: 6px;
  position: absolute;
  left: 0;
}
.course-card a {
  font-family: 'Montserrat';
  color: #DE893B;
  font-weight: bold;
  margin-top: 5px;
  transition: color 0.18s;
}
.course-card a:hover, .course-card a:focus {
  color: #fff;
}

/* PRICE TABLE */
.price-table {
  width: 100%;
  margin-bottom: 18px;
  border-collapse: separate;
  border-spacing: 0 10px;
}
.price-table th, .price-table td {
  background: #252B3E;
  color: #F0F4FA;
  padding: 18px 10px;
  text-align: left;
  border-radius: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.price-table th {
  background: #22406A;
  color: #fff;
  font-size: 1.05rem;
}
.price-table tr {
  margin-bottom: 10px;
}

/* TEAM PROFILES (LEHRKRAEFTE) */
.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.teacher-profile {
  background: #252B3E;
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 rgba(34,64,106,0.09);
  padding: 24px 16px;
  flex: 1 1 200px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.teacher-profile h3 {
  color: #DE893B;
  font-size: 1.12rem;
}
.teacher-profile ul {
  margin-bottom: 8px;
}
.teacher-profile ul li {
  position: relative;
  margin-left: 0;
  color: #e7eefe;
  margin-bottom: 4px;
  padding-left: 16px;
}
.teacher-profile ul li::before {
  content: '→';
  color: #B75A00;
  position: absolute;
  left: 0;
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #F0F4FA;
  font-size: 1.02rem;
}
.contact-details li img {
  width: 26px;
  height: 26px;
}
.map-location {
  color: #DE893B;
  font-size: 1.02rem;
  margin-top: 7px;
  background: rgba(30,45,90,0.10);
  border-radius: 12px;
  padding: 7px 17px;
  display: inline-block;
}

/* ACCORDION / FAQ */
.faq-accordion {
  margin: 14px 0 22px 0;
  width: 100%;
}
.faq-accordion dt {
  font-family: 'Montserrat';
  font-weight: 600;
  font-size: 1.09rem;
  margin-bottom: 4px;
  cursor: pointer;
  color: #DE893B;
  background: #2A3550;
  padding: 12px 16px;
  border-radius: 10px;
  transition: background 0.18s;
}
.faq-accordion dt:hover,
.faq-accordion dt:focus {
  background: #3b4b7a;
}
.faq-accordion dd {
  font-size: 1rem;
  padding: 11px 18px;
  border-left: 2.5px solid #DE893B;
  background: #252B3E;
  margin-bottom: 9px;
  color: #F0F4FA;
}

/* INFO LINKS */
.info-links {
  display: flex;
  gap: 18px;
  margin-bottom: 8px;
}
.info-links a {
  color: #DE893B;
  font-weight: 600;
  border-bottom: 1.5px solid #DE893B;
  padding-bottom: 3px;
  transition: border-color 0.12s, color 0.15s;
}
.info-links a:hover,
.info-links a:focus {
  color: #FFA45B;
  border-color: #FFA45B;
}

/* FOOTER */
footer {
  background: #181D27;
  padding: 30px 0 14px 0;
  margin-top: 60px;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 8px;
}
.footer-nav nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #F0F4FA;
  font-weight: 500;
  font-family: 'Montserrat';
  font-size: 1rem;
  transition: color 0.19s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #DE893B;
}
.footer-contact {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.footer-contact img {
  width: 42px;
  height: 42px;
}
.footer-contact div {
  display: flex;
  flex-direction: column;
}
.footer-contact p,
.footer-contact a {
  color: #F0F4FA;
  font-size: 0.99rem;
  margin-bottom: 3px;
}
.footer-contact a {
  color: #DE893B;
  font-size: 0.99rem;
  font-weight: 500;
  transition: color 0.16s;
}
.footer-contact a:hover,
.footer-contact a:focus {
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.footer-social a {
  display: inline-block;
  transition: transform 0.15s, filter 0.18s;
  filter: grayscale(0.3);
}
.footer-social a:hover,
.footer-social a:focus {
  transform: scale(1.13) translateY(-2px);
  filter: grayscale(0) brightness(1.1);
}
.copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.93rem;
  margin-top: 6px;
  color: #F0F4FA;
  opacity: 0.8;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #DE893B;
  cursor: pointer;
  margin-left: 12px;
  z-index: 205;
  transition: color 0.14s, transform 0.14s;
}
.mobile-menu-toggle:active {
  color: #B75A00;
  transform: scale(0.97);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 90vw;
  max-width: 370px;
  height: 100vh;
  background: #181D27;
  box-shadow: -2px 0 24px 0 rgba(15,32,61,0.28);
  z-index: 210;
  display: flex;
  flex-direction: column;
  padding: 36px 20px 20px 24px;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.61,0.01,0.47,1), box-shadow 0.23s;
  opacity: 0.98;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F0F4FA;
  font-size: 2.1rem;
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 225;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #DE893B;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-top: 30px;
}
.mobile-nav a {
  color: #F0F4FA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 9px 0 7px 6px;
  border-radius: 8px;
  transition: background 0.18s, color 0.17s;
  margin-left: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #DE893B;
  background: #252B3E;
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 10px;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 900px) {
  .footer-nav nav {
    flex-direction: column;
    gap: 11px;
    align-items: center;
  }
  footer .container, .footer-contact {
    flex-direction: column;
    align-items: center;
  }
  .footer-contact {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 28px 7px;
    margin-bottom: 36px;
  }
  .hero {
    padding-top: 30px;
    padding-bottom: 35px;
  }
  .content-wrapper {
    padding: 0;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .feature-list, .benefits-list, .course-grid, .team-profiles {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
    justify-content: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .footer-social {
    gap: 10px;
  }
  .footer-contact div {
    align-items: center;
    text-align: center;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .testimonial-card {
    font-size: 0.97rem;
    padding: 14px 10px;
    gap: 13px;
  }
  .cta-btn {
    width: 100%;
    text-align: center;
    padding: 13px 0;
    font-size: 1rem;
  }
}

@media (max-width: 500px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .section {
    border-radius: 18px;
  }
  .card, .testimonial-card {
    border-radius: 10px;
  }
  .course-card {
    padding: 17px 7px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #222B3C;
  color: #F0F4FA;
  box-shadow: 0 -2px 24px 0 rgba(34,64,106,0.14);
  z-index: 9999;
  padding: 22px 28px 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  font-size: 1rem;
  transition: transform 0.35s, opacity 0.31s;
  border-radius: 22px 22px 0 0;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner p {
  flex: 1 1 200px;
  margin: 0;
  color: #F0F4FA;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  padding: 10px 22px;
  border-radius: 14px;
  cursor: pointer;
  margin-bottom: 0;
  font-weight: 600;
  background: #252B3E;
  color: #F0F4FA;
  transition: background 0.19s, color 0.13s, transform 0.12s;
  box-shadow: 0 4px 12px 0 rgba(34,64,106,0.08);
}
.cookie-btn.accept {
  background: linear-gradient(90deg, #DE893B 0%, #B75A00 100%);
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(222,137,59,0.16);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: linear-gradient(90deg, #B75A00 0%, #DE893B 100%);
  color: #fff;
  transform: scale(1.04);
}
.cookie-btn.reject {
  background: #3c536e;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #b64d1e;
  color: #fff;
}
.cookie-btn.settings {
  background: #2A3550;
  color: #DE893B;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #22406A;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 56px;
  transform: translate(-50%, 100%);
  width: 92vw;
  max-width: 420px;
  background: #252B3E;
  color: #F0F4FA;
  padding: 34px 26px 28px 26px;
  border-radius: 24px;
  box-shadow: 0 6px 44px 0 rgba(34,64,106,0.24);
  z-index: 10001;
  opacity: 0;
  transition: transform 0.39s cubic-bezier(0.59, 0.15, 0.36, 1), opacity 0.24s;
  pointer-events: none;
}
.cookie-modal.active {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: all;
}
.cookie-modal h3 {
  color: #DE893B;
  margin-bottom: 12px;
  font-size: 1.16rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 10px;
  padding: 10px 2px;
  background: #222B3C;
}
.cookie-category label {
  color: #F0F4FA;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: #DE893B;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 2px;
}
.cookie-category .cookie-essential {
  font-size: 0.97rem;
  color: #aaa9b8;
  margin-left: 6px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  opacity: 0.85;
  transition: color 0.12s;
}
.cookie-close-btn:hover, .cookie-close-btn:focus {
  color: #DE893B;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 7px 14px 7px;
    font-size: 0.97rem;
    border-radius: 11px 11px 0 0;
  }
  .cookie-modal {
    padding: 18px 5px 18px 10px;
    border-radius: 14px;
  }
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.section, .hero, .testimonial-card, .course-card, .teacher-profile {
  animation: fadeInUp 0.8s cubic-bezier(.27, .96, .63, .98);
}

/* SELECTION & SCROLLBAR */
::selection {
  background: #DE893B;
  color: #fff;
}
::-webkit-scrollbar {
  width: 12px;
  background: #181D27;
}
::-webkit-scrollbar-thumb {
  background: #22406A;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: #DE893B;
}

/* UTILITY */
[hidden], .hide {
  display: none !important;
}

/* FORMS - (future-proof for contact forms if added) */
input, textarea, select {
  background: #222B3C;
  color: #F0F4FA;
  border: 1.5px solid #22406A;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 16px;
  transition: border 0.15s, background 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #DE893B;
  outline: none;
  background: #252B3E;
}

/* CLIENT'S MANDATORY SPACING & FLEX LAYOUTS */
.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; }
