@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #333333;
  background-color: #ffffff;
}

.navbar {
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.1);
  padding: 0.6rem 0;
}
.navbar .navbar-brand img {
  height: 52px;
  transition: all 0.3s ease;
}
.navbar.scrolled .navbar-brand img {
  height: 44px;
}
.navbar .nav-link {
  font-weight: 500;
  padding: 0.5rem 1.1rem !important;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: #FFCC00;
  transform: scaleX(0);
  transition: all 0.3s ease;
}
.navbar .nav-link:hover::after {
  transform: scaleX(1);
}
.navbar.scrolled .nav-link {
  color: #333333 !important;
}
.navbar.scrolled .nav-link:hover {
  color: #8BAA88 !important;
}

.hero {
  min-height: 100vh;
  background-color: #1a2a1a;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 51, 153, 0.25) 100%);
}
.hero .hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 720px;
  padding: 2rem 0;
}
.hero .badge-hero {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  max-width: 580px;
}
.hero .btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #8BAA88;
  color: #ffffff;
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #8BAA88;
  box-shadow: 0 6px 24px rgba(139, 170, 136, 0.4);
}
.hero .btn-hero:hover {
  background: #9DCC8F;
  border-color: #9DCC8F;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(139, 170, 136, 0.5);
}

section {
  padding: 5rem 0;
}

.section-title {
  color: #8BAA88;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, #8BAA88, #9DCC8F);
  margin-top: 0.75rem;
  border-radius: 2px;
}
.section-title.text-center::after {
  margin-left: auto;
  margin-right: auto;
}

.intro {
  background: #f7f8f6;
}
.intro .badge-interreg {
  display: inline-block;
  background: #003399;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.intro .lead {
  font-size: 1.1rem;
  color: #333333;
  line-height: 1.85;
}
.intro .stat-box {
  padding: 2rem 1rem;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}
.intro .stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.intro .stat-box .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: #8BAA88;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.intro .stat-box .stat-label {
  font-size: 0.9rem;
  color: #777;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kurs {
  background: #ffffff;
}
.kurs .kurs-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.75rem;
  height: 100%;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
  border-top: 5px solid #8BAA88;
  transition: all 0.3s ease;
}
.kurs .kurs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}
.kurs .kurs-card.kurs-green {
  border-top-color: #9DCC8F;
}
.kurs .kurs-card .kurs-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: rgba(139, 170, 136, 0.12);
  color: #8BAA88;
  flex-shrink: 0;
}
.kurs .kurs-card .kurs-icon svg {
  width: 34px;
  height: 34px;
}
.kurs .kurs-card.kurs-green .kurs-icon {
  background: rgba(157, 204, 143, 0.15);
  color: #4c9343;
}
.kurs .kurs-card h3 {
  color: #8BAA88;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.kurs .kurs-card.kurs-green h3 {
  color: #4da641;
}
.kurs .kurs-card > p {
  color: #666;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.kurs .kurs-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.kurs .kurs-card ul li {
  padding: 0.4rem 0 0.4rem 1.6rem;
  position: relative;
  color: #333333;
  font-size: 0.95rem;
}
.kurs .kurs-card ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #8BAA88;
  font-weight: 700;
}
.kurs .kurs-card.kurs-green ul li::before {
  color: #55a345;
}

