@charset "utf-8";
/* NadjasArt – Ergänzung zur Startseite, November 2026.
   Wird NACH startseite-neu.css geladen; diese Originaldatei bleibt unverändert. */

.hero-card .hero-atelierfoto { margin: 0; overflow: hidden; border-radius: 18px;
  box-shadow: 0 14px 30px rgba(23,52,59,.17); }
.hero-card .hero-atelierfoto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-card .hero-atelierfoto-mobile, .hero-card .lead-mobile { display: none; }
.hero-card .hero-atelierfoto-desktop { width: min(100%, 440px); height: 190px;
  margin: 0 auto 22px; opacity: 0; transform: translateX(65px);
  transition: opacity .8s ease .35s, transform 1s cubic-bezier(.2,.75,.2,1) .35s; }
.hero-card.start-animation .hero-atelierfoto-desktop { opacity: 1; transform: translateX(0); }
/* Logo bewusst sichtbar lassen und nicht mit dem Foto überdecken. */
.hero-card .hero-card-logo { min-width: 0; }
.hero-card .hero-card-logo > img { max-width: 100%; height: auto; object-fit: contain; }

@media (max-width: 720px) {
  /* Bild erscheint direkt nach den drei farbigen Wörtern. */
  .hero-card .hero-atelierfoto-desktop { display: none; }
  .hero-card .hero-atelierfoto-mobile { display: block; width: 100%;
    height: clamp(170px, 48vw, 245px); margin: 16px 0 18px;
    opacity: 0; transform: translateX(55px);
    transition: opacity .65s ease .25s, transform .9s cubic-bezier(.2,.75,.2,1) .25s; }
  .hero-card.start-animation .hero-atelierfoto-mobile { opacity: 1; transform: translateX(0); }
  .hero-card .lead-desktop { display: none; }
  .hero-card .lead-mobile { display: inline; }
  .hero-card .hero-card-text .hero-slogan { margin-bottom: 8px; }
  .hero-card .hero-card-text .lead { margin-top: 14px; margin-bottom: 0;
    font-size: clamp(15px, 4vw, 18px); line-height: 1.5; }
  .hero-card .hero-card-text .actions { margin-top: 18px; gap: 10px; }
  .hero-card .hero-card-text .actions .button { padding: 10px 16px;
    font-size: 14px; line-height: 1.35; text-align: center; }
  /* Das Logo steht bereits in der mobilen Navigation. */
  .hero-card .hero-card-logo { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-card .hero-atelierfoto { opacity: 1 !important; transform: none !important;
    transition: none !important; }
}

/* Smartphone im Querformat: eigenständige kompakte Darstellung.
   Verhindert, dass das Foto neben dem grossen Logo zusammengedrückt wird. */
@media (orientation: landscape) and (max-width: 1000px) and (max-height: 600px) {
  .hero-card { display: block !important; grid-template-columns: minmax(0, 1fr) !important; }
  .hero-card .hero-card-text { width: 100%; min-width: 0; max-width: none; }
  .hero-card .hero-card-logo { display: none !important; }
  .hero-card .hero-atelierfoto-desktop { display: none !important; }
  .hero-card .hero-atelierfoto-mobile {
    display: block !important; width: 100%; max-width: 680px;
    height: auto !important; aspect-ratio: 16 / 9;
    margin: 14px auto 18px; opacity: 0; transform: translateX(55px);
    transition: opacity .65s ease .25s, transform .9s cubic-bezier(.2,.75,.2,1) .25s;
  }
  .hero-card.start-animation .hero-atelierfoto-mobile { opacity: 1; transform: translateX(0); }
  .hero-card .hero-atelierfoto-mobile img { width: 100%; height: 100%; object-fit: cover; }
  .hero-card .lead-desktop { display: none; }
  .hero-card .lead-mobile { display: inline; }
  .hero-card .hero-card-text .hero-slogan { margin-bottom: 8px; }
  .hero-card .hero-card-text .lead { margin-top: 12px; font-size: 16px; line-height: 1.5; }
  .hero-card .hero-card-text .actions { margin-top: 16px; gap: 10px; }
  .hero-card .hero-card-text .actions .button { padding: 10px 16px; font-size: 14px; }
}
