/* php-version/assets/css/style.css */

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

html,
body {
  margin: 0;
  padding: 0;
}

body.page-body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617);
  color: #e5e7eb;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-light {
  background: #ffffff;
  color: #0f172a;
}

.section-light-alt {
  background: #f8fafc;
  color: #0f172a;
}

.section-location {
  background: #e3f3eb; /* deutlich grünlichere, aber sehr helle Brand-Tönung */
  color: #0f172a;
  border-top: 1px solid #d1e5d9;
}

.section-dark {
  background: #020617;
  color: #e5e7eb;
}

.site-header {
  height: 0;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.9);
  color: #cbd5f5;
  padding: 1.75rem 0;
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  height: 1.75rem;
  width: auto;
  opacity: 0.85;
}

.footer-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0;
}

.footer-meta {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer-nav a {
  color: #cbd5f5;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #e2e8f0;
}

.footer-link-muted {
  color: #64748b;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header-center {
  text-align: center;
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  color: #22c55e;
}

.section-eyebrow-dark {
  color: #a5b4fc;
}

.section-title {
  margin: 0.6rem 0 0;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.section-title-dark {
  color: #f9fafb;
}

.section-subtitle {
  margin-top: 1rem;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #1f2933;
}

.section-subtitle-dark {
  color: #cbd5f5;
}

.mid-inline-cta {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 75vh;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease-out;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.55)
  );
}

.hero-overlay-green {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(52, 211, 153, 0.22), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(15, 23, 42, 0.7), transparent 65%);
  pointer-events: none;
}

.hero-overlay-left {
  position: absolute;
  inset: 0;
  width: 50%;
  right: auto;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.4),
    transparent
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.hero-content {
  max-width: 38rem;
}

.hero-logo-wrapper {
  position: relative;
  margin-bottom: 4rem;
}

.hero-logo-backdrop {
  position: absolute;
  inset: -3rem -6rem;
  transform: translateY(-0.75rem);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.28), transparent 65%),
    radial-gradient(circle at 0% 0%, rgba(15, 23, 42, 0.9), transparent 55%);
  filter: blur(48px);
  opacity: 0.95;
  pointer-events: none;
}

.hero-logo-inner {
  position: relative;
  width: 100%;
  max-width: 820px;
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(1.1)
    drop-shadow(0 0 20px rgba(255, 255, 255, 0.65))
    drop-shadow(0 0 42px rgba(255, 255, 255, 0.3))
    drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55));
}

.hero-badge-wrapper {
  position: absolute;
  right: 1.5rem;
  top: 2.5rem;
  z-index: 2;
  pointer-events: none;
}

.hero-badge {
  pointer-events: auto;
  display: inline-flex;
  flex-direction: column;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.96);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: #020617;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.4);
  transform: rotate(-6deg);
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.hero-badge span + span {
  margin-top: 0.35rem;
}

.hero-badge:hover {
  transform: translateY(-2px) rotate(1deg);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.45);
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #e5e7eb;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  max-width: 24rem;
  margin: 0;
  padding: 0;
}

.hero-fact {
  border-left: 2px solid rgba(34, 197, 94, 0.7);
  padding-left: 1rem;
}

.hero-fact dt {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #cbd5f5;
  margin-bottom: 0.35rem;
}

.hero-fact dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #f9fafb;
}

.hero-cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-footnote {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #cbd5f5;
}

.hero-footnote-sep {
  display: none;
}

.hero-dots {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.hero-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  border: none;
  background: rgba(248, 250, 252, 0.4);
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.hero-dot.is-active {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(22, 163, 74, 0.4);
}

.btn-primary:hover {
  background: #22c55e;
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.btn-secondary:hover {
  border-color: #22c55e;
  color: #bbf7d0;
}

.section-stats {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.stats-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem 1rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  text-align: center;
}

.stat-number {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 600;
  color: #020617;
}

.stat-label {
  margin-top: 0.6rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #64748b;
}

.grid-2col {
  display: grid;
  gap: 2.5rem;
}

.text-block p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.subheading {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #64748b;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.bullet-list li::before {
  content: "• ";
}

.mid-image-section {
  position: relative;
  width: 100%;
  height: 560px;
  margin: 0;
  overflow: hidden;
}

.mid-image-section img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

@media (max-width: 1024px) {
  .mid-image-section {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .mid-image-section {
    height: 420px;
  }
}

@media (max-width: 480px) {
  .mid-image-section {
    height: 360px;
  }
}

.text-block-on-dark p {
  color: #e5e7eb;
}

.challenge-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.8);
  padding: 1.75rem;
}

.challenge-lines::before {
  content: "";
  position: absolute;
  left: 2.5rem;
  top: 1rem;
  bottom: 1rem;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(52, 211, 153, 0),
    rgba(52, 211, 153, 0.8),
    rgba(52, 211, 153, 0)
  );
}

.challenge-content {
  position: relative;
  padding-left: 3.5rem;
}

