:root {
    --schatten_header: 0 10px 15px -3px rgb(0 0 0 / 0.8), 0 4px 6px -4px rgb(0 0 0 / 0.1); /* --shadow-lg */
  
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Lato';
  color: oklch(27.8% 0.033 256.848); /* --color-gray-800 */
  background-color: #e6f2ff; /* --color-light-blue */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font: inherit;
  background-color: transparent;
  border-radius: 0;
  cursor: pointer;
}

ul {
  list-style: none;
}

/* ---------------------------------- */
/* -------- 3. LAYOUT & GRID -------- */
/* ---------------------------------- */

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Responsive container widths from Tailwind config */
@media (min-width: 40rem) { .container { max-width: 40rem; } }
@media (min-width: 48rem) { .container { max-width: 48rem; } }
@media (min-width: 64rem) { .container { max-width: 64rem; } }
@media (min-width: 80rem) { .container { max-width: 80rem; } }
@media (min-width: 96rem) { .container { max-width: 96rem; } }


/* ---------------------------------- */
/* ------- 4. REUSABLE CLASSES ------ */
/* ---------------------------------- */
.hidden { display: none !important; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
  opacity: 0;
}

.text-orange { color: #ff8c00; } /* --color-orange */

/* ---------------------------------- */
/* ---------- 5. HEADER ------------- */
/* ---------------------------------- */

.site-header {
  background-color: #0c2461; /* --color-dark-blue */
  color: #fff; /* --color-white */
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); /* --shadow-md */
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  height: 3rem;
  box-shadow: var(--schatten_header);
  
}
@media (min-width: 48rem) { .logo { height: 4rem; } }

.desktop-nav {
  display: none; /* Hidden on mobile */
  align-items: center;
  gap: 1.5rem; /* space-x-6 */
  font-size: 1.125rem;
}
@media (min-width: 48rem) { .desktop-nav { display: flex; } }

.nav-link {
  transition: color 300ms;
}
.nav-link:hover {
  color: #67e8f9; /* --color-accent */
}

.nav-button {
  background-color: #4a90e2; /* --color-mid-blue */
  padding: 0.5rem 1rem;
  border-radius: 0.375rem; /* --radius-md */
  transition: background-color 300ms;
}
.nav-button:hover {
  background-color: oklch(62.3% 0.214 259.815); /* --color-blue-500 */
  color: #fff; /* --color-white */
}

.mobile-menu-button {
  color: #fff; /* --color-white */
}
.hamburger-icon {
  width: 2rem;
  height: 2rem;
}
@media (min-width: 48rem) { .mobile-menu-button { display: none; } }

.mobile-nav {
  background-color: #0c2461; /* --color-dark-blue */
  padding: 1rem 1.5rem;
  text-align: center;
  border-top: 1px solid oklch(37.3% 0.034 259.733); /* --color-gray-700 */
}
@media (min-width: 48rem) { .mobile-nav { display: none; } }

.mobile-nav-link {
  display: block;
  padding: 0.5rem 0;
  transition: color 300ms;
}

/* ---------------------------------- */
/* --------- 6. HERO SECTION -------- */
/* ---------Willkommen bei STB--------- */

.hero-section {
  background-image: linear-gradient(to bottom right, #4a90e2, #0c2461);
  color: #fff; /* --color-white */
  padding: 3rem 0;
  text-align: center;
}
@media (min-width: 48rem) { .hero-section { padding: 4rem 0; } }

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
}
@media (min-width: 48rem) { .hero-title { font-size: 2.25rem; } }

.hero-subtitle {
  font-size: 1rem;
  max-width: 42rem;
  margin: 0 auto 1rem auto;
}
@media (min-width: 48rem) { .hero-subtitle { font-size: 1.125rem; } }

.btn-primary {
  display: inline-block;
  background-color: #67e8f9; /* --color-accent */
  color: #0c2461; /* --color-dark-blue */
  padding: 0.75rem 1.5rem;
  border-radius: 9999px; /* --radius-full */
  font-weight: 700;
  box-shadow: var(--schatten_header);
  transition: background-color 300ms;
}
.btn-primary:hover {
  background-color: #ff8c00; /* --color-orange */
}

.language-info {
  margin-top: 1.5rem;
}
.language-info-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.language-flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 48rem) { .language-flags { gap: 1rem; } }

.flag-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px; /* --radius-full */
  box-shadow: var(--schatten_header);
  transition: transform 300ms;
}
.flag-icon:hover {
  transform: scale(1.1);
}

