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

:root {
  --teal-50:  #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --green-500: #10b981;
  --green-600: #059669;
  --red-500:   #ef4444;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800); line-height: 1.6; background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200); transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-brand-badge {
  background: var(--teal-600); color: #fff; font-size: 0.7rem; font-weight: 700;
  padding: 0.2rem 0.6rem; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.06em;
}
.nav-brand-name { font-weight: 800; font-size: 1.15rem; color: var(--gray-900); letter-spacing: -0.02em; }
.nav-brand-name span { color: var(--teal-600); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--gray-600); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--teal-600); }
.nav-cta {
  background: var(--teal-600) !important; color: #fff !important;
  padding: 0.55rem 1.25rem !important; border-radius: 8px;
  font-weight: 600 !important; transition: background 0.2s !important; white-space: nowrap;
}
.nav-cta:hover { background: var(--teal-700) !important; }
.nav-mobile { display: none; cursor: pointer; background: none; border: none; padding: 8px; }
.nav-mobile svg { width: 24px; height: 24px; color: var(--gray-700); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; padding: 1.5rem; border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1); gap: 1rem;
  }
  .nav-mobile { display: block; }
}

/* HERO */
.hero {
  padding: 8rem 1.5rem 6rem;
  background: linear-gradient(rgba(13,148,136,0.72), rgba(15,118,110,0.82)), url('../images/hero-train-journey.png') center/cover no-repeat;
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.hero-inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.18); color: var(--amber-400);
  font-weight: 700; font-size: 0.8rem; padding: 0.45rem 1.25rem; border-radius: 100px;
  margin-bottom: 2rem; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.25);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 900;
  line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.03em;
}
.hero-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem); opacity: 0.9;
  max-width: 680px; margin: 0 auto 2.5rem; line-height: 1.65;
}
.hero-meta { display: flex; justify-content: center; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.hero-meta-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; opacity: 0.85; font-weight: 500; }
.hero-meta-item svg { width: 18px; height: 18px; opacity: 0.8; }
.hero-meta-item strong { color: var(--amber-400); font-weight: 700; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.95rem 2rem;
  border-radius: 12px; font-weight: 700; font-size: 1rem; text-decoration: none;
  border: none; cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.btn-white { background: #fff; color: var(--teal-700); }
.btn-white:hover { background: var(--teal-50); transform: translateY(-1px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.12); }
.btn-teal { background: var(--teal-600); color: #fff; }
.btn-teal:hover { background: var(--teal-700); transform: translateY(-1px); box-shadow: 0 8px 25px rgba(13,148,136,0.35); }

/* SECTIONS */
.section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.4rem); font-weight: 800; text-align: center; margin-bottom: 0.85rem; letter-spacing: -0.02em; color: var(--gray-900); }
.section-subtitle { text-align: center; color: var(--gray-500); font-size: 1.05rem; max-width: 660px; margin: 0 auto 3rem; line-height: 1.65; }
.section-tag { text-align: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 0.75rem; }
.bg-gray { background: var(--gray-50); }
.bg-dark { background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-800) 100%); color: #fff; }

/* PROBLEM */
.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; margin-bottom: 3.5rem; }
@media (max-width: 768px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card { background: #fff; border-radius: 16px; padding: 2rem; border: 1px solid var(--gray-200); border-left: 4px solid var(--red-500); }
.problem-icon { width: 48px; height: 48px; background: #fee2e2; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.problem-icon svg { width: 24px; height: 24px; color: var(--red-500); }
.problem-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.6rem; }
.problem-card p { color: var(--gray-600); font-size: 0.9rem; line-height: 1.6; }
.problem-solution { background: var(--teal-600); border-radius: 16px; padding: 2rem 2.5rem; color: #fff; text-align: center; max-width: 800px; margin: 0 auto; }
.problem-solution h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.75rem; }
.problem-solution p { opacity: 0.9; font-size: 1rem; line-height: 1.6; }

/* ZIELGRUPPE */
.ziel-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; }
@media (max-width: 768px) { .ziel-grid { grid-template-columns: 1fr; } }
.ziel-card { background: #fff; border-radius: 16px; padding: 2rem; text-align: center; border: 1px solid var(--gray-200); transition: transform 0.2s, box-shadow 0.2s; }
.ziel-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.07); }
.ziel-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--teal-100); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.ziel-icon svg { width: 32px; height: 32px; color: var(--teal-600); }
.ziel-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.6rem; }
.ziel-card p { color: var(--gray-500); font-size: 0.9rem; line-height: 1.6; }

