/* ============================================================
   NordStrategic Academy – Main Stylesheet
   Farben: Weiß #FFFFFF, Hellgrau #F4F6F5, Akzent-Grün #2E8B57
   Schrift: Poppins (300 / 400 / 600)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #2E8B57;
  --green-dark:  #1f6b3e;
  --green-light: #e8f5ee;
  --white:       #ffffff;
  --gray-light:  #F4F6F5;
  --gray-mid:    #e0e4e2;
  --gray-text:   #555f5a;
  --dark:        #1a2420;
  --radius:      12px;
  --shadow:      0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover:0 8px 32px rgba(46,139,87,0.18);
  --transition:  0.28s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

h1,h2,h3,h4,h5 { font-weight: 600; line-height: 1.3; }
p { font-weight: 300; }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; display: block; }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section ── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-gray { background: var(--gray-light); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--dark);
  margin-bottom: 16px;
}
.section-title span { color: var(--green); }
.section-subtitle {
  font-weight: 300;
  color: var(--gray-text);
  max-width: 620px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,139,87,0.3);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green);
  transform: translateY(-2px);
}
.btn-outline-green {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
}
.btn-outline-green:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.card-body { padding: 28px; }
.card-img { width: 100%; height: 220px; object-fit: cover; }

/* ── Grid ── */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3,
  .grid-2,
  .grid-4 { grid-template-columns: 1fr; }
}

/* ── HEADER & NAV ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
}
.logo span { color: var(--green); }
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  color: var(--dark);
  font-weight: 400;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: color var(--transition), background var(--transition);
}
.nav a:hover,
.nav a.active { color: var(--green); background: var(--green-light); }
.nav .btn-primary { color: white; padding: 9px 22px; margin-left: 8px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 16px 24px 24px;
  border-top: 1px solid var(--gray-mid);
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--dark);
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 6px;
}
.mobile-nav a:hover { color: var(--green); background: var(--green-light); }
.mobile-nav .btn-primary { margin-top: 8px; text-align: center; color: white; }

@media (max-width: 820px) {
  .nav { display: none; }
  .hamburger { display: flex; }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f2018 0%, #1a3828 50%, #1f4d35 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1600&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 720px;
}
.hero-badge {
  display: inline-block;
  background: rgba(46,139,87,0.35);
  border: 1px solid rgba(46,139,87,0.6);
  color: #8ed9ad;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}
.hero h1 span { color: #5dba85; }
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}
.hero-desc {
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 580px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-stat span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #5dba85;
}
.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}

/* ── COMPETENCIES ── */
.comp-icon {
  width: 56px;
  height: 56px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.6rem;
}
.comp-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.comp-card p { font-size: 0.92rem; color: var(--gray-text); }

/* ── ABOUT SPLIT ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-split img {
  border-radius: var(--radius);
  height: 420px;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow);
}
.about-split-text h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 16px; }
.about-split-text p { color: var(--gray-text); margin-bottom: 14px; }
.about-split-text .btn { margin-top: 12px; }

@media (max-width: 768px) {
  .about-split { grid-template-columns: 1fr; gap: 32px; }
}

/* ── STATS ── */
.stats-section { background: var(--green); color: var(--white); }
.stat-item { text-align: center; }
.stat-item .num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}
.stat-item p { font-weight: 300; font-size: 0.95rem; opacity: 0.9; }

