/* ==========================================================================
   Zukunftsprojekte & Masterplan (pages/projekte.php) Styles
   SV Fortuna Schneidlingen 1919 e.V.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Projects Page Hero & Facts Bar
   -------------------------------------------------------------------------- */
.projects-page-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
  padding: 7.5rem 1.5rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.projects-page-hero h1 {
  font-family: 'Bangers', cursive;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
  text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.projects-page-hero p {
  font-size: 1.15rem;
  max-width: 780px;
  margin: 0 auto 1.8rem;
  opacity: 0.92;
  line-height: 1.6;
}

.project-facts-bar {
  background: var(--theme-bg-surface, #ffffff);
  border-radius: 20px;
  box-shadow: var(--theme-card-shadow, 0 12px 35px rgba(61, 47, 134, 0.1));
  padding: 1.8rem 2.5rem;
  margin: -40px auto 3.5rem;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  border: 1px solid var(--theme-border-card, rgba(61, 47, 134, 0.08));
}

.fact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.fact-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--theme-icon-box-bg, rgba(61, 47, 134, 0.08));
  color: var(--theme-icon-box-color, var(--primary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.fact-item strong {
  display: block;
  font-size: 1.35rem;
  color: var(--theme-text-heading, var(--primary-color));
  font-family: 'Bangers', cursive;
  letter-spacing: 0.5px;
}

.fact-item span {
  font-size: 0.85rem;
  color: var(--theme-text-muted, #64748b);
  font-weight: 500;
}

.ui-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--theme-badge-bg, rgba(61, 47, 134, 0.08));
  color: var(--theme-badge-text, var(--primary-color));
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

.project-section-title {
  font-family: 'Bangers', cursive;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 1.5px;
  color: var(--primary-color);
  margin-bottom: 0.6rem;
}

.section-intro-text {
  color: var(--theme-text-muted, #64748b);
  font-size: 1.05rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   2. Ausgangslage & Masterplan (Showcase Box)
   -------------------------------------------------------------------------- */
.masterplan-showcase-box {
  background: var(--theme-bg-surface, #ffffff);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: var(--theme-card-shadow);
  border: 1px solid var(--theme-border-card, #e2e8f0);
  margin-bottom: 5rem;
}

.masterplan-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.masterplan-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

.status-card {
  background: var(--theme-bg-surface-subtle, #f8fafc);
  border: 1px solid var(--theme-border-card, #e2e8f0);
  border-radius: 18px;
  padding: 1.5rem 1.6rem;
}

.status-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.status-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.status-icon-warning {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.status-icon-success {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.status-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--theme-text-main, #0f172a);
  margin-bottom: 2px;
}

.status-tag {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #dc2626;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-tag-success {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  color: var(--theme-text-muted, #64748b);
}

.status-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  line-height: 1.45;
}

.status-list li i {
  margin-top: 3px;
  flex-shrink: 0;
}

.masterplan-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--theme-border-card, #e2e8f0);
  height: 100%;
  min-height: 380px;
  background: #0f172a;
}

.masterplan-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.masterplan-img-wrap:hover img {
  transform: scale(1.03);
}

.masterplan-img-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  text-align: center;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   3. Die 4 Bausteine der Basis-Infrastruktur (#bausteine)
   -------------------------------------------------------------------------- */
.project-bausteine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.baustein-card {
  background: var(--theme-bg-surface, #ffffff);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--theme-card-shadow);
  border: 1px solid var(--theme-border-card, #e2e8f0);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.baustein-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(61, 47, 134, 0.12);
}

.baustein-img-box {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #0f172a;
}

.baustein-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.baustein-card:hover .baustein-img-box img {
  transform: scale(1.06);
}

.baustein-number-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-color);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

.baustein-content {
  padding: 1.8rem 1.6rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.baustein-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--theme-text-main, #0f172a);
  margin-bottom: 0.6rem;
}

.baustein-content p {
  color: var(--theme-text-muted, #64748b);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

.baustein-bullets {
  list-style: none;
  margin: auto 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--theme-text-main, #0f172a);
  border-top: 1px solid var(--theme-border-divider, #e2e8f0);
  padding-top: 1rem;
}

.baustein-bullets li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.baustein-bullets li i {
  color: var(--primary-color);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   4. Leuchtturm-Zukunftsprojekt: Neues Vereinsheim
   -------------------------------------------------------------------------- */
.clubhouse-showcase-box {
  background: var(--theme-bg-surface, #ffffff);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: var(--theme-card-shadow);
  border: 1px solid var(--theme-border-card, #e2e8f0);
  margin-bottom: 5rem;
}

.hecklingen-partner-box {
  background: var(--theme-bg-surface-subtle, #f8fafc);
  border: 1px solid var(--theme-border-card, #e2e8f0);
  border-left: 5px solid var(--primary-color);
  border-radius: 16px;
  padding: 1.3rem 1.8rem;
  margin: 1.5rem auto 2.5rem;
  max-width: 900px;
  text-align: left;
  box-shadow: var(--theme-card-shadow);
}

.hecklingen-header-wrap {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.hecklingen-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--theme-icon-box-bg);
  color: var(--theme-icon-box-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.hecklingen-content {
  flex: 1;
  min-width: 260px;
}

.hecklingen-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.hecklingen-title {
  margin: 0;
  color: var(--theme-text-main, #0f172a);
  font-size: 1.05rem;
  font-weight: 800;
}

.hecklingen-badge {
  background: var(--primary-color);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
}

.hecklingen-text {
  margin: 0;
  color: var(--theme-text-muted, #64748b);
  font-size: 0.92rem;
  line-height: 1.55;
}

.clubhouse-centerpiece-wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.clubhouse-features-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.clubhouse-feature-item {
  background: var(--theme-bg-surface-subtle, #f8fafc);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--theme-border-card, #e2e8f0);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.clubhouse-feature-item i {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-top: 2px;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--theme-icon-box-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.clubhouse-feature-item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--theme-text-main, #0f172a);
  margin-bottom: 0.3rem;
}

.clubhouse-feature-item span {
  font-size: 0.88rem;
  color: var(--theme-text-muted, #64748b);
  line-height: 1.5;
}

.clubhouse-img-center {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--theme-border-card, #e2e8f0);
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.clubhouse-img-center img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.clubhouse-img-center:hover img {
  transform: scale(1.02);
}

.clubhouse-badge-vision {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #fbbf24;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.project-donation-note {
  font-size: 0.86rem;
  color: var(--theme-text-muted, #64748b);
  margin-top: 0.6rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   5. Wie Sie das Projekt unterstützen können (.project-help-grid)
   -------------------------------------------------------------------------- */
.project-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.help-option-card {
  background: var(--theme-bg-surface, #ffffff);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  box-shadow: var(--theme-card-shadow);
  border: 1px solid var(--theme-border-card, #e2e8f0);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.help-option-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(61, 47, 134, 0.12);
}

.help-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--theme-icon-box-bg);
  color: var(--theme-icon-box-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}

.help-option-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--theme-text-main, #0f172a);
  margin-bottom: 0.6rem;
}

.help-option-card p {
  font-size: 0.92rem;
  color: var(--theme-text-muted, #64748b);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.btn-help-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--theme-bg-surface-subtle, #f8fafc);
  color: var(--primary-color) !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  border: 1px solid var(--theme-border-card, #cbd5e1);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-help-action:hover {
  background: var(--primary-color);
  color: #ffffff !important;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(61, 47, 134, 0.25);
}

/* --------------------------------------------------------------------------
   6. Spendenkonto & Bankverbindung
   -------------------------------------------------------------------------- */
.support-hub-section {
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.donation-card {
  background: var(--theme-bg-surface, #ffffff);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: var(--theme-card-shadow);
  border: 1px solid var(--theme-border-card, #e2e8f0);
}

.donation-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

.support-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(61, 47, 134, 0.08);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

.bank-details-box {
  background: var(--theme-bg-surface-subtle, #f8fafc);
  border: 1px solid var(--theme-border-card, #e2e8f0);
  border-radius: 16px;
  padding: 1.5rem;
}

.bank-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--theme-border-divider, #e2e8f0);
  font-size: 0.95rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bank-detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--theme-text-muted, #64748b);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  color: var(--theme-text-main, #0f172a);
  font-weight: 700;
}

.detail-copy-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.iban-code {
  font-family: monospace;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary-color);
  background: #eef2ff;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #c7d2fe;
}

.purpose-code {
  font-weight: 600;
  color: var(--theme-text-main, #0f172a);
  font-size: 0.9rem;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

.btn-copy.copied {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}

.qr-code-box {
  background: linear-gradient(145deg, #f8fafc 0%, #eef2ff 100%);
  border: 1px solid #c7d2fe;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-image-wrapper {
  position: relative;
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
}

.qr-image {
  width: 170px;
  height: 170px;
  display: block;
}

.qr-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.qr-instruction {
  font-size: 0.92rem;
  color: #1e293b;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.qr-hint {
  font-size: 0.78rem;
  color: #64748b;
}

.donation-footer-divider {
  border-top: 1px solid var(--theme-border-divider, #e2e8f0);
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

.btn-contact-action {
  font-size: 0.88rem;
  padding: 0.65rem 1.2rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gap-2 {
  gap: 1rem;
}

.wrap {
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   7. Responsive Breakpoints für Projekte
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .masterplan-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .masterplan-img-wrap {
    order: -1; /* Auf Mobilgeräten Foto oben anzeigen */
    min-height: 240px;
    max-height: 320px;
  }
  .masterplan-showcase-box,
  .clubhouse-showcase-box,
  .donation-card {
    padding: 2rem 1.25rem;
    border-radius: 18px;
  }
  .donation-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .project-facts-bar {
    padding: 1.25rem 1rem;
    margin: -25px auto 2.5rem;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 0.85rem;
    border-radius: 16px;
  }
  .fact-item {
    gap: 0.65rem;
  }
  .fact-icon {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
    border-radius: 10px;
  }
  .fact-item strong {
    font-size: 1.1rem;
  }
  .fact-item span {
    font-size: 0.75rem;
  }
  .project-bausteine-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .baustein-img-box {
    height: 200px;
  }
  .clubhouse-features-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hecklingen-header-wrap {
    flex-direction: column;
    gap: 0.8rem;
  }
  .project-help-grid {
    grid-template-columns: 1fr;
  }
  .bank-detail-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-copy-wrap {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .project-facts-bar {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1rem;
  }
}