.ecourse {
  background: linear-gradient(135deg, #8BAA88 0%, #9DCC8F 100%);
  color: #ffffff;
  text-align: center;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.ecourse::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.ecourse::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.ecourse .ecourse-inner {
  position: relative;
  z-index: 1;
}
.ecourse .ecourse-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
.ecourse h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.ecourse p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.ecourse .btn-ecourse {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  color: #8BAA88;
  padding: 1.1rem 3rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}
.ecourse .btn-ecourse:hover {
  background: #FFCC00;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.kontakt {
  background: #f7f8f6;
}
.kontakt .contact-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 36px rgba(0, 0, 0, 0.09);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s ease;
}
.kontakt .contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.12);
}
.kontakt .contact-card .contact-photo {
  min-height: 200px;
  background: linear-gradient(135deg, #8BAA88 0%, #9DCC8F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  overflow: hidden;
}
.kontakt .contact-card .contact-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.kontakt .contact-card .contact-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.kontakt .contact-card .contact-info h3 {
  color: #8BAA88;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}
.kontakt .contact-card .contact-info .role {
  color: #52a040;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.kontakt .contact-card .contact-info .institution {
  color: #888;
  font-size: 0.82rem;
  margin-bottom: 1.25rem;
}
.kontakt .contact-card .contact-info p {
  color: #333333;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  flex: 1;
}
.kontakt .contact-card .contact-info .contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #8BAA88;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.7rem 1.4rem;
  border: 2px solid #8BAA88;
  border-radius: 50px;
  transition: all 0.3s ease;
  align-self: flex-start;
}
.kontakt .contact-card .contact-info .contact-email:hover {
  background: #8BAA88;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 170, 136, 0.35);
}

.partner {
  background: #ffffff;
}
.partner .carousel-inner {
  padding: 1rem 0 3rem;
}
.partner .partner-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.07);
  height: 100%;
  transition: all 0.3s ease;
}
.partner .partner-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  border-color: rgba(139, 170, 136, 0.3);
}
.partner .partner-card .partner-logo-placeholder {
  width: 110px;
  height: 72px;
  background: linear-gradient(135deg, rgba(139, 170, 136, 0.12), rgba(157, 204, 143, 0.15));
  border-radius: 10px;
  margin: 0 auto 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8BAA88;
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.3;
  text-align: center;
  border: 1px solid rgba(139, 170, 136, 0.2);
}
.partner .partner-card .partner-logo-img {
  width: 110px;
  height: 72px;
  margin: 0 auto 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner .partner-card .partner-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: grayscale(40%);
  transition: filter 0.3s ease;
}
.partner .partner-card:hover .partner-logo-img img {
  filter: grayscale(0%);
}
.partner .partner-card h5 {
  color: #333333;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.partner .partner-card p {
  font-size: 0.8rem;
  color: #888;
  margin: 0;
}
.partner .carousel-control-prev,
.partner .carousel-control-next {
  width: 44px;
  height: 44px;
  background: #8BAA88;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-60%);
  opacity: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}
.partner .carousel-control-prev:hover,
.partner .carousel-control-next:hover {
  background: #9DCC8F;
}
.partner .carousel-control-prev-icon,
.partner .carousel-control-next-icon {
  width: 18px;
  height: 18px;
}
.partner .carousel-control-prev {
  left: -22px;
}
.partner .carousel-control-next {
  right: -22px;
}
.partner .carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: rgba(139, 170, 136, 0.35);
  padding: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}
.partner .carousel-dot.active {
  background-color: #8BAA88;
  width: 28px;
  border-radius: 5px;
}

footer {
  background: #f0f5ef;
  color: #555;
  padding: 3.5rem 0 1.75rem;
}
footer h6 {
  color: #8BAA88;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
footer ul li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
footer a {
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
}
footer a:hover {
  color: #8BAA88;
}
footer .footer-logo-wrap {
  margin-bottom: 1.5rem;
}
footer .footer-logo-wrap img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
}
@media (min-width: 576px) {
  footer .footer-logo-wrap img {
    max-width: 360px;
  }
}
@media (min-width: 768px) {
  footer .footer-logo-wrap img {
    max-width: 400px;
  }
}
@media (min-width: 992px) {
  footer .footer-logo-wrap img {
    max-width: 370px;
  }
}
@media (min-width: 1200px) {
  footer .footer-logo-wrap img {
    max-width: 420px;
  }
}
@media (min-width: 1400px) {
  footer .footer-logo-wrap img {
    max-width: 460px;
  }
}
footer .footer-divider {
  border-color: rgba(139, 170, 136, 0.25);
  margin: 2rem 0 1.5rem;
}
footer .footer-cofund {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.65;
}
footer .footer-copy {
  font-size: 0.8rem;
  color: #8BAA88;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: #8BAA88;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1050;
  font-size: 1.1rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
.back-to-top:hover {
  background: #9DCC8F;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

/* Consent-Banner/Platzhalter (Paket centouris_consent) im DEGREE4ALPS-Stil.
   Kontrast: weisse Schrift auf #2f4a2f 9,6:1; Link/Fokus #3d6b3a auf Weiss 6,1:1; Schalter aus #6b7390 4,8:1. */
:root {
  --ct-consent-font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ct-consent-fg: #333333;
  --ct-consent-muted: #555555;
  --ct-consent-line: #d9e3d7;
  --ct-consent-surface: #f0f5ef;
  --ct-consent-btn-bg: #2f4a2f;
  --ct-consent-btn-fg: #ffffff;
  --ct-consent-btn-hover-bg: #1a2a1a;
  --ct-consent-secondary-fg: #2f4a2f;
  --ct-consent-accent: #3d6b3a;
  --ct-consent-focus: #3d6b3a;
  --ct-consent-switch-on: #2f4a2f;
  --ct-consent-embed-accent: #8BAA88;
}
footer .ct-consent-linkbtn { color: #666; font-size: 0.9rem; }
footer .ct-consent-linkbtn:hover { color: #3d6b3a; }
