/** Styles for UseCase usecase.html */

.hero-section {
    background-image: url('/asset/UseC.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: rgba(15, 23, 42, 0.85);
}

/* ========== Layout-Grundstruktur ========== */

.main-content {
  flex-grow: 1;
}

.hero-section {
  min-height: 100vh; /* min-h-screen */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 1.5rem 8rem;
}

.hero-container {
  max-width: 80rem; /* max-w-7xl */
  margin: 0 auto;
  width: 100%;
}

/* ========== Überschriften & Texte ========== */

.hero-heading {
  font-size: 3rem; /* text-5xl */
  font-weight: 700; /* font-bold */
  margin-bottom: 10rem;
  color: #F8FAFC; /* Weiss-bläulich – gute Lesbarkeit */
  text-align: left;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .hero-heading {
    font-size: 6rem; /* sm:text-8xl */
  }
}

.hero-subheading {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: 0;
  max-width: 47rem; /* max-w-2xl */
  color: #22d3ee; /* text-cyan-200 */
  text-align: left;
}



.hero-textblock {
  text-align: left;
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: 0;
  max-width: 47rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-paragraph {
  font-size: 1.7rem;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .hero-paragraph {
    font-size: 1.875rem; /* sm:text-3xl */
  }
}

.highlight {
  font-weight: 700;
}

/* ========== Buttons ========== */

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items:center;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn-primary {
  background-color: #22d3ee;
  color: #0F172A;
  border: 2px solid #06B6D4;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
    background-color: #0891B2;
    color: #0F172A;
    font-weight:700;
}


/* ==================> Überschrift und Bild<======= */

.Ueberschrift-Bild {
  padding-top: 9rem;
  padding-bottom: 5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  background-color: #0F172A;
}

/* Container*/
.section-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

/* Heading Container*/
.section-heading {
  text-align: center;
  margin-bottom: 4rem;
}

.bild-subheading {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
  color: #22d3ee;
  text-align:center;
}

/* Heading Text */
.section-heading h2 {
  font-size: 3.0rem;
  font-weight: 700;
  color: #F8FAFC;
}
/* Container */
.consequence-image {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.consequence-image img {
  max-width: 56rem;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.consequence-image img:hover {
  transform: scale(1.04);
}

.baurechtpilot {
  font-weight: 300;
  color: #06B6D4;
}

/* ======= Fullscreen Modal ========== */

.image-modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background:#0F172A;
  justify-content: center;
  align-items: center;
}

.image-modal img {
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  border-radius: 0.5rem;
}



/* ====================> 1-3 Container <=========== */
.Ueberschrift-Container {
  padding-top: 3rem;
  padding-bottom: 7rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  background-color: #0F172A;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr; /* Standard: eine Spalte */
  justify-content: center; /* Zentriert horizontal */
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    /* Drei gleichbreite Spalten mit maximaler Breite */
    grid-template-columns: repeat(3, minmax(auto, 400px)); 
    justify-content: center; /* Zentriert horizontal */
  }
}

/* Feature Card - Zentrierter Inhalt */
.feature-card {
  background-color: #0F172A;
  padding: 2rem;
  border-radius: 0.8rem;
  border: 3px solid #06B6D4;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Zentrierter Inhalt */
  display: flex;
  flex-direction: column;
  align-items: center; /* Horizontal zentriert */
  text-align: center; /* Text zentriert */
  max-width: 400px; /* Maximale Breite für Karten */
  margin: 0 auto; /* Zentriert Karten in ihrer Zelle */
}

.feature-card:hover {
  border: 4px solid #22d3ee;
  font-size: 1.3rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #06B6D4;
}

.feature-card p {
  font-size: 1.125rem;
  color: #F8FAFC;
  max-width: 100%; /* Verhindert Überlauf */
}