/* ── CTA BLOCK ── */
.cta-block {
  background: linear-gradient(135deg, #1a3828, #2E8B57);
  color: white;
  text-align: center;
  padding: 80px 24px;
}
.cta-block h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 16px; }
.cta-block p { font-weight: 300; opacity: 0.85; max-width: 560px; margin: 0 auto 32px; }
.cta-block .btn-outline { border-color: white; }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo { color: white; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; font-weight: 300; opacity: 0.75; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: white; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: #5dba85; }
.footer-contact p { font-size: 0.88rem; margin-bottom: 8px; display: flex; gap: 8px; align-items: flex-start; }
.footer-contact p svg { flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #5dba85; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, #0f2018, #1f4d35);
  color: white;
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 400px;
  height: 400px;
  background: rgba(46,139,87,0.12);
  border-radius: 50%;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-hero p { font-weight: 300; opacity: 0.8; max-width: 560px; font-size: 1.05rem; }
.breadcrumb {
  font-size: 0.82rem;
  margin-bottom: 20px;
  opacity: 0.65;
}
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb span { color: #5dba85; }

/* ── TEAM CARDS ── */
.team-card { text-align: center; }
.team-card img { width: 100%; height: 260px; object-fit: cover; }
.team-card .card-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card .card-body .role { color: var(--green); font-size: 0.88rem; font-weight: 600; margin-bottom: 10px; }
.team-card .card-body p { font-size: 0.88rem; color: var(--gray-text); }

/* ── VALUES ── */
.value-card { display: flex; gap: 20px; align-items: flex-start; padding: 28px; }
.value-icon {
  width: 52px;
  height: 52px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.value-text h3 { font-size: 1rem; margin-bottom: 6px; }
.value-text p { font-size: 0.88rem; color: var(--gray-text); }

/* ── COURSE CARDS ── */
.course-category {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.course-meta { display: flex; gap: 16px; font-size: 0.82rem; color: var(--gray-text); margin: 12px 0; }
.course-meta span { display: flex; align-items: center; gap: 5px; }

/* ── BLOG ── */
.blog-card .card-img { height: 210px; }
.blog-meta { font-size: 0.8rem; color: var(--gray-text); margin-bottom: 12px; display: flex; gap: 16px; align-items: center; }
.blog-cat {
  background: var(--green-light);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.blog-card h3 { font-size: 1.08rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card p { font-size: 0.88rem; color: var(--gray-text); margin-bottom: 16px; }

/* ── ARTICLE ── */
.article-wrapper { max-width: 820px; margin: 0 auto; }
.article-header { margin-bottom: 36px; }
.article-header h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 16px; }
.article-header img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; }
.article-body h2 { font-size: 1.35rem; margin: 32px 0 12px; color: var(--dark); }
.article-body h3 { font-size: 1.1rem; margin: 24px 0 10px; color: var(--green); }
.article-body p { font-weight: 300; margin-bottom: 16px; color: #3a4a40; line-height: 1.8; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 16px; }
.article-body li { font-weight: 300; color: #3a4a40; margin-bottom: 6px; }
.article-body blockquote {
  border-left: 4px solid var(--green);
  background: var(--green-light);
  padding: 16px 24px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--gray-text);
}

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  color: var(--dark);
  margin-bottom: 20px;
  transition: border-color var(--transition);
  background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-text h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-text p, .contact-info-text a { font-size: 0.88rem; color: var(--gray-text); font-weight: 300; }

.map-wrapper { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 32px; }
.map-wrapper iframe { width: 100%; height: 280px; border: none; display: block; }

/* ── FAQ ── */
.faq-item { border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  color: var(--dark);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--green); }
.faq-icon { font-size: 1.2rem; transition: transform var(--transition); color: var(--green); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 0.9rem; color: var(--gray-text); font-weight: 300; line-height: 1.75; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ── LEGAL PAGES ── */
.legal-content { max-width: 860px; margin: 0 auto; }
.legal-content h2 { font-size: 1.3rem; margin: 36px 0 12px; color: var(--dark); }
.legal-content h3 { font-size: 1.05rem; margin: 24px 0 8px; color: var(--green); }
.legal-content p, .legal-content li { font-weight: 300; color: #3a4a40; line-height: 1.8; margin-bottom: 12px; }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 16px; }
.legal-content a { color: var(--green); }

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #132118;
  color: rgba(255,255,255,0.88);
  padding: 20px 24px;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}
#cookie-banner.visible { display: flex; }
#cookie-banner p { font-size: 0.88rem; font-weight: 300; max-width: 700px; }
#cookie-banner p a { color: #5dba85; text-decoration: underline; }
.cookie-buttons { display: flex; gap: 12px; flex-shrink: 0; }
#cookie-accept {
  background: var(--green);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background var(--transition);
}
#cookie-accept:hover { background: var(--green-dark); }
#cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 20px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
}
#cookie-decline:hover { border-color: rgba(255,255,255,0.5); color: white; }

/* ── SUCCESS MESSAGE ── */
.form-success {
  display: none;
  background: var(--green-light);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: var(--green-dark);
  font-weight: 600;
}

/* ── FILTER TABS ── */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn {
  padding: 8px 20px;
  border-radius: 24px;
  border: 1.5px solid var(--gray-mid);
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--gray-text);
  transition: all var(--transition);
}
.filter-btn.active,
.filter-btn:hover { background: var(--green); border-color: var(--green); color: white; }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--green-light); }
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--green);
}
.timeline-year { font-size: 0.8rem; font-weight: 600; color: var(--green); text-transform: uppercase; margin-bottom: 4px; }
.timeline-item h3 { font-size: 1rem; margin-bottom: 6px; }
.timeline-item p { font-size: 0.88rem; color: var(--gray-text); font-weight: 300; }

/* ── UTILITY ── */
.text-center { text-align: center; }
.text-green { color: var(--green); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.fw-600 { font-weight: 600; }

/* Related articles */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 16px; }
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }

/* Back link */
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 600; font-size: 0.88rem; margin-bottom: 32px; }
.back-link:hover { color: var(--green-dark); }

/* Form submit feedback */
.alert { padding: 14px 20px; border-radius: 8px; font-size: 0.9rem; margin-top: 8px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ── RESPONSIVE MISC ── */
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { min-height: auto; padding: 80px 0; }
  .hero-stats { gap: 24px; }
  .page-hero { padding: 56px 0 48px; }
  .cta-block { padding: 56px 24px; }
}

/* Scroll animation helper */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: none; }