/* ---------------------------------- */
/* ------- 7. COURSES SECTION ------- */
/* ---------------------------------- */

.courses-section {
  padding: 4rem 0;
}
@media (min-width: 48rem) { .courses-section { padding: 6rem 0; } }

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  color: #0c2461; /* --color-dark-blue */
  text-align: center;
  margin-bottom: 3rem;
}
@media (min-width: 48rem) { .section-title { font-size: 2.25rem; } }

.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 48rem) { .courses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .courses-grid { grid-template-columns: repeat(3, 1fr); } }

.course-card {
  background-color: #fff; /* --color-white */
  border-radius: 0.75rem; /* --radius-xl */
  box-shadow: 0 10px 15px -4px rgb(0 0 0 / 0.6), 0 4px 6px -6px rgb(0 0 0 / 0.1); /* --shadow-lg */
  overflow: hidden;
  border-left-width: 4px;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.course-card:hover {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); /* --shadow-2xl */
  transform: translateY(-0.5rem);
}
.course-card.expanded {
  transform: scale(1.05);
}

.card-content { padding: 1.5rem; }
.card-title {
  display: flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #0c2461; /* --color-dark-blue */
  margin-bottom: 1rem;
}
.card-emoji { font-size: 1.5rem; margin-right: 0.75rem; }
.badge {
  display: inline-block;
  color: #fff; /* --color-white */
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 9999px; /* --radius-full */
  margin-bottom: 1rem;
}

.card-subtitle { font-weight: 600; color: oklch(37.3% 0.034 259.733); margin-bottom: 0.5rem; } /* --color-gray-700 */
.card-subtitle-secondary { font-family: 'Poppins', sans-serif; font-weight: 600; color: oklch(37.3% 0.034 259.733); margin-bottom: 0.5rem; margin-top: 1rem; } /* --color-gray-700 */
.card-text { color: oklch(44.6% 0.03 256.802); margin-bottom: 1rem; } /* --color-gray-600 */
.card-list {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
  color: oklch(44.6% 0.03 256.802); /* --color-gray-600 */
}
.card-list li { margin-bottom: 0.5rem; }
.card-meta { font-size: 0.875rem; color: #6b7280; } /* text-gray-500 */
.card-meta span { font-weight: 600; }
.card-meta:not(:last-child) { margin-bottom: 0.25rem; }


/* Expandable card styles */
.course-card .hidden-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  margin-top: 1rem;
}
.course-card.expanded .hidden-content {
  max-height: 1000px;
}
.toggle-btn {
  display: block;
  text-align: center;
  background-color: #4a90e2; /* --color-mid-blue */
  color: #fff; /* --color-white */
  padding: 0.5rem 1rem;
  border-radius: 0.875rem; /* --radius-md */
  transition: background-color 300ms;
  margin-top: 1rem;
  width: min 50%;
}
.toggle-btn:hover {
  background-color: oklch(62.3% 0.214 259.815); /* --color-blue-500 */
}

.flyer-btn {
  display: block;
  text-align: center;
  background-color: #4a90e2; /* --color-mid-blue */
  color: #fff; /* --color-white */
  padding: 0.5rem 1rem;
  border-radius: 0.875rem; /* --radius-md */
  transition: background-color 300ms;
  margin-top: 1rem;
  width: 35%;
}
.flyer-btn:hover {
  background-color: oklch(62.3% 0.214 259.815); /* --color-blue-500 */
}


/* ---------------------------------- */
/* --- 8. INFO & CONTACT SECTION ---- */
/* ---------------------------------- */
.info-contact-section {
  background-color: #fff; /* --color-white */
  padding: 4rem 0;
}
@media (min-width: 48rem) { .info-contact-section { padding: 6rem 0; } }

