/* style.css - Marcel Winkler Design (Final Footer Fix) */

/* --- GRUNDEINSTELLUNGEN & VARIABLEN --- */
:root {
  --primary-color: #0f2c4a;
  --accent-color: #4da6ff;
  --accent-gradient: linear-gradient(135deg, #4da6ff 0%, #0078d4 100%);
  --text-color: #2c3e50;
  --light-bg: #f8fafd;
  --white: #ffffff;
  --section-spacing: 80px;
}

html { scroll-behavior: smooth; }

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; width: 100%; }

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

h1 { font-size: 3rem; line-height: 1.1; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent-gradient);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 20px -10px rgba(77, 166, 255, 0.5);
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -10px rgba(77, 166, 255, 0.7);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: none;
}
.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Hintergrund Grafiken */
.section-graphic-bg { position: relative; }
.section-graphic-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 2px 2px, var(--primary-color) 1px, transparent 0);
  background-size: 30px 30px;
  z-index: 1;
  pointer-events: none;
}

/* --- NAVIGATION (Desktop) --- */
nav {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 100px;
  display: flex;
  align-items: center;
  width: 100%;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 85px;
  width: auto;
  transition: transform 0.3s;
}
.logo img:hover { transform: scale(1.02); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  position: relative;
}
.nav-links a.active { color: var(--accent-color); }
.nav-links a:hover { color: var(--accent-color); }

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px;
  transition: all 0.3s ease;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(to right, var(--light-bg), var(--white));
  padding: var(--section-spacing) 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text { flex: 1; min-width: 300px; }

.hero-text .subline {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 40px;
  font-weight: 400;
  border-left: 4px solid var(--accent-color);
  padding-left: 20px;
}

.hero-img {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-img::before {
  content: '';
  position: absolute;
  width: 110%;
  height: 90%;
  background: var(--accent-gradient);
  top: 20%;
  left: -10%;
  z-index: -1;
  border-radius: 20px;
  transform: skewY(-5deg);
  opacity: 0.2;
}

.hero-img img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  max-height: 500px;
  object-fit: cover;
  z-index: 2;
}

/* --- INTRO & SELECTION --- */
.intro {
  text-align: center;
  padding: var(--section-spacing) 0;
  background: var(--white);
}

.intro h2 { position: relative; display: inline-block; }
.intro h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  margin: 20px auto 0;
  border-radius: 2px;
}

.intro p {
  max-width: 800px;
  margin: 30px auto 0;
  font-size: 1.2rem;
}

.selection-grid {
  display: flex;
  gap: 30px;
  margin-top: 50px;
  justify-content: center;
  flex-wrap: wrap;
}

.selection-card {
  background: var(--light-bg);
  padding: 40px;
  border-radius: 15px;
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
  cursor: pointer;
}

.selection-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-color: var(--accent-color);
}

.selection-card h3 { font-size: 1.4rem; }

/* --- COACHING CARDS --- */
.coaching { padding: var(--section-spacing) 0; background: var(--light-bg); }
.section-title { text-align: center; margin-bottom: 60px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.05);
  height: 100%;
  position: relative;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: var(--accent-color);
}

.price-card.featured {
  background: var(--white);
  box-shadow: 0 20px 50px rgba(77, 166, 255, 0.2);
  transform: scale(1.05);
  z-index: 10;
  border: none;
}

.price-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--accent-gradient);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.price-card h3 { font-size: 1.4rem; margin-bottom: 15px; }
.card-desc { font-size: 1rem; color: #555; margin-bottom: 25px; min-height: 60px; }

.price-features {
  list-style: none;
  padding: 0;
  margin-bottom: 35px;
  text-align: left;
}

.price-features li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: flex-start;
}

.price-features li svg {
  width: 20px;
  height: 20px;
  margin-right: 15px;
  flex-shrink: 0;
  fill: var(--accent-color);
  margin-top: 3px;
}

/* --- B2B / TRAINING --- */
.training { padding: var(--section-spacing) 0; background: var(--white); }

.training-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.training-intro { flex: 1; }
.training-intro h3 { font-size: 1.8rem; margin-bottom: 20px; }
.training-intro p { font-size: 1.1rem; margin-bottom: 30px; }

