/* RESET & BASELINE ---------------------------- */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #253046;
  background: #FEF6FB;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}

/* TYPOGRAPHY ---------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #232A37;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.25rem; line-height: 1.15; margin-bottom: 18px; }
h2 { font-size: 1.75rem; line-height: 1.15; margin-bottom: 16px; }
h3 { font-size: 1.25rem; line-height: 1.2; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
h5, h6 { font-size: 1rem; }
p, li, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #253046;
  margin-bottom: 12px;
}
strong { font-weight: 600; color: #1F2937; }
a {
  color: #3694e0;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus { color: #1F2937; text-decoration: underline; }

ul, ol { padding-left: 20px; }
ul { margin-bottom: 16px; }
li { margin-bottom: 6px; }

/* FLEX LAYOUT CONTAINERS ---------------------------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* SECTIONS & SPACING (MANDATORY PATTERNS) ---------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  box-shadow: 0 8px 24px 0 rgba(196, 207, 248, 0.14);
  background: #ffffffcc;
}
.hero {
  background: linear-gradient(180deg, #FAF0FF 60%, #CAF0F8 100%);
  margin-bottom: 60px;
  box-shadow: none;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}

.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { background: #ffffff; border-radius: 20px; box-shadow: 0 4px 32px 0 rgba(190, 170, 247, 0.09);
  margin-bottom: 20px; padding: 24px; position: relative; transition: box-shadow 0.2s; }
.card:hover { box-shadow: 0 6px 44px 0 rgba(128, 168, 219, 0.14); }

.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: 12px;
  padding: 24px 28px 18px 28px;
  background: #FCF8FF;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(196, 176, 233, 0.10);
  color: #232A37;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
  border: 1.5px solid #f1e8fd;
}
.testimonial-card:hover {
  box-shadow: 0 4px 36px 0 rgba(185, 165, 235, 0.15);
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #988ab7;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 6px;
  letter-spacing: 0.01em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f3f9fe;
  border-radius: 16px;
  padding: 24px 18px;
  min-width: 210px;
  flex: 1 1 220px;
  box-shadow: 0 2px 14px rgba(180, 200, 220, 0.06);
  margin-bottom: 20px;
  transition: background 0.2s, box-shadow 0.2s;
}
.feature-item:hover {
  background: #f8e7ff;
  box-shadow: 0 8px 36px 0 rgba(186, 168, 252, 0.14);
}
.feature-item img {
  height: 42px;
  width: 42px;
  margin-bottom: 5px;
}

/* TEAM GRID (UEBER UNS) ---------------------------- */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
  align-items: stretch;
}
.team-member {
  background: #EEF8FB;
  border-radius: 16px;
  box-shadow: 0 1px 12px rgba(176, 200, 235, 0.06);
  padding: 24px 18px;
  min-width: 190px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* COURSE GRID -------------------------------------- */
.course-list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.course-item {
  background: #FFF2EC;
  border-radius: 16px;
  box-shadow: 0 1px 16px rgba(252, 209, 170, 0.08);
  padding: 24px 18px;
  min-width: 210px;
  flex: 1 1 220px;
  transition: background 0.18s, box-shadow 0.18s;
  margin-bottom: 20px;
}
.course-item:hover {
  background: #FEFAF1;
  box-shadow: 0 6px 28px 0 rgba(252, 212, 77, 0.09);
}

/* PRICING TABLE (preise.html) ---------------------- */
.pricing-table {
  width: 100%;
  margin-bottom: 10px;
}
.pricing-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
}
.pricing-col {
  background: #FEF7E1;
  border-radius: 18px;
  padding: 28px 20px 22px 20px;
  box-shadow: 0 2px 14px rgba(246, 210, 114, 0.07);
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-col:hover {
  box-shadow: 0 8px 36px 0 rgba(246, 215, 118, 0.16);
}
.pricing-col ul { margin-bottom: 0; }

/* FAQ ACCORDION ------------------------- */
.faq-accordion { display: flex; flex-direction: column; gap: 20px; }
.faq-item {
  background: #F4F6FB;
  border-radius: 13px;
  box-shadow: 0 1px 12px rgba(190, 200, 235, 0.05);
  padding: 20px 18px;
  color: #1F2937;
  margin-bottom: 6px;
  transition: box-shadow 0.15s;
}
.faq-item h3, .faq-item h4 {
  margin-bottom: 6px;
  color: #3B82F6;
  font-weight: 600;
  font-size: 1.12rem;
}
.faq-item:hover {
  box-shadow: 0 2px 16px rgba(120,168,255,0.11);
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #253046;
}
.contact-info-list img {
  height: 28px;
  width: 28px;
}

/* BUTTONS ------------------------------------------ */
.btn-primary {
  background: linear-gradient(90deg, #CABDFF 0%, #BEE6F5 100%);
  color: #1F2937;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 32px;
  border: none;
  margin-top: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  outline: none;
  box-shadow: 0 3px 16px rgba(196,207,248,0.10);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.11s;
  display: inline-block;
  letter-spacing: 0.02em;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #BEE6F5 0%, #CABDFF 100%);
  color: #28104c;
  box-shadow: 0 6px 36px 0 rgba(160, 160, 240, 0.14);
  transform: translateY(-2px) scale(1.04);
  text-decoration: none;
}

.btn-secondary {
  background: #FCD34D;
  color: #1F2937;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 26px;
  border-radius: 28px;
  border: none;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.12s, color 0.11s;
  box-shadow: 0 1px 8px rgba(246, 210, 77, 0.04);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #FDECA9;
  color: #765F0A;
}

/* HEADER & NAVIGATION ------------------------------ */
header {
  background: linear-gradient(90deg, #F8EEFC 70%, #DEEDFC 100%);
  position: relative;
  z-index: 11;
  box-shadow: 0 2px 16px rgba(211, 206, 254, 0.14);
  padding-top: 8px;
  padding-bottom: 8px;
}
.main-nav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  padding-bottom: 8px;
  padding-top: 4px;
}
.main-nav img {
  height: 38px;
  margin-right: 22px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #3B5264;
  background: none;
  padding: 7px 16px;
  border-radius: 18px;
  transition: background 0.11s, color 0.18s;
  font-size: 1rem;
  text-decoration: none;
  margin-bottom: 0;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E9F6FB;
  color: #1F2937;
}
.main-nav .btn-primary {
  margin-left: 36px;
  margin-top: 0;
  margin-bottom: 0;
  padding: 10px 24px;
  font-size: 1rem;
}

/* MOBILE NAVIGATION ------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 20px;
  background: linear-gradient(90deg, #CABDFF 0%, #BEE6F5 100%);
  color: #1F2937;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 50;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(190,170,255,0.08);
  transition: background 0.19s, color 0.18s;
}
.mobile-menu-toggle:active {
  background: #BEE6F5;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #F8EEFC;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 100;
  transform: translateX(-110vw);
  transition: transform 0.34s cubic-bezier(0.8,0.19,0.32,1.01);
  box-shadow: 0 4px 36px 0 rgba(186, 168, 252, 0.20);
  padding: 24px 28px 16px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1F2937;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin-bottom: 30px;
  transition: background 0.12s;
}
.mobile-menu-close:hover {
  background: #E9F6FB;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  color: #294369;
  font-size: 1.15rem;
  padding: 12px 8px;
  border-radius: 13px;
  width: 100%;
  transition: background 0.13s, color 0.13s;
  margin-bottom: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E9F6FB;
  color: #0b0b29;
}

/* FOOTER ------------------------------- */
footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  padding: 36px 20px 24px 20px;
  background: linear-gradient(90deg, #FAF0FF 70%, #CEECF0 100%);
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
  box-shadow: 0 -4px 28px 0 rgba(210, 180, 235, 0.09);
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 0;
  margin-top: -6px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #4C5B6A;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 11px;
  transition: background 0.1s, color 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #e2f2fa;
  color: #1F2937;
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-top: 10px;
}
.footer-contact img {
  height: 42px;
  margin-right: 12px;
  margin-top: 3px;
}
.footer-contact address {
  font-size: 1rem;
  font-style: normal;
  color: #274060;
  line-height: 1.7;
}
.footer-contact a {
  color: #368ABF;
  text-decoration: underline;
}

/* COOKIE CONSENT BANNER ----------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #F8F7FC;
  color: #2a3240;
  box-shadow: 0 -2px 36px rgba(196,190,230,0.09);
  border-top: 2px solid #E6DFF9;
  z-index: 150;
  padding: 24px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: banner-slidein 0.6s cubic-bezier(0.9,0.4,0.3,1.05);
}
@keyframes banner-slidein {
  0% { transform: translateY(70px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 28px;
  padding: 10px 30px;
  background: #E2E8F0;
  color: #232A37;
  cursor: pointer;
  margin-bottom: 5px;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
  box-shadow: 0 1px 12px rgba(200,210,240,0.06);
}
.cookie-btn.accept {
  background: #BEE6F5;
  color: #1F2937;
  font-weight: 600;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #CABDFF;
  color: #28104c;
}
.cookie-btn.reject {
  background: #FEF7E1;
  color: #684D0F;
  font-weight: 500;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FDECA9;
  color: #8A690F;
}
.cookie-btn.settings {
  background: #D1D4F0;
  color: #1D2440;
  font-weight: 500;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #E6DFF9;
  color: #3B82F6;
}

/* COOKIE MODAL POPUP ------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(41,35,57,0.18);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fadein 0.3s;
}
@keyframes modal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff6fd;
  border-radius: 20px;
  max-width: 320px;
  width: 90vw;
  padding: 32px 22px 24px 22px;
  box-shadow: 0 10px 64px 0 rgba(190,170,255,0.17);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modal-grow 0.4s cubic-bezier(0.85,0.22,0.21,0.95);
}
@keyframes modal-grow {
  0% { transform: scale(0.7); opacity: 0.3; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  background: none;
  border: none;
  color: #6d779c;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  transition: background 0.11s;
}
.cookie-modal-close:hover {
  background: #E9F6FB;
}
.cookie-modal h3 { color: #1F2937; margin-bottom: 12px; }
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: #232A37;
  font-weight: 500;
  margin-bottom: 0;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #cabdff;
  width: 20px;
  height: 20px;
  border-radius: 4px;
}
.cookie-modal .cookie-category.essential label {
  color: #25b566;
  font-weight: 600;
}
.cookie-modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  width: 100%;
  justify-content: flex-end;
}

/* ANIMATIONS & MICROINTERACTIONS -------------------- */
.btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.18s, color 0.16s, box-shadow 0.22s, transform 0.18s;
}
section, .card, .feature-item, .testimonial-card, .faq-item, .team-member, .course-item, .pricing-col {
  transition: box-shadow 0.21s, background 0.18s;
  will-change: box-shadow, background;
}

/* MISC --------------------------------------------- */
::-webkit-scrollbar {
  background: #f4eefc;
  width: 10px;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb {
  background: #e6dff9;
  border-radius: 8px;
}

/* UTILITIES ----------------------------------------- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* RESPONSIVE: MOBILE FIRST ------------------------- */
@media (max-width: 992px) {
  .container {
    padding-left: 10px; padding-right: 10px;
  }
  section { padding: 32px 8px; margin-bottom: 52px; }
  .main-nav { gap: 12px; }
  .footer-nav { gap: 16px; font-size: 0.97rem; }
  .footer-contact address { font-size: 0.97rem; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
  .main-nav, .footer-contact { flex-direction: column; gap: 10px; align-items: flex-start; }
  .main-nav img { margin-bottom: 8px; }
  .content-wrapper, .card-container, .content-grid, .team-grid, .course-list-grid, .pricing-row {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .team-member, .pricing-col, .course-item, .testimonial-card { min-width: unset; }
  .footer-contact {
    flex-direction: column;
    gap: 10px;
  }
  .footer-contact img { margin-bottom: 6px; margin-top: 0; }
  .testimonial-card { padding: 18px 12px 14px 12px; }
  .faq-item { padding: 14px 10px; }
  .feature-item { padding: 18px 10px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none; /* Hide main navigation on mobile */
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-contact {
    flex-direction: column;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .testimonial-card {
    align-items: flex-start;
    padding: 18px 10px 12px 10px;
  }
}
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex; }
}

/* END */
