/* === HERO SECTION === */
* {
    margin: 0;
    font-family: 'Lora', serif;
}

.hero-section {
    padding-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;

    background: url('/images/hero-bg.jpg') center/cover no-repeat;
}

.container {
    max-width: 90%;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem; /* entspricht text-4xl */
    line-height: 1.25;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    color: #ffffff;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);

}

.hero-title .highlight {
    font-weight: 500;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem; /* entspricht text-6xl */
    }
}

.hero-subtitle {
    
    font-size: 1.125rem;
    font-weight: 500;
    color: #d9d9d9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-buttons a {
    padding: 0.75rem 2rem;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Buttons */
.btn-primary{
  background-color: #111827; /* Fallback */
  background-image: linear-gradient(180deg, #1F2634 0%, #0F1626 100%);
  color: #fff;
}

.btn-primary:hover{
  background-image: linear-gradient(180deg, #232A3A 0%, #121A2B 100%);
}


.btn-secondary {
    border: 1px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/*  alte farbe
.btn-secondary {
    border: 1px solid #111827;
    color: #111827;
}

.btn-secondary:hover {
    background-color: #f3f4f6;
}
    */


/* ===============================
   BREAKPOINTS
   =============================== */

/* === Smartphone: max-width: 767px === */
@media (max-width: 767px){
  .hero-section{
    background-position: center;
  }
  .container{
    max-width: 92%;
  }
  .hero-title{
    font-size: 2rem;      /* klarer festgelegt */
    margin-bottom: 1rem;
  }
  .hero-subtitle{
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .hero-buttons a{
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
  }
}

/* === Tablet: 768px–1023px === */
@media (min-width: 768px) and (max-width: 1023px){
  .container{
    max-width: 48rem;     /* ~768px Breite */
  }
  .hero-title{
    font-size: 3rem;      /* größer, aber noch kompakt */
    margin-bottom: 1.25rem;
    line-height: 1.15;
  }
  .hero-subtitle{
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
  }
  .hero-buttons{
    flex-direction: row;  /* ab Tablet nebeneinander */
    gap: 1rem;
  }
  .hero-buttons a{
    padding: 0.8rem 1.75rem;
    font-size: 1rem;
  }
}

/* === Desktop: min-width: 1024px === */
@media (min-width: 1024px){
  .container{
    max-width: 64rem;     /* ~1024px Breite */
  }
  .hero-title{
    font-size: 3.75rem;   /* entspricht ~text-6xl */
    margin-bottom: 1.5rem;
  }
  .hero-subtitle{
    font-size: 1.5rem;
    margin-bottom: 3rem;
  }
  .hero-buttons{
    flex-direction: row;
    gap: 1.25rem;
  }
  .hero-buttons a{
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
  }
}