.b2b-list { list-style: none; padding: 0; margin-bottom: 30px; }
.b2b-list li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  font-weight: 600;
  color: var(--primary-color);
}
.b2b-list li::before {
  content: '•';
  color: var(--accent-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.training-grid {
  flex: 1.5;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.training-item {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 15px;
  transition: transform 0.3s;
  border: 1px solid transparent;
}

.training-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  background: var(--white);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.training-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.training-icon svg { width: 26px; height: 26px; fill: var(--white); }
.training-item h4 { margin-bottom: 10px; font-size: 1.1rem; }
.training-item p { font-size: 0.95rem; margin: 0; }

/* --- Szenarien / Prozess / Testimonials --- */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.scenario-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-left: 5px solid var(--accent-color);
}

.scenario-card h4 { font-size: 1.2rem; margin-bottom: 15px; color: var(--primary-color); }
.scenario-card strong { color: var(--text-color); display: block; margin-top: 15px; margin-bottom: 5px; }

.process-step {
  background: var(--light-bg);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-weight: 600;
  text-align: center;
}

.process-arrow {
  text-align: center;
  font-size: 1.5rem;
  color: var(--accent-color);
  margin: 15px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--light-bg);
  padding: 40px;
  border-radius: 20px 20px 20px 0;
  position: relative;
  font-style: italic;
  color: #444;
}

.testimonial-card::before {
  content: '“';
  font-size: 5rem;
  color: var(--accent-color);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: serif;
  line-height: 1;
}

.testimonial-author {
  margin-top: 20px;
  font-weight: bold;
  font-style: normal;
  color: var(--primary-color);
  text-align: right;
  display: block;
}

/* --- FEEDBACK FORMULAR --- */
.feedback-form {
  background: var(--light-bg);
  padding: 40px;
  border-radius: 15px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid #eee;
}
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-color);
  font-family: 'Montserrat', sans-serif;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent-color);
  outline: none;
}
.form-group textarea {
  height: 150px;
  resize: vertical;
}

/* --- ÜBER MICH --- */
.about { padding: var(--section-spacing) 0; background: var(--light-bg); }
.about-content { max-width: 900px; margin: 0 auto; }
.about-block { margin-bottom: 40px; padding-left: 30px; border-left: 3px solid var(--accent-color); }
.about-block h3 { color: var(--primary-color); margin-bottom: 15px; }
.nlp-highlight { color: var(--accent-color); font-weight: 700; }

.about-split {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-top: 40px;
}

.about-img-container { flex: 1; min-width: 300px; }
.about-img-container img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  width: 100%;
  height: auto;
  object-fit: cover;
}
.about-content { flex: 1.5; }

/* --- FOOTER (FIXED) --- */
footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  margin-top: auto;
  width: 100%;
}
footer h3 { color: var(--white); margin-bottom: 10px; }
footer p { opacity: 0.8; font-size: 0.95rem; margin: 5px 0; }
footer a:hover { color: var(--accent-color); text-decoration: underline; }

/* HIER IST DIE MAGISCHE ZEILE FÜR DEN FOOTER-FIX */
footer img, .footer-logo {
    max-width: 250px; /* Niemals breiter als 250px */
    height: auto;     /* Höhe passt sich an */
    display: inline-block;
    margin-bottom: 20px;
}

/* ======================================================================
   MOBILE OPTIMIERUNG
   ====================================================================== */
@media (max-width: 992px) {

  :root { --section-spacing: 50px; }

  /* NAV */
  nav { height: auto; padding: 10px 0; }
  .logo img { height: 70px; }
  .burger { display: block; z-index: 1100; position: relative; }

  /* Mobile-Menü */
  .nav-links {
    position: fixed;
    right: 0; top: 0; height: 100vh; width: 100%;
    background-color: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1050;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    gap: 0;
  }
  .nav-links li { opacity: 1; }
  .nav-links a { font-size: 1.4rem; margin: 14px 0; display: block; }
  .nav-active { transform: translateX(0%); }
  .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
  .toggle .line2 { opacity: 0; }
  .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }

  /* HERO */
  .hero { padding-top: 30px; padding-bottom: 50px; text-align: center; }
  .hero-content { flex-direction: column; gap: 30px; }
  .hero-img { order: -1; width: 100%; margin-bottom: 10px; }
  .hero-img img { max-height: 300px; width: 100%; object-fit: cover; margin: 0 auto; }
  .hero-text h1 { font-size: 2.2rem; line-height: 1.2; }
  .hero-text .subline { font-size: 1rem; border-left: none; padding-left: 0; margin-bottom: 30px; }
  .hero-text div { display: flex; flex-direction: column; gap: 15px; width: 100%; }
  .hero-text .btn, .hero-text .btn-secondary { width: 100%; }

  /* Layouts */
  .selection-grid { flex-direction: column; }
  .selection-card { width: 100%; max-width: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { padding: 35px 25px; }
  .price-card.featured { transform: none; }
  .scenario-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 30px; }

  /* ABOUT */
  .about-split { flex-direction: column; gap: 30px; }
  .about-img-container { width: 100%; min-width: auto; margin-bottom: 20px; }
  .about-img-container img { max-height: 400px; margin: 0 auto; }

  /* UNTERNEHMEN-FIX */
  .training-content { display: block; }
  .training-grid { grid-template-columns: 1fr; gap: 20px; }
  .training-item { padding: 25px; }
  .process-step { padding: 18px; margin-bottom: 12px; }
  .process-arrow { font-size: 1.8rem; margin: 10px auto; display: block; width: 100%; text-align: center; }
  
  .training .container > div[style*="display: flex"] { display: block !important; }
  .training .container > div[style*="gap: 60px"] { gap: 0 !important; }
  .training a.btn { width: 100%; box-sizing: border-box; }
}