.challenge-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #9ca3af;
}

.challenge-title {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.6rem;
  color: #f9fafb;
}

.challenge-text {
  margin: 0;
  font-size: 0.9rem;
  color: #d1d5db;
  line-height: 1.7;
}

.idea-grid {
  align-items: flex-start;
}

.idea-left {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.idea-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.75rem;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.idea-quote-card {
  background: #ffffff;
  border-radius: 1.75rem;
  padding: 1.5rem;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid #e2e8f0;
}

.idea-quote {
  margin: 0;
  padding-left: 1.25rem;
  border-left: 3px solid #22c55e;
  font-size: 1.1rem;
  font-style: italic;
  color: #0f172a;
}

.idea-quote-author {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #475569;
}

.idea-quote-name {
  font-weight: 600;
}

.idea-quote-role {
  color: #94a3b8;
}

.idea-attribution {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #64748b;
}

.idea-attribution span {
  font-weight: 500;
}

.participants-grid {
  align-items: flex-start;
}

.participants-cards {
  display: grid;
  gap: 1rem;
}

.participant-card {
  background: #f9fafb;
  border-radius: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid #e2e8f0;
}

.participant-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.4rem;
}

.participant-text {
  margin: 0;
  font-size: 0.95rem;
  color: #1f2933;
}

.timeline-grid {
  align-items: flex-start;
}

.timeline-left {
  position: relative;
  padding-left: 0.75rem;
}

.timeline-line {
  position: absolute;
  left: 0.9rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(52, 211, 153, 0),
    rgba(52, 211, 153, 0.8),
    rgba(52, 211, 153, 0)
  );
}

.timeline-item {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: relative;
  flex: 0 0 1.8rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.timeline-dot {
  position: relative;
  margin-top: 0.35rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.18);
}

.timeline-content {
  flex: 1;
}

.timeline-time {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.2rem;
}

.timeline-title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.timeline-text {
  margin: 0;
  font-size: 0.95rem;
  color: #475569;
}

.location-grid {
  align-items: flex-start;
}

.location-text p {
  margin: 0 0 0.9rem;
}

.location-cta {
  margin-top: 1.5rem;
}

.location-map {
  margin-top: 1rem;
}

.map-card {
  display: block;
  width: 100%;
  border-radius: 1.75rem;
  padding: 0.9rem;
  border: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  text-align: left;
}

.map-card-inner {
  overflow: hidden;
  border-radius: 1.25rem;
}

.map-card-inner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.map-card:hover .map-card-inner img {
  transform: scale(1.02);
}

.map-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.map-modal.is-open {
  display: flex;
}

.map-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
}

.map-modal-dialog {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 100%;
  border-radius: 1.75rem;
  background: rgba(15, 23, 42, 0.95);
  padding: 0.75rem;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.8);
  z-index: 1;
}

.map-modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: #f9fafb;
  font-size: 1.1rem;
  cursor: pointer;
}

.map-modal-content img {
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  display: block;
}

.sponsors-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sponsor-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 1.25rem;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #475569;
  font-weight: 600;
}

.sponsor-card-invite {
  background: #f8fafc;
  border-style: dashed;
  border-color: #cbd5f5;
}

.sponsor-subtext {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  color: #64748b;
}

.section-contact {
  background: #ffffff;
}

.contact-form {
  margin-top: 2.5rem;
}

.contact-honeypot {
  display: none;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-left,
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #0f172a;
  outline: none;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.form-group input:focus,
.form-group textarea:focus {
  background: #ffffff;
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
}

.contact-status {
  margin-bottom: 1.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: 0.9rem;
  font-size: 0.9rem;
}

.contact-status-success {
  background: #ecfdf3;
  border: 1px solid #4ade80;
  color: #166534;
}

.contact-status-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.section-cta {
  background: #020617;
  color: #e5e7eb;
}

.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background:
    radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.25), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 0.95), #020617);
  padding: 2rem 1.75rem;
  display: grid;
  gap: 2rem;
}

.cta-text .section-title-dark {
  margin-top: 0.75rem;
}

.cta-text .section-subtitle-dark {
  max-width: 32rem;
}

.cta-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-note {
  margin: 0;
  font-size: 0.8rem;
  color: #cbd5f5;
}

.cta-side {
  display: none;
  text-align: right;
}

.cta-side-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #9ca3af;
}

.cta-side-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
}

@media (min-width: 640px) {
  .hero-inner {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .hero-badge-wrapper {
    right: 2.5rem;
    top: 3.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-2col {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }

  .sponsors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta-card {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  }

  .cta-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    min-height: 85vh;
  }

  .hero-badge-wrapper {
    right: 5rem;
    top: 4.5rem;
  }

  .mid-image-img {
    height: 660px;
  }

  .sponsors-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .hero-footnote {
    flex-direction: column;
  }

  .hero-footnote-sep {
    display: none;
  }
}