/* TABS */
.tabs-nav {
  display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem;
  padding: 0.4rem; background: var(--gray-100); border-radius: 14px; width: fit-content; margin-left: auto; margin-right: auto;
}
.tab-btn { font-family: inherit; cursor: pointer; border: none; background: transparent; color: var(--gray-600); font-weight: 600; font-size: 0.875rem; padding: 0.6rem 1.35rem; border-radius: 10px; transition: all 0.2s; white-space: nowrap; }
.tab-btn:hover { background: #fff; color: var(--teal-700); }
.tab-btn.active { background: var(--teal-600); color: #fff; box-shadow: 0 4px 12px rgba(13,148,136,0.3); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 768px) { .tab-panel.active { grid-template-columns: 1fr; } }
.tab-visual img { width: 100%; border-radius: 16px; object-fit: cover; max-height: 380px; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.tab-visual-placeholder { width: 100%; border-radius: 16px; background: var(--teal-100); min-height: 320px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1rem; }
.tab-visual-placeholder svg { width: 64px; height: 64px; color: var(--teal-400); }
.tab-visual-placeholder p { color: var(--teal-600); font-weight: 600; font-size: 0.9rem; }
.tab-content-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal-600); margin-bottom: 0.75rem; }
.tab-content h3 { font-size: 1.6rem; font-weight: 800; color: var(--gray-900); margin-bottom: 1rem; letter-spacing: -0.01em; }
.tab-content p { color: var(--gray-600); font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; }
.tab-lernziele { list-style: none; margin-bottom: 1.75rem; }
.tab-lernziele li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.55rem 0; border-bottom: 1px solid var(--gray-100); font-size: 0.95rem; color: var(--gray-700); }
.tab-lernziele li:last-child { border-bottom: none; }
.tab-lernziele li::before {
  content: ''; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230d9488'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/12px no-repeat;
}
.tab-themen { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tab-thema-tag { background: var(--teal-50); color: var(--teal-700); font-size: 0.8rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 6px; border: 1px solid var(--teal-200); }

/* ABLAUF */
.ablauf-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; position: relative; }
@media (max-width: 768px) { .ablauf-grid { grid-template-columns: 1fr; } }
.ablauf-card { background: #fff; border-radius: 18px; padding: 2rem; text-align: center; border: 1px solid var(--gray-200); position: relative; z-index: 1; }
.ablauf-num { width: 56px; height: 56px; border-radius: 50%; background: var(--teal-600); color: #fff; font-weight: 800; font-size: 1.35rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; box-shadow: 0 4px 14px rgba(13,148,136,0.35); }
.ablauf-phase { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal-600); margin-bottom: 0.5rem; }
.ablauf-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.75rem; }
.ablauf-card p { color: var(--gray-500); font-size: 0.9rem; line-height: 1.6; }
.ablauf-list { list-style: none; text-align: left; margin-top: 1rem; }
.ablauf-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; color: var(--gray-600); margin-bottom: 0.5rem; }
.ablauf-list li::before { content: '→'; color: var(--teal-500); font-weight: 700; flex-shrink: 0; }

/* LEISTUNGEN */
.leist-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
@media (max-width: 768px) { .leist-grid { grid-template-columns: 1fr; } }
.leist-card { background: rgba(255,255,255,0.12); border-radius: 14px; padding: 1.75rem; border: 1px solid rgba(255,255,255,0.2); }
.leist-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.leist-icon svg { width: 22px; height: 22px; color: var(--amber-400); }
.leist-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; color: #fff; }
.leist-card p { font-size: 0.875rem; color: rgba(255,255,255,0.75); line-height: 1.55; }