.info-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 64rem) {
  .info-contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.info-box {
  background-color: #e6f2ff; /* --color-light-blue */
  padding: 2rem;
  border-radius: 0.75rem; /* --radius-xl */
  box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05); /* --shadow-inner */
}
.info-box-title {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: #0c2461; /* --color-dark-blue */
  margin-bottom: 1rem;
}
.info-box-emoji { font-size: 1.875rem; margin-right: 0.75rem; }
.info-box-text { color: oklch(37.3% 0.034 259.733); margin-bottom: 1rem; } /* --color-gray-700 */
.info-box-subtitle {
  font-weight: 600;
  color: #0c2461; /* --color-dark-blue */
  font-family: 'Poppins', sans-serif;
}
.info-box-subsection { margin-bottom: 1rem; }
.info-box ul { color: oklch(44.6% 0.03 256.802); } /* --color-gray-600 */
.info-box ul li { margin-top: 0.25rem; }
.contact-link { margin-top: 0.5rem; }
.contact-link a { color: #4a90e2; } /* --color-mid-blue */
.contact-link a:hover { text-decoration: underline; }
.info-list {
  color: oklch(37.3% 0.034 259.733); /* --color-gray-700 */
}
.info-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.checkmark {
  color: oklch(72.3% 0.219 149.579); /* --color-green-500 */
  font-weight: 700;
  margin-right: 0.5rem;
  margin-top: 0.125rem;
}

/* ---------------------------------- */
/* ----------- 9. FOOTER ------------ */
/* ---------------------------------- */
.site-footer {
  background-color: #0c2461; /* --color-dark-blue */
  color: #d1d5db; /* text-gray-300 */
}
.site-footer .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}
@media (min-width: 48rem) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }
}
.footer-title {
  font-family: 'Poppins', sans-serif;
  color: #fff; /* --color-white */
  font-size: 1.125rem;
  font-weight: 600;
  border-bottom: 2px solid #4a90e2; /* --color-mid-blue */
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}
.footer-text {
  color: #9ca3af; /* text-gray-400 */
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  transition: color 300ms;
}
.footer-links a:hover {
  color: #fff; /* --color-white */
}
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid oklch(37.3% 0.034 259.733); /* --color-gray-700 */
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af; /* text-gray-400 */
}
.legal-links { margin-top: 0.5rem; }
.legal-links a { transition: color 300ms; }
.legal-links a:hover { color: #fff; /* --color-white */ }
.legal-links a:not(:last-child) { margin-right: 0.5rem; }
.legal-links a:not(:first-child) { margin-left: 0.5rem; }

/* ---------------------------------- */
/* --- 10. SCROLL-TO-TOP BUTTON ----- */
/* ---------------------------------- */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4a90e2; /* --color-mid-blue */
  color: #fff; /* --color-white */
  padding: 0.75rem;
  border-radius: 9999px; /* --radius-full */
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); /* --shadow-lg */
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, background-color 0.3s;
  z-index: 1000;
}
.scroll-to-top svg {
  width: 1.5rem;
  height: 1.5rem;
}
.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-to-top:hover {
  background-color: #67e8f9; /* --color-accent */
}

/* ---------------------------------- */
/* --------- 11. MODAL (POPUP) ------ */
/* ---------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s;
  opacity: 1;
}
.modal-overlay.overlay-hidden {
  opacity: 0;
}
.modal-content {
  background-color: #fff; /* --color-white */
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); /* --shadow-2xl */
  max-width: 28rem;
  width: 100%;
  transform: scale(1);
  transition: transform 0.3s;
}
.modal-content.content-hidden {
  transform: scale(0.95);
}
.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: #0c2461; /* --color-dark-blue */
  margin-bottom: 1rem;
}
.modal-text {
  font-family: 'Lato', sans-serif;
  color: oklch(44.6% 0.03 256.802); /* --color-gray-600 */
  margin-bottom: 1.5rem;
}
.modal-info-box {
  background-color: #e6f2ff; /* --color-light-blue */
  border-left-width: 4px;
  padding: 1rem;
  border-top-right-radius: 0.5rem; /* --radius-lg */
  border-bottom-right-radius: 0.5rem; /* --radius-lg */
  margin-bottom: 1.5rem;
}
.modal-info-box.border-mid-blue { border-left-color: #4a90e2; } /* --color-mid-blue */
.modal-info-box.border-green { border-left-color: oklch(72.3% 0.219 149.579); } /* --color-green-500 */
.modal-info-box.border-blue { border-left-color: oklch(62.3% 0.214 259.815); } /* --color-blue-500 */
.modal-info-title {
  font-weight: 600;
  color: #0c2461; /* --color-dark-blue */
}
.modal-info-list {
  color: oklch(44.6% 0.03 256.802); /* --color-gray-600 */
  margin-top: 0.25rem;
}
.modal-phone-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: oklch(52.7% 0.154 150.069); /* --color-green-700 */
}
.modal-phone-number:hover {
  text-decoration: underline;
}
.btn-secondary {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem; /* --radius-md */
  background-color: #f3f4f6; /* gray-100 equivalent */
  color: #0c2461; /* --color-dark-blue */
  font-weight: 600;
  transition: background-color 0.2s;
}
.btn-secondary:hover {
  background-color: #e5e7eb; /* gray-200 equivalent */
}