/* RedeKraft Akademie – zero-tree-247.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #E31B23;
  --primary-hover-start: #f32a7c;
  --primary-hover-end: #e31b23;
  --secondary: #373234;
  --accent: #f32a7c;
  --bg: #ffffff;
  --text: #373234;
  --text-gray: #666;
  --text-light: rgba(255,255,255,0.7);
  --border: #e1ddd8;
  --form-bg: #f1efed;
  --max-w: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'helveticaneue', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  text-align: center;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover-start), var(--primary-hover-end));
  background: var(--primary-hover-start);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--primary);
}
.btn-dark {
  background: var(--secondary);
  color: #fff;
}
.btn-dark:hover { background: #555354; }

/* ===== HEADER ===== */
.site-header {
  background: var(--secondary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: var(--max-w);
  margin: 0 auto;
  height: 70px;
}
.header-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo svg { width: 44px; height: 44px; }
.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.main-nav ul {
  display: flex;
  gap: 8px;
  align-items: center;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.main-nav a:hover, .main-nav a.active {
  color: #fff;
  border-bottom-color: var(--primary);
}
.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 22px !important;
  border: none !important;
}
.nav-cta:hover { background: var(--accent) !important; border: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--secondary);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 80px 20px 80px 40px;
  margin: 0 auto 0 calc((100% - var(--max-w)) / 2 + 20px);
}
.hero-eyebrow {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 700;
}
.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== STATS ===== */
.stats-section {
  background: var(--secondary);
  padding: 50px 20px;
}
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, #f32a7c, #e31b23);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* ===== SECTIONS ===== */
section { padding: 80px 20px; }

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-gray);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ===== SERVICES ===== */
.services-section { background: #f9f8f7; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.service-card {
  background: #fff;
  padding: 36px 30px;
  border-top: 3px solid var(--primary);
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--secondary);
}
.service-card p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.65;
}

/* ===== COURSES ===== */
.courses-section { background: #fff; }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.course-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 12px 35px rgba(0,0,0,0.1); }
.course-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.course-body { padding: 26px; }
.course-tag {
  display: inline-block;
  background: #f1efed;
  color: var(--primary);
  font-size: 0.75rem;
  padding: 4px 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.course-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--secondary);
  line-height: 1.3;
}
.course-body p {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 16px;
  line-height: 1.6;
}
.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.course-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}
.course-duration {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* ===== SPLIT SECTION ===== */
.split-section {
  background: #f9f8f7;
  padding: 0;
}
.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 480px;
}
.split-image {
  background-size: cover;
  background-position: center;
  min-height: 380px;
}
.split-content {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-content .section-subtitle { margin-bottom: 28px; }
.split-list { margin: 20px 0 30px; }
.split-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-gray);
}
.split-list li i { color: var(--primary); margin-top: 2px; min-width: 16px; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--secondary); padding: 80px 20px; }
.testimonials-section .section-title { color: #fff; }
.testimonials-section .section-label { color: var(--accent); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 36px 30px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--primary);
  line-height: 0;
  position: absolute;
  top: 34px;
  left: 24px;
  opacity: 0.6;
}
.testimonial-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-top: 24px;
  margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.author-name { font-size: 0.95rem; color: #fff; font-weight: 600; }
.author-role { font-size: 0.8rem; color: var(--text-light); margin-top: 2px; }

/* ===== FAQ ===== */
.faq-section { background: #fff; }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question i { color: var(--primary); transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.46, 0.01, 0, 1);
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--primary);
  padding: 70px 20px;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 14px;
  font-weight: 700;
}
.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 30px;
}
.cta-banner .btn-outline { border-color: #fff; }

/* ===== CONTACT FORM ===== */
.contact-section { background: #f9f8f7; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  align-items: start;
}
.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--secondary);
}
.contact-info p {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 30px;
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-item i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
  min-width: 18px;
}
.contact-item-text strong { display: block; font-size: 0.85rem; color: var(--secondary); margin-bottom: 2px; }
.contact-item-text span { font-size: 0.95rem; color: var(--text-gray); }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  background: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== FOOTER ===== */
.footer-primary {
  background: var(--secondary);
  padding: 60px 20px 30px;
  color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto 40px;
}
.footer-brand .logo-text { font-size: 1.2rem; color: #fff; }
.footer-brand .logo-text span { color: rgba(255,255,255,0.5); }
.footer-brand p {
  margin-top: 14px;
  font-size: 0.88rem;
  line-height: 1.65;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--primary); color: #fff; }

.footer-bottom {
  background: #2a2628;
  padding: 18px 20px;
}
.footer-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}
.footer-bottom-links a:hover { color: #fff; }

/* ===== COOKIE BANNER (GDPR) ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--secondary);
  border-top: 3px solid var(--primary);
  padding: 20px 30px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.cookie-banner.show { display: block; }
.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cookie-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  flex: 1;
  min-width: 280px;
  line-height: 1.5;
}
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 22px; font-size: 0.88rem; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--secondary);
  padding: 70px 20px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
}

/* ===== CONTENT SECTION ===== */
.content-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 70px 20px;
}
.content-section h2 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin: 40px 0 14px;
  border-left: 4px solid var(--primary);
  padding-left: 14px;
}
.content-section h2:first-child { margin-top: 0; }
.content-section p {
  color: var(--text-gray);
  line-height: 1.75;
  margin-bottom: 16px;
}
.content-section ul {
  list-style: none;
  margin-bottom: 20px;
}
.content-section ul li {
  padding: 5px 0 5px 22px;
  position: relative;
  color: var(--text-gray);
  line-height: 1.6;
}
.content-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 2px;
  background: var(--primary);
}

/* ===== SUCCESS/ERROR ===== */
.form-notice {
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.form-notice-success { background: #e6f4ea; color: #1e7e34; border-left: 4px solid #1e7e34; }
.form-notice-error { background: #fce8e6; color: #c0392b; border-left: 4px solid var(--primary); }

/* ===== ABOUT PAGE ===== */
.team-section { background: #f9f8f7; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.team-card { text-align: center; }
.team-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #e1ddd8;
  display: block;
}
.team-info { padding: 20px; background: #fff; }
.team-info h3 { font-size: 1.05rem; color: var(--secondary); margin-bottom: 4px; }
.team-info span { font-size: 0.85rem; color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .split-inner { grid-template-columns: 1fr; }
  .split-image { min-height: 300px; }
  .split-content { padding: 40px 30px; }
}
@media (max-width: 767px) {
  .hero-content {
    padding: 60px 20px;
    margin: 0;
  }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav.open ul {
    flex-direction: column;
    background: var(--secondary);
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 16px 20px;
    border-top: 2px solid var(--primary);
    z-index: 999;
    gap: 0;
  }
  .main-nav.open ul li a {
    display: block;
    padding: 12px 0;
    border-bottom: none;
  }
  .hamburger { display: flex; }
  .stats-grid { gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .cookie-inner { flex-direction: column; }
  .hero { min-height: 420px; }
  .hero-content h1 { text-shadow: 0 0 10px rgba(0,0,0,0.5); }
}
@media (max-width: 480px) {
  section { padding: 55px 16px; }
  .courses-grid, .services-grid { grid-template-columns: 1fr; }
}