/* TRUST / STATS */
.stats-row { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; margin-bottom: 4rem; }
.stat-item { text-align: center; }
.stat-value { font-size: 2.5rem; font-weight: 900; color: var(--teal-600); line-height: 1; margin-bottom: 0.4rem; }
.stat-label { font-size: 0.875rem; color: var(--gray-500); font-weight: 500; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testi-card { background: #fff; border-radius: 16px; padding: 2rem; border: 1px solid var(--gray-200); }
.testi-quote { font-size: 2.5rem; line-height: 1; color: var(--teal-200); font-weight: 900; margin-bottom: 0.75rem; }
.testi-text { font-size: 0.95rem; color: var(--gray-700); line-height: 1.65; margin-bottom: 1.25rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--teal-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testi-avatar svg { width: 22px; height: 22px; color: var(--teal-500); }
.testi-name { font-weight: 700; font-size: 0.875rem; color: var(--gray-900); }
.testi-role { font-size: 0.8rem; color: var(--gray-500); }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 1.35rem 0; cursor: pointer; gap: 1rem; font-weight: 600; font-size: 1rem; color: var(--gray-900); transition: color 0.2s; background: none; border: none; text-align: left; width: 100%; font-family: inherit; }
.faq-question:hover { color: var(--teal-600); }
.faq-question.open { color: var(--teal-700); }
.faq-icon { width: 24px; height: 24px; flex-shrink: 0; transition: transform 0.3s; color: var(--teal-500); }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; font-size: 0.95rem; color: var(--gray-600); line-height: 1.7; }
.faq-answer.open { max-height: 500px; padding-bottom: 1.25rem; }
.faq-answer p + p { margin-top: 0.75rem; }

/* KONTAKT */
.contact-card { max-width: 720px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 3rem; box-shadow: 0 8px 40px rgba(0,0,0,0.08); border: 1px solid var(--gray-200); }
.contact-card h3 { font-size: 1.5rem; font-weight: 800; color: var(--gray-900); margin-bottom: 0.5rem; text-align: center; }
.contact-sub { text-align: center; color: var(--gray-500); margin-bottom: 2rem; font-size: 0.95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--gray-700); margin-bottom: 0.45rem; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--gray-300); border-radius: 10px; font-size: 0.95rem; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; background: #fff; color: var(--gray-800); }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(13,148,136,0.15); }
.form-textarea { resize: vertical; min-height: 110px; }
.segmente-checks { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.4rem; }
.segmente-checks label { display: flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; color: var(--gray-700); cursor: pointer; }
.segmente-checks input { accent-color: var(--teal-600); }
.form-checkbox { display: flex; align-items: flex-start; gap: 0.75rem; margin: 1.25rem 0; }
.form-checkbox input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--teal-600); flex-shrink: 0; }
.form-checkbox label { font-size: 0.8rem; color: var(--gray-500); line-height: 1.5; }
.form-checkbox a { color: var(--teal-600); text-decoration: none; }
.form-checkbox a:hover { text-decoration: underline; }
.form-submit { width: 100%; padding: 1rem; border: none; border-radius: 12px; background: var(--teal-600); color: #fff; font-size: 1rem; font-weight: 700; font-family: inherit; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.form-submit:hover { background: var(--teal-700); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-success { text-align: center; padding: 2rem 0; display: none; }
.form-success svg { width: 64px; height: 64px; color: var(--green-500); margin-bottom: 1rem; }
.form-success h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--gray-900); }
.form-success p { color: var(--gray-500); font-size: 0.95rem; }

/* FOOTER */
.footer { background: var(--gray-900); color: var(--gray-400); padding: 3rem 1.5rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand-name { font-weight: 800; font-size: 1.15rem; color: #fff; margin-bottom: 0.75rem; }
.footer-brand-name span { color: var(--teal-400); }
.footer p { font-size: 0.875rem; line-height: 1.65; }
.footer h5 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-300); margin-bottom: 1rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a { color: var(--gray-400); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--teal-400); }
.footer-bottom { border-top: 1px solid var(--gray-800); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.8rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--gray-400); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal-400); }

/* UTILITIES */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .section { padding: 3.5rem 1.25rem; }
  .hero { padding: 6.5rem 1.25rem 4rem; }
}
