/* =========================================
   ABOUT.CSS - BENTO GRID & CLEAN LOOK
   ========================================= */

/* --- HERO SECTION --- */
.small-hero {
  min-height: 40vh;
  display: flex; align-items: center; justify-content: center;
  padding-top: 140px; padding-bottom: 60px;
  text-align: center; position: relative; z-index: 1;
}
.small-hero h1 {
  font-size: 3.8rem; font-family: 'Rajdhani', sans-serif; font-weight: 800;
  margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px;
  transform: none !important; 
}

/* --- BENTO GRID LAYOUT --- */
.bento-wrapper {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(200px, auto); gap: 25px;
  width: 90%; max-width: 1400px; margin: 0 auto 100px auto;
}
.bento-box {
  background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 20px;
  padding: 35px; display: flex; flex-direction: column; justify-content: center;
  transition: transform 0.4s ease, border-color 0.4s ease; overflow: hidden; position: relative;
}
.bento-box:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: 0 10px 40px rgba(0,0,0,0.2); }

/* GRID PLATZIERUNG */
.box-vision { grid-column: span 8; grid-row: span 2; }
.box-stat-1 { grid-column: span 4; }
.box-stat-2 { grid-column: span 4; }
.box-team { grid-column: span 12; padding: 30px; background: rgba(20, 20, 30, 0.3); }
.box-tech { grid-column: span 12; display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.box-timeline { grid-column: span 5; grid-row: span 2; }
.box-gallery { grid-column: span 7; grid-row: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.box-faq { grid-column: span 8; }
.box-partners { grid-column: span 4; text-align: center; }

/* INHALT */
.bento-title { font-family: 'Rajdhani', sans-serif; font-size: 1.8rem; margin-bottom: 15px; color: #fff; font-weight: 700; }
.bento-text { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }
.stat-number { font-size: 3.5rem; color: var(--primary); font-family: 'Rajdhani', sans-serif; font-weight: 800; line-height: 1; }
.stat-label { color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; }

/* TEAM SECTION */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 15px; width: 100%; }
.member-card {
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px; padding: 15px; text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: hidden;
}
.member-card:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-3px); border-color: var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.member-img-wrapper { width: 70px; height: 70px; margin: 0 auto 10px auto; position: relative; }
.member-img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: contain;
  border: 2px solid rgba(255,255,255,0.1); transition: 0.4s ease;
  filter: none !important; -webkit-filter: none !important; mix-blend-mode: normal !important; background: transparent !important; opacity: 1 !important;
}
.member-card:hover .member-img { border-color: var(--primary); transform: scale(1.1) rotate(5deg); box-shadow: 0 0 20px rgba(124, 58, 237, 0.4); }
.member-info h4 { color: #fff; font-size: 1rem; margin-bottom: 2px; font-family: 'Rajdhani', sans-serif; font-weight: 700; }
.member-role { font-size: 0.7rem; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; display: block; margin-bottom: 8px; }
.member-bio { font-size: 0.75rem; color: var(--text-muted); line-height: 1.3; opacity: 1; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.1); display: block; }

/* HISTORY */
.timeline-wrapper { position: relative; padding-left: 25px; margin-top: 30px; display: flex; flex-direction: column; gap: 40px; }
.timeline-line { position: absolute; left: 6px; top: 10px; bottom: 10px; width: 3px; background: rgba(255, 255, 255, 0.05); border-radius: 3px; }
.timeline-progress { position: absolute; left: 6px; top: 10px; width: 3px; height: 0; background: var(--primary); box-shadow: 0 0 15px var(--primary); border-radius: 3px; animation: fillLine 2.5s ease-out forwards; }
@keyframes fillLine { to { height: 85%; } }
.tl-item { position: relative; padding-left: 20px; opacity: 0; animation: fadeInRight 0.6s ease forwards; }
.tl-item:nth-child(1) { animation-delay: 0.3s; }
.tl-item:nth-child(2) { animation-delay: 0.8s; }
.tl-item:nth-child(3) { animation-delay: 1.3s; }
.tl-item:nth-child(4) { animation-delay: 1.8s; }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(-15px); } to { opacity: 1; transform: translateX(0); } }
.tl-dot { position: absolute; left: -26px; top: 2px; width: 15px; height: 15px; background: var(--bg-dark); border: 2px solid var(--text-muted); border-radius: 50%; z-index: 2; transition: 0.3s; }
.tl-item:hover .tl-dot, .tl-item.active .tl-dot { border-color: var(--primary); background: var(--primary); box-shadow: 0 0 15px var(--primary); transform: scale(1.2); }
.tl-date { font-size: 0.85rem; font-weight: 700; color: var(--primary); margin-bottom: 5px; display: block; font-family: 'Rajdhani', sans-serif; letter-spacing: 1px; }
.tl-content h4 { font-size: 1.15rem; color: #fff; margin-bottom: 5px; font-weight: 700; }
.tl-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; }
.gal-img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; opacity: 0.7; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1); }
.gal-img:hover { opacity: 1; transform: scale(1.02); border-color: var(--primary); }

/* --- MOBILE RESPONSIVE OPTIMIERUNG --- */
@media (max-width: 1024px) {
  /* Grid auflösen -> Alles untereinander */
  .bento-wrapper { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 20px; }
  .bento-box { grid-column: span 1 !important; grid-row: span 1 !important; padding: 25px; }
  
  .small-hero h1 { font-size: 2.2rem; }
  .box-gallery { grid-template-columns: 1fr; }
  
  /* FIX: Formular inputs bedienbar machen */
  .contact-input, .contact-select, .contact-textarea {
    font-size: 16px; /* Verhindert iOS Zoom */
    padding: 12px;
  }
  
  /* Inputs im Grid untereinander statt nebeneinander */
  .contact-form-container div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Support Optionen untereinander */
  .support-split-container {
      flex-direction: column;
  